We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
While developing my system I want to be able to run the e2e tests against my development environment and I expect them to pass.
In first terminal:
export UID; yarn docker setup
echo "ENABLE_CYPRESS_COMMANDS=1" >> docker/.env
export UID; yarn docker start
In second terminal:
docker compose exec server bash
sudo apt update;sudo apt install libatk-bridge2.0-0 libatk1.0-0 libasound2 libgbm1 libgtk-3-0 libnss3 xvfb
@app/e2e/node_modules/cypress/bin/cypress install
yarn e2e run run
That the tests pass
(Run Finished) Spec Tests Passing Failing Pending Skipped ┌────────────────────────────────────────────────────────────────────────────────────────────────┐ │ ✔ homepage.spec.ts 00:09 1 1 - - - │ ├────────────────────────────────────────────────────────────────────────────────────────────────┤ │ ✔ login.spec.ts 00:12 2 2 - - - │ ├────────────────────────────────────────────────────────────────────────────────────────────────┤ │ ✔ manage_emails.spec.ts 00:21 2 2 - - - │ ├────────────────────────────────────────────────────────────────────────────────────────────────┤ │ ✖ organization_create.spec.ts 00:16 2 1 1 - - │ ├────────────────────────────────────────────────────────────────────────────────────────────────┤ │ ✖ organization_page.spec.ts 00:19 3 2 1 - - │ ├────────────────────────────────────────────────────────────────────────────────────────────────┤ │ ✔ register_account.spec.ts 00:22 4 4 - - - │ ├────────────────────────────────────────────────────────────────────────────────────────────────┤ │ ✖ subscriptions.spec.ts 00:22 3 2 1 - - │ ├────────────────────────────────────────────────────────────────────────────────────────────────┤ │ ✔ verify_email.spec.ts 00:03 1 1 - - - │ └────────────────────────────────────────────────────────────────────────────────────────────────┘ ✖ 3 of 8 failed (38%) 02:06 18 15 3 - -
Host machine is ubuntu 22.04 with node 18.12.1
Those tests pass if I run yarn build; NODE_ENV=test yarn start
yarn build; NODE_ENV=test yarn start
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Summary
While developing my system I want to be able to run the e2e tests against my development environment and I expect them to pass.
Steps to reproduce
In first terminal:
export UID; yarn docker setup
echo "ENABLE_CYPRESS_COMMANDS=1" >> docker/.env
export UID; yarn docker start
In second terminal:
docker compose exec server bash
sudo apt update;sudo apt install libatk-bridge2.0-0 libatk1.0-0 libasound2 libgbm1 libgtk-3-0 libnss3 xvfb
@app/e2e/node_modules/cypress/bin/cypress install
yarn e2e run run
Expected results
That the tests pass
Actual results
Additional context
Host machine is ubuntu 22.04 with node 18.12.1
Possible Solution
Those tests pass if I run
yarn build; NODE_ENV=test yarn start
The text was updated successfully, but these errors were encountered: