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

test: add e2e tests for 1st step of create colony flow #3561

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

olgapod
Copy link
Contributor

@olgapod olgapod commented Oct 30, 2024

Description

  • Added e2e tests for the Create Colony flow / Details step
  • Set up playwright eslint plugin and dotenv

Testing

Prerequisites: The test script simulates user interactions with the local instance of the web app, which means that the BE is expected to be set up and running. For now, backend services should be started manually and the initial test data should be seeded . Therefore, ensure that the development environment is properly set up by following the instructions in the README file

  • Setup and start your local dev environment (all BE services should be up and running) npm run dev

  • Seed the data, if it's not already done before node scripts/create-data.js

  • If it's the first time you run e2e tests on your machine - run npm e2e:install

  • run npm run e2e or npm run e2e:ui

  • Ensure all tests pass

Diffs

New stuff

  • playwright folder is added to the lint script
  • added loading of the .env file into playwright environment

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

Successfully merging this pull request may close these issues.

1 participant