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

Implement backend into client e2e tests #123

Merged
merged 23 commits into from
Nov 20, 2022
Merged

Conversation

floydnant
Copy link
Owner

@floydnant floydnant commented Nov 20, 2022

Resolves #122

Changes/Additions

  • Update client e2e testing to work with the backend
    • Setup testing environments in client
      • Take localhost:3001 as server base url
    • Setup testing environments in server
      • Listen on port 3001
      • Expose clear-db endpoint
  • Write auth procedure e2e tests
  • Write auth based routing e2e tests

TODO:

  • Fix getting the DATABASE_URL through source ./bla.sh not working in ci

@floydnant floydnant added web Issue related to the front end backend Related to the back end testing labels Nov 20, 2022
@railway-app
Copy link

railway-app bot commented Nov 20, 2022

This PR is being deployed to Railway 🚅

Server: ◻️ REMOVED

@netlify
Copy link

netlify bot commented Nov 20, 2022

Deploy Preview for rockket canceled.

Name Link
🔨 Latest commit 7e8d176
🔍 Latest deploy log https://app.netlify.com/sites/rockket/deploys/637a947ca689280007daf204

server/package.json Outdated Show resolved Hide resolved
client-v2/start-backend.sh Outdated Show resolved Hide resolved
server/run-e2e.sh Outdated Show resolved Hide resolved
server/src/app.service.ts Outdated Show resolved Hide resolved
@floydnant floydnant merged commit 752813e into main Nov 20, 2022
@floydnant floydnant deleted the dev/client-e2e-with-backend branch November 20, 2022 21:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Related to the back end web Issue related to the front end
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement solution to run cypress e2e tests with server + database
1 participant