Skip to content

SWIS-300: Update Playwright tests to be language agnostic on landing#516

Draft
clarissarichard wants to merge 58 commits intomainfrom
SWIS-300/language-agnostic-landing
Draft

SWIS-300: Update Playwright tests to be language agnostic on landing#516
clarissarichard wants to merge 58 commits intomainfrom
SWIS-300/language-agnostic-landing

Conversation

@clarissarichard
Copy link
Collaborator

@clarissarichard clarissarichard commented Jan 27, 2026

Description

  • Updates locators on landing page to refer to translation keys
  • Adds for loop to landing page tests to loop through languages

Tickets:

Motivation and Context

Updates Playwright tests to be language agnostic.

How Has This Been Tested?

Run npm run playwright

Checklist:

  • I have updated the documentation accordingly.
  • All new and existing tests passed.

Toxiapo and others added 29 commits January 14, 2026 14:59
* Group displays elements tests

* Reorganize and rename tests

* Remove test

* Rearrange DOB and email

* Rearrange DOB and email in form helper

* Rearrange tests

* Add top-level domain email test

* Add invalid DOB tests

* Split tests

* Rename test

* Add tests for invalid emails
* disable buttons on click

* use state for disabling

* same logic for loading and disabling

---------

Co-authored-by: Millie Savalia <>
* personal a11y tests

* update locators, added fixture, webkit tab

* update tests

* renamed test and updated array

* delete fixture

* removed additional locator

* add exact true

* add tobeFocused() to step heading
)

* Group displays elements tests

* Reorganize and rename tests

* Remove test

* Rearrange DOB and email

* Rearrange DOB and email in form helper

* Rearrange tests

* Add top-level domain email test

* Add invalid DOB tests

* Split tests

* Rename test

* Add tests for invalid emails

* Add invalid birthdate tests
* address a11y tests

* use array

* update name, focus , tab

* renamed test,  updated function

* updated tests

* removed previous and next buttons

* removed if statement

* add tobeFocused() to step heading

* removed focus() for step heading.
* Group displays elements tests

* Reorganize and rename tests

* Remove test

* Rearrange DOB and email

* Rearrange DOB and email in form helper

* Rearrange tests

* Add top-level domain email test

* Add invalid DOB tests

* Split tests

* Rename test

* Add tests for invalid emails

* Use new constant on review page

* Add TEXT prefix

* Add remaining error messages on personal page

* Use error message constants on personal page

* Use error message constants on address page

* Update account errors

* Rename and organize personal locators

* Update personal tests

* Rearrange tests

* Update tests

* Remove unused locator

* Use already defined error messages for personal page

* Update remaining error messages

* Revert to string to resolve test failures
* Group displays elements tests

* Reorganize and rename tests

* Remove test

* Rearrange DOB and email

* Rearrange DOB and email in form helper

* Rearrange tests

* Add top-level domain email test

* Add invalid DOB tests

* Split tests

* Rename test

* Add tests for invalid emails

* Use new constant on review page

* Add TEXT prefix

* Add remaining error messages on personal page

* Use error message constants on personal page

* Use error message constants on address page

* Update account errors

* Rename and organize personal locators

* Update personal tests

* Rearrange tests

* Update tests

* Remove unused locator

* Add username error

* Add test and cleanup locators

* Fix conflict issues

* Use already defined error messages for personal page

* Update remaining error messages

* Revert to string to resolve test failures
* Add and update addresses

* Reorganize constants
* add SierraPatron and getPatronData

* added getPatronData() and test to check patron data on the backend

* add emails

* add tests for runtime error

* added formatter, cleaned up confirm patron data test

* added comments to formatter and removed some optional chaining

* clean up tests

* check birthdate not empty

* use new address OOS
* Group displays elements tests

* Reorganize and rename tests

* Remove test

* Rearrange DOB and email

* Rearrange DOB and email in form helper

* Rearrange tests

* Add top-level domain email test

* Add invalid DOB tests

* Split tests

* Rename test

* Add tests for invalid emails

* Use new constant on review page

* Add TEXT prefix

* Add remaining error messages on personal page

* Use error message constants on personal page

* Use error message constants on address page

* Update account errors

* Rename and organize personal locators

* Update personal tests

* Rearrange tests

* Update tests

* Remove unused locator

* Add username error

* Add test and cleanup locators

* Fix conflict issues

* Use already defined error messages for personal page

* Update remaining error messages

* Add username and password error tests
@clarissarichard clarissarichard self-assigned this Jan 27, 2026
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.

4 participants

Comments