Skip to content

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.

2 participants