Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm run test:e2e error #2

Open
listerily opened this issue Apr 21, 2021 · 0 comments
Open

npm run test:e2e error #2

listerily opened this issue Apr 21, 2021 · 0 comments

Comments

@listerily
Copy link

#app is not attached.

  App running at:
  - Local:   https://localhost:8080/public/ 
  - Network: https://10.130.65.109:8080/public/

  App is served in production mode.
  Note this is for preview or E2E testing only.

 INFO  Running end-to-end tests ...

[Test With Pageobjects] Test Suite
==================================
ℹ Connected to localhost on port 9515 (649ms).
  Using: chrome (90.0.4430.72) on Linux platform.

Running:  e2e tests using page objects

✖ Timed out while waiting for element <#app> to be present for 5000 milliseconds. - expected "visible" but got: "not found" (5147ms)
    at Object.e2e tests using page objects (/home/listerily/Projects/NKOJ-Front-End-Sand-Box/tests/e2e/specs/test-with-pageobjects.js:14:14) 


FAILED: 1 assertions failed (5.998s)

[Test] Test Suite
=================
ℹ Connected to localhost on port 9515 (320ms).
  Using: chrome (90.0.4430.72) on Linux platform.

Running:  default e2e tests

✖ Timed out while waiting for element <#app> to be present for 5000 milliseconds. - expected "visible" but got: "not found" (5148ms)
    at Object.default e2e tests (/home/listerily/Projects/NKOJ-Front-End-Sand-Box/tests/e2e/specs/test.js:8:8)
    at processTicksAndRejections (node:internal/process/task_queues:94:5) 


FAILED: 1 assertions failed (5.387s)
_________________________________________________

TEST FAILURE:  2 assertions failed, 0 passed (12.726s)

 ✖ test-with-pageobjects
 – e2e tests using page objects (5.998s)
   Timed out while waiting for element <#app> to be present for 5000 milliseconds. - expected "visible" but got: "not found" (5147ms)
       at Object.e2e tests using page objects (/home/listerily/Projects/NKOJ-Front-End-Sand-Box/tests/e2e/specs/test-with-pageobjects.js:14:14)
   SKIPPED:
   - verify if string "e2e-nightwatch" is within the cli plugin links

 ✖ test
 – default e2e tests (5.387s)
   Timed out while waiting for element <#app> to be present for 5000 milliseconds. - expected "visible" but got: "not found" (5148ms)
       at Object.default e2e tests (/home/listerily/Projects/NKOJ-Front-End-Sand-Box/tests/e2e/specs/test.js:8:8)
       at processTicksAndRejections (node:internal/process/task_queues:94:5)
   SKIPPED:
   - example e2e test using a custom command

 ERROR  Error: Command failed: /home/listerily/Projects/NKOJ-Front-End-Sand-Box/node_modules/nightwatch/bin/nightwatch --config /home/listerily/Projects/NKOJ-Front-End-Sand-Box/node_modules/@vue/cli-plugin-e2e-nightwatch/nightwatch.config.js --env chrome
Error: Command failed: /home/listerily/Projects/NKOJ-Front-End-Sand-Box/node_modules/nightwatch/bin/nightwatch --config /home/listerily/Projects/NKOJ-Front-End-Sand-Box/node_modules/@vue/cli-plugin-e2e-nightwatch/nightwatch.config.js --env chrome
    at makeError (/home/listerily/Projects/NKOJ-Front-End-Sand-Box/node_modules/execa/index.js:174:9)
    at /home/listerily/Projects/NKOJ-Front-End-Sand-Box/node_modules/execa/index.js:278:16
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:94:5)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant