Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 🔥➜ web git:(feat-plugin) npm run test:e2e
- > apisix-dashboard@2.4.0 test:e2e /home/bisakh/Desktop/OSS/apisix-dashboard/web
- > start-server-and-test 'cross-env SERVE_ENV=test yarn start' http-get://localhost:8000 cypress:run-ci
- 1: starting server using command "cross-env SERVE_ENV=test yarn start"
- and when url "[ 'http-get://localhost:8000' ]" is responding with HTTP status code 200
- running tests using command "npm run cypress:run-ci"
- yarn run v1.22.10
- $ umi dev
- 🚀 Starting Umi UI using umi@3.3.7...
- 🌈 Umi UI mini Ready on port 3000.
- Starting the development server...
- ● Webpack █████████████████████████ building (69%) 3182/3218
- ● Webpack █████████████████████████ building (69%) 3186/3218
- ● Webpack █████████████████████████ building (69%) 3194/3220
- ● Webpack █████████████████████████ building (69%) 3484/3530
- modules 46 active ● Webpack █████████████████████████ building (69%) 3487/3530
- ● Webpack █████████████████████████ building (69%)
- ● Webpack █████████████████████████ building (69%)
- ● Webpack █████████████████████████ building (69%)
- ✔ Webpack
- Compiled successfully in 50.01s
- DONE Compiled successfully in 50011ms 00:59:59
- App running at:
- - Local: http://localhost:8000 (copied to clipboard)
- - Network: http://192.168.43.238:8000
- > apisix-dashboard@2.4.0 cypress:run-ci /home/bisakh/Desktop/OSS/apisix-dashboard/web
- > CYPRESS_SERVE_ENV=test cypress run
- It looks like this is your first time using Cypress: 6.4.0
- ✔ Verified Cypress!
- /home/bisakh/.cache/Cypre
- ss/6.4.0/Cypress
- Opening Cypress...
- =========================
- (Run Starting)
- ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
- │ Cypress: 6.4.0 │
- │ Browser: Electron 87 (headless) │
- │ Specs: 19 found (consumer/create_and_delete_consumer.spec.js, lang/switch-language.spec.j │
- │ s, metrics/metrics-smoketest.spec.js, plugin/create-edit-delete-plugin.spec.js, pl │
- │ uginTemplate/create-edit-delete-plugin-template.spec.js, pluginTemplate/create-plu │
- │ gin-templat...) │
- └────────────────────────────────────────────────────────────────────────────────────────────────┘
- ────────────────────────────────────────────────────────────────────────────────────────────────────
- Running: consumer/create_and_delete_consumer.spec.js (1 of 19)
- Create and Delete Consumer
- ✓ creates consumer with key-auth (6587ms)
- ✓ should view the consumer (1907ms)
- ✓ delete the consumer (1391ms)
- ✓ creates consumer with wrong json (2664ms)
- 4 passing (13s)
- (Results)
- ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
- │ Tests: 4 │
- │ Passing: 4 │
- │ Failing: 0 │
- │ Pending: 0 │
- │ Skipped: 0 │
- │ Screenshots: 0 │
- │ Video: false │
- │ Duration: 13 seconds │
- │ Spec Ran: consumer/create_and_delete_consumer.spec.js │
- └────────────────────────────────────────────────────────────────────────────────────────────────┘
- ────────────────────────────────────────────────────────────────────────────────────────────────────
- Running: lang/switch-language.spec.js (2 of 19)
- Switch language
- ✓ should switch language (4775ms)
- 1 passing (5s)
- (Results)
- ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
- │ Tests: 1 │
- │ Passing: 1 │
- │ Failing: 0 │
- │ Pending: 0 │
- │ Skipped: 0 │
- │ Screenshots: 0 │
- │ Video: false │
- │ Duration: 5 seconds │
- │ Spec Ran: lang/switch-language.spec.js │
- └────────────────────────────────────────────────────────────────────────────────────────────────┘
- ────────────────────────────────────────────────────────────────────────────────────────────────────
- Running: metrics/metrics-smoketest.spec.js (3 of 19)
- metrics page smoke test
- ✓ should visit metrics page (1921ms)
- 1 passing (2s)
- (Results)
- ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
- │ Tests: 1 │
- │ Passing: 1 │
- │ Failing: 0 │
- │ Pending: 0 │
- │ Skipped: 0 │
- │ Screenshots: 0 │
- │ Video: false │
- │ Duration: 2 seconds │
- │ Spec Ran: metrics/metrics-smoketest.spec.js │
- └────────────────────────────────────────────────────────────────────────────────────────────────┘
- ────────────────────────────────────────────────────────────────────────────────────────────────────
- Running: plugin/create-edit-delete-plugin.spec.js (4 of 19)
- Create and Delete Plugin List
- ✓ should visit plugin market (987266ms)
- ✓ should edit the plugin (2299ms)
- ✓ should delete plugin list (12040ms)
- 3 passing (17m)
- (Results)
- ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
- │ Tests: 3 │
- │ Passing: 3 │
- │ Failing: 0 │
- │ Pending: 0 │
- │ Skipped: 0 │
- │ Screenshots: 0 │
- │ Video: false │
- │ Duration: 16 minutes, 43 seconds │
- │ Spec Ran: plugin/create-edit-delete-plugin.spec.js │
- └────────────────────────────────────────────────────────────────────────────────────────────────┘
- ────────────────────────────────────────────────────────────────────────────────────────────────────
- Running: pluginTemplate/create-edit-delete-plugin-template.spec.js (5 of 19)
- Create Edit and Delete PluginTemplate
- ✓ should create pluginTemplate (5338ms)
- ✓ should edit the pluginTemplate (3203ms)
- ✓ should delete pluginTemplate (3172ms)
- 3 passing (12s)
- (Results)
- ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
- │ Tests: 3 │
- │ Passing: 3 │
- │ Failing: 0 │
- │ Pending: 0 │
- │ Skipped: 0 │
- │ Screenshots: 0 │
- │ Video: false │
- │ Duration: 12 seconds │
- │ Spec Ran: pluginTemplate/create-edit-delete-plugin-template.spec.js │
- └────────────────────────────────────────────────────────────────────────────────────────────────┘
- ────────────────────────────────────────────────────────────────────────────────────────────────────
- Running: pluginTemplate/create-plugin-template-with-route.spec.js (6 of 19)
- Create PluginTemplate Binding To Route
- ✓ should create test pluginTemplate (8915ms)
- ✓ should delete the pluginTemplate failure (2332ms)
- ✓ should edit the route with pluginTemplate (3929ms)
- ✓ should delete the pluginTemplate successfully (3855ms)
- 4 passing (20s)
- (Results)
- ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
- │ Tests: 4 │
- │ Passing: 4 │
- │ Failing: 0 │
- │ Pending: 0 │
- │ Skipped: 0 │
- │ Screenshots: 0 │
- │ Video: false │
- │ Duration: 20 seconds │
- │ Spec Ran: pluginTemplate/create-plugin-template-with-route.spec.js │
- └────────────────────────────────────────────────────────────────────────────────────────────────┘
- ────────────────────────────────────────────────────────────────────────────────────────────────────
- Running: route/can-skip-upstream-when-select-service-id.spec.js (7 of 19)
- Can select service_id skip upstream in route
- ✓ should create test upstream and service (6610ms)
- ✓ should skip upstream module after service is selected when creating route (4651ms)
- ✓ should skip upstream module after service is selected when editing route (3786ms)
- ✓ should delete upstream, service and route (4574ms)
- 4 passing (21s)
- (Results)
- ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
- │ Tests: 4 │
- │ Passing: 4 │
- │ Failing: 0 │
- │ Pending: 0 │
- │ Skipped: 0 │
- │ Screenshots: 0 │
- │ Video: false │
- │ Duration: 20 seconds │
- │ Spec Ran: route/can-skip-upstream-when-select-service-id.spec.js │
- └────────────────────────────────────────────────────────────────────────────────────────────────┘
- ────────────────────────────────────────────────────────────────────────────────────────────────────
- Running: route/create-edit-delete-route.spec.js (8 of 19)
- Create and Delete Route
- ✓ should create route (11372ms)
- ✓ should view the route (2510ms)
- ✓ should edit the route (5444ms)
- ✓ should delete the route (2037ms)
- 4 passing (22s)
- (Results)
- ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
- │ Tests: 4 │
- │ Passing: 4 │
- │ Failing: 0 │
- │ Pending: 0 │
- │ Skipped: 0 │
- │ Screenshots: 0 │
- │ Video: false │
- │ Duration: 22 seconds │
- │ Spec Ran: route/create-edit-delete-route.spec.js │
- └────────────────────────────────────────────────────────────────────────────────────────────────┘
- ────────────────────────────────────────────────────────────────────────────────────────────────────
- Running: route/create-route-with-upstream.spec.js (9 of 19)
- Create Route with Upstream
- ✓ should create an upstream (3951ms)
- ✓ should create route with upstream just created (5084ms)
- ✓ should edit this route with upstream (6312ms)
- ✓ should delete this test route and upstream (3239ms)
- 4 passing (20s)
- (Results)
- ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
- │ Tests: 4 │
- │ Passing: 4 │
- │ Failing: 0 │
- │ Pending: 0 │
- │ Skipped: 0 │
- │ Screenshots: 0 │
- │ Video: false │
- │ Duration: 19 seconds │
- │ Spec Ran: route/create-route-with-upstream.spec.js │
- └────────────────────────────────────────────────────────────────────────────────────────────────┘
- ────────────────────────────────────────────────────────────────────────────────────────────────────
- Running: route/import_export_route.spec.js (10 of 19)
- import and export routes
- ✓ should create route1 and route2 (11066ms)
- ✓ should export route: route_name_0, route_name_1 (3166ms)
- ✓ should delete the route (2274ms)
- ✓ should import route(s) from be test files (7642ms)
- 4 passing (25s)
- (Results)
- ┌────────────────────────────────────────────────────────────────────────────────────────────────┐
- │ Tests: 4 │
- │ Passing: 4 │
- │ Failing: 0 │
- │ Pending: 0 │
- │ Skipped: 0 │
- │ Screenshots: 0 │
- │ Video: false │
- │ Duration: 25 seconds │
- │ Spec Ran: route/import_export_route.spec.js │
- └────────────────────────────────────────────────────────────────────────────────────────────────┘
- ────────────────────────────────────────────────────────────────────────────────────────────────────
- Running: route/online-debug.spec.js (11 of 19)
- Online debug
- [HPM] Error occurred while trying to proxy request /apisix/admin/debug-request-forwarding from localhost:8000 to http://localhost:9000 (ECONNRESET) (https://nodejs.org/api/errors.html#errors_common_system_errors)
- [HPM] Error occurred while trying to proxy request /apisix/admin/debug-request-forwarding from localhost:8000 to http://localhost:9000 (ECONNRESET) (https://nodejs.org/api/errors.html#errors_common_system_errors)
Advertisement
Add Comment
Please, Sign In to add comment