Skip to content

feat(e2e): add setupPassword spec with Page Object pattern#289

Open
lesyuk wants to merge 3 commits intomainfrom
feat/e2e-setup-password
Open

feat(e2e): add setupPassword spec with Page Object pattern#289
lesyuk wants to merge 3 commits intomainfrom
feat/e2e-setup-password

Conversation

@lesyuk
Copy link
Contributor

@lesyuk lesyuk commented Mar 10, 2026

What

E2E tests for /setup-password page + infrastructure improvements.

Changes

  • 15 new tests covering display, disabled state, validation errors, localStorage persistence, edge cases (XSS, long password, clipboard paste)
  • Page Object patterne2e/pages/ with SetupPasswordPage, SetupWalletPage, UnlockWalletPage
  • Shared constantse2e/constants.ts with TEST_PASSWORD, LONG_PASSWORD, XSS_PASSWORD_PAYLOAD
  • Allure steps — human-readable step descriptions in TestOps reports
  • CIallurectl upload step added to e2e_web.yml to push results to TestOps automatically

Test plan

  • All 15 tests pass locally
  • Results visible in Allure TestOps after upload

- Add e2e/pages/ with SetupPasswordPage, SetupWalletPage, UnlockWalletPage POs
- Add e2e/constants.ts with shared TEST_PASSWORD, LONG_PASSWORD, XSS_PASSWORD_PAYLOAD
- Add setupPassword.spec.ts with 15 tests: display, disabled state, validation, localStorage, edge cases
- Add allure step() wrappers in tests for readable TestOps reports
- Refactor newWallet and importWallet specs to use TEST_PASSWORD from constants
- Add allurectl upload step to e2e_web.yml CI workflow
@lesyuk lesyuk requested a review from a team as a code owner March 10, 2026 16:05
@vercel
Copy link

vercel bot commented Mar 10, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
kit-demo-wallet Ready Ready Preview, Comment Mar 10, 2026 4:18pm

Request Review

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