SWIS-300: Update Playwright tests to be language agnostic on landing#516
Draft
clarissarichard wants to merge 58 commits intomainfrom
Draft
SWIS-300: Update Playwright tests to be language agnostic on landing#516clarissarichard wants to merge 58 commits intomainfrom
clarissarichard wants to merge 58 commits intomainfrom
Conversation
* 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
…b.com/NYPL/nypl-library-card-app into SWIS-303/address-verification-spanish
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
landingpage to refer to translation keyslandingpage tests to loop through languagesTickets:
Motivation and Context
Updates Playwright tests to be language agnostic.
How Has This Been Tested?
Run
npm run playwrightChecklist: