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: e2e tests for manage colony feature #4164

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

Conversation

olgapod
Copy link
Contributor

@olgapod olgapod commented Jan 23, 2025

Description

Set of e2e tests for Manage Colony motions.

Test cases included in the PR:

  1. Mint tokens
  • Permissions decision method
  • Reputation decision method
  • Form validation
  1. Funds transfer
  • Permissions decision method
  • Reputation decision method
  • Form validation
  1. Manage tokens
  • Adding and Removing tokens w Permissions decision method
  • Adding token w Reputation decision method
  • Form validation
  1. Manage Colony Reputation
  • Award reputation w Permission DM and validating the value updated in the User Hub
  • Award reputation w Reputation DM
  • Form validation, handling very large and very small numbers as a reputation point value

Testing

Step 1. Spin up the dev env and seed the test data

npm run dev followed by node scripts/create-data.js

Step 2. Build and start the frontend in preview mode

npm run preview

Step 3. Run the tests in a separate terminal

npm run e2e split-payment

Step 4. The tests should pass ( if any failures - please send me .zip files from /playwright-report/data directory)

@olgapod olgapod self-assigned this Jan 23, 2025
@olgapod olgapod changed the base branch from e2e/manage-colony-2 to master January 27, 2025 11:15
@olgapod olgapod force-pushed the e2e/manage-teams branch 2 times, most recently from f67467c to 68eacbd Compare February 2, 2025 10:37
@olgapod olgapod changed the title test: e2e tests for manage colony teams motions test: e2e tests for manage colony feature Feb 2, 2025
@olgapod olgapod force-pushed the e2e/manage-teams branch 2 times, most recently from c92718f to a808d57 Compare February 2, 2025 11:01
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