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: split payment e2e tests #3994

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

test: split payment e2e tests #3994

wants to merge 2 commits into from

Conversation

olgapod
Copy link
Contributor

@olgapod olgapod commented Dec 19, 2024

Description

Initiatal set of E2E tests for the Split Payment motion. Also, I updated some selectors related to the selectWallet test helper to fix tests that began failing after the homepage redesign.
Test cases included in the PR:

  • Happy path of Split payment (Permissions/Staking method of create motion, Equal/Unequal distribution, Permissions release method)
  • Form fields validation
  • Recipients table actions: Add/Remove/Duplicate a row
  • Redo a payment

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 Dec 19, 2024
@olgapod olgapod force-pushed the e2e/split-payment branch from 93aec86 to 383b49a Compare January 7, 2025 07:46
@olgapod olgapod marked this pull request as ready for review January 17, 2025 12:39
@olgapod olgapod requested a review from a team as a code owner January 17, 2025 12:39
@olgapod olgapod requested a review from Nortsova January 17, 2025 12:40
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