Commit Graph

124 Commits

Author SHA1 Message Date
Rick b0d18fcdf8
fix: the ui component binding errors (#586)
Co-authored-by: rick <linuxsuren@users.noreply.github.com>
2024-12-16 21:29:18 +08:00
Rick 7fe64b67cb
feat: add a template func to read local file (#582)
Co-authored-by: rick <linuxsuren@users.noreply.github.com>
2024-12-14 22:13:13 +08:00
dependabot[bot] 6d754cf8bc
chore(deps): bump the npm_and_yarn group across 2 directories with 6 updates (#571)
Bumps the npm_and_yarn group with 2 updates in the /console/atest-desktop directory: [braces](https://github.com/micromatch/braces) and [cross-spawn](https://github.com/moxystudio/node-cross-spawn).
Bumps the npm_and_yarn group with 6 updates in the /console/atest-ui directory:

| Package | From | To |
| --- | --- | --- |
| [braces](https://github.com/micromatch/braces) | `3.0.2` | `3.0.3` |
| [cross-spawn](https://github.com/moxystudio/node-cross-spawn) | `6.0.5` | `6.0.6` |
| [jsonpath-plus](https://github.com/s3u/JSONPath) | `7.2.0` | `10.0.7` |
| [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) | `4.3.9` | `4.5.5` |
| [nanoid](https://github.com/ai/nanoid) | `3.3.6` | `3.3.8` |
| [ws](https://github.com/websockets/ws) | `8.13.0` | `8.18.0` |



Updates `braces` from 3.0.2 to 3.0.3
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3)

Updates `cross-spawn` from 6.0.5 to 7.0.6
- [Changelog](https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md)
- [Commits](https://github.com/moxystudio/node-cross-spawn/compare/v6.0.5...v7.0.6)

Updates `cross-spawn` from 7.0.3 to 7.0.6
- [Changelog](https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md)
- [Commits](https://github.com/moxystudio/node-cross-spawn/compare/v6.0.5...v7.0.6)

Updates `braces` from 3.0.2 to 3.0.3
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3)

Updates `cross-spawn` from 6.0.5 to 6.0.6
- [Changelog](https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md)
- [Commits](https://github.com/moxystudio/node-cross-spawn/compare/v6.0.5...v7.0.6)

Updates `jsonpath-plus` from 7.2.0 to 10.0.7
- [Release notes](https://github.com/s3u/JSONPath/releases)
- [Changelog](https://github.com/JSONPath-Plus/JSONPath/blob/main/CHANGES.md)
- [Commits](https://github.com/s3u/JSONPath/compare/v7.2.0...v10.0.7)

Updates `vite` from 4.3.9 to 4.5.5
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v4.5.5/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v4.5.5/packages/vite)

Updates `nanoid` from 3.3.6 to 3.3.8
- [Release notes](https://github.com/ai/nanoid/releases)
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ai/nanoid/compare/3.3.6...3.3.8)

Updates `ws` from 8.13.0 to 8.18.0
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/8.13.0...8.18.0)

---
updated-dependencies:
- dependency-name: braces
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: cross-spawn
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: cross-spawn
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: braces
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: cross-spawn
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: jsonpath-plus
  dependency-type: direct:production
  dependency-group: npm_and_yarn
- dependency-name: vite
  dependency-type: direct:development
  dependency-group: npm_and_yarn
- dependency-name: nanoid
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: ws
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-12 22:15:15 +08:00
dependabot[bot] 8faaf2b275
chore(deps-dev): bump happy-dom in /console/atest-ui (#559)
Bumps [happy-dom](https://github.com/capricorn86/happy-dom) from 6.0.4 to 15.10.2.
- [Release notes](https://github.com/capricorn86/happy-dom/releases)
- [Commits](https://github.com/capricorn86/happy-dom/compare/v6.0.4...v15.10.2)

---
updated-dependencies:
- dependency-name: happy-dom
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-12 19:28:22 +08:00
Rick 66f724ae78
fix: the filename is missing when downloading (#566)
Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
2024-12-06 20:26:06 +08:00
Rick 072cd42c16
feat: support to get headers from binary request (#565)
* feat: support to get headers from binary request

* change base image from ubuntu to alpine

* install bash in alpine

* install openssl in alpine

* fix e2e

* support to download bianry files on ui

---------

Co-authored-by: rick <linuxsuren@users.noreply.github.com>
2024-11-29 09:04:22 +08:00
Rick 33703da27b
feat: support to query verify functions (#561)
Co-authored-by: rick <linuxsuren@users.noreply.github.com>
2024-11-12 10:31:31 +08:00
Rick 9e4259f09f
support to run test case with filter (#560)
* feat: support to get go mod version

* support to run test case with filter

* fix unit tests

* fix dockerfile

* add missing console/atest-ui/package.json

* fix the e2e

---------

Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
2024-11-11 11:42:53 +08:00
Rick bbaf91f73c
feat: support to config mock server on ui (#552)
* doc: add document of atest extension

* feat: support to config mock server on ui

* add more document

* Fix code scanning alert no. 61: Incorrect conversion between integer types

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Signed-off-by: Rick <1450685+LinuxSuRen@users.noreply.github.com>

---------

Signed-off-by: Rick <1450685+LinuxSuRen@users.noreply.github.com>
Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2024-10-29 21:03:45 +08:00
Rick 7d9a97f46f
feat: support to rename test suite and case (#550)
* feat: support to rename test suite and case

* try to make the e2e be more stable

---------

Co-authored-by: rick <linuxsuren@users.noreply.github.com>
2024-10-25 09:24:36 +08:00
Rick 72c53c21df
feat: support to run test case in batch mode (#548)
* feat: support to run test case in batch mode

* support to the interval on batch mode

* support to use a template as interval

---------

Co-authored-by: rick <linuxsuren@users.noreply.github.com>
2024-10-15 13:47:18 +08:00
Rick 7de67ca381
chore: show server address on the test case page (#545)
* chore(deps): bump rollup from 3.25.1 to 3.29.5 in /console/atest-ui

Bumps [rollup](https://github.com/rollup/rollup) from 3.25.1 to 3.29.5.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v3.25.1...v3.29.5)

---
updated-dependencies:
- dependency-name: rollup
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore: show server address on the test case page

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: rick <linuxsuren@users.noreply.github.com>
2024-10-09 23:17:58 +08:00
Rick fe9d168713
feat: support to print the progress when oci download (#544)
Co-authored-by: rick <linuxsuren@users.noreply.github.com>
2024-10-05 15:41:12 +08:00
Rick af36027460
refactor: create components of the atest ui (#520) 2024-10-03 22:41:53 +08:00
Rick 3a9bde8c06
feat: support to upload random image files (#541)
* feat: support to upload random image files

* support to upload pdf file

* support to generate zip file

---------

Co-authored-by: rick <linuxsuren@users.noreply.github.com>
2024-10-03 17:45:49 +08:00
Rick eff529225b
improve style of the page ui (#540)
Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
2024-09-30 15:23:22 +08:00
Rick 3620c5475a
feat: support to import native data (#539)
* feat: support to import native data

* add unit tests

---------

Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
2024-09-30 09:10:31 +08:00
Rick 834a28fc67
feat: support embed file upload (#538) 2024-09-29 15:34:17 +08:00
Rick 344ed1bb62
chore: support to close message tip (#537)
Co-authored-by: rick <linuxsuren@users.noreply.github.com>
2024-09-26 08:03:16 +08:00
Rick 296fd4084f
feat: support to show the body size on page (#536)
increase the body size limit default value to be 5120

Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
2024-09-25 13:41:11 +08:00
SamYSF 71e1aafb1b
fix: support view history only in orm store for now (#534) 2024-09-20 23:40:44 +08:00
SamYSF 95adf09eaf
feat: add History api and ui (#524) 2024-09-18 20:41:43 +08:00
Rick e68c9961b1
fix: overwrite test case when creating duplicated (#531)
Co-authored-by: rick <linuxsuren@users.noreply.github.com>
2024-09-12 10:08:34 +08:00
Rick d00314334b
fix: the ui loading function is not working (#527)
Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
2024-09-10 19:27:26 +08:00
Rick b6188a0e68
fix: the new test case request is always empty (#526)
Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
2024-09-06 10:29:53 +08:00
Rick d108b0fd85
chore: improve the store manager ui (#518)
* chore: improve the store manager ui

* improve the extension type selection

* add more unit tests of ts

---------

Co-authored-by: rick <linuxsuren@users.noreply.github.com>
2024-07-30 09:52:35 +08:00
Rick 6e0c70e07d
feat: support session scope store (#517)
* chore: stop using the image from docker hub

* feat: support session scope store

* support to set the suggested api cout limit

* add more unit tests

---------

Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
2024-07-21 11:16:43 +08:00
Rick 62383ba78b
feat: support local sercret service (#516)
Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
2024-07-19 13:43:18 +08:00
Rick b7f05034d1
feat: improve the test case creating process on ui (#515)
Co-authored-by: rick <linuxsuren@users.noreply.github.com>
2024-07-16 10:36:12 +08:00
Rick 2b98b95017
feat: support test case nav via shortcut (#510)
Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
2024-07-10 11:28:06 +08:00
Rick 491ebdfe01
chore: add more magic keys on ui page (#509)
Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
2024-07-07 13:08:03 +08:00
Rick ea4c0d4dbf
feat: add more shortcuts (#508)
Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
2024-07-05 22:27:12 +08:00
Rick 03a614ad23
feat: add testCase page json lint (#506)
* feat: add testCase page json lint

* fix the test case save and run method

* add shortcut for sending request

---------

Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
2024-07-05 10:45:28 +08:00
Rick 2e50d1c4ea
ui: add colors for some texts and buttons (#504)
Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
2024-07-03 13:46:08 +08:00
Rick d9724e8d2d
fix: the test suite tree cannot be selected (#503)
Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
2024-07-02 15:29:13 +08:00
Rick b7926da2c0
feat: custom the grpc gateway restful path (#497) 2024-07-01 08:02:07 +08:00
SamYSF b9533ee974
fix: testcase pages show badge question (#462) 2024-05-29 09:43:46 +08:00
Rick 00e53452fc
feat: support to duplicate test suite and case (#455)
* feat: support to duplicate test suite and case

* add e2e testing for the new apis

* fix the e2e testing

---------

Co-authored-by: rick <linuxsuren@users.noreply.github.com>
2024-05-27 09:57:23 +08:00
Rick ce5ad55216
feat: support to return the body string even it is invalid (#453)
Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
2024-05-24 08:36:18 +08:00
SamYSF e10bc5988c
feat: add a language switch button on the web page (#447) 2024-05-22 22:05:46 +08:00
SamYSF ba485ce922
feat: add view YAML full screen (#443) 2024-05-20 15:24:38 +08:00
SamYSF 966a635768
feat: support to view testSuite as YAML on web page (#438) 2024-05-17 21:33:47 +08:00
Rick 02026b2199
feat: support to set the prefix of mock server (#402) (#410)
Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
2024-04-30 14:06:15 +08:00
Rick 4322123586
feat: add cookie support for the requesting (#355)
Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
2024-04-10 08:39:01 +08:00
Rick ad4d499359
feat: add some useful badges for the testcase UI (#343)
Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
2024-01-23 15:42:45 +08:00
Rick 642b23ab78
fix: the request method is incorrect via swagger creation (#342)
Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
2024-01-23 11:28:00 +08:00
Rick b6b7483140
chore: improve the test suite UI page (#341)
Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
2024-01-22 13:52:12 +08:00
Rick a8822e7b68
feat: add i18n items for UI (#338)
Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
2024-01-17 16:12:58 +08:00
Rick c585439873
feat: support the auto-complete of header values (#337)
Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
2024-01-16 14:39:26 +08:00
Rick 1c5b72df0b
feat: add graphql feature support (#326)
Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
2023-12-21 11:15:12 +08:00