-
Notifications
You must be signed in to change notification settings - Fork 87
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
fix: playwright tests cancelled after timeout #6208
Closed
Closed
Changes from 19 commits
Commits
Show all changes
56 commits
Select commit
Hold shift + click to select a range
63a9a8f
ci: increase playwright workflow timeout
LinHuiqing 62d2dd1
fix: email sort by time in ascending order
LinHuiqing 5ac4337
ci: set timeout for download event wait
LinHuiqing b9fc785
fix: wait for possible modals to appear before esc
LinHuiqing 58a8595
ci: set lower timeout for download event
LinHuiqing 8a4f8fb
ci: run playwright tests excl encrypt-submission
LinHuiqing 9cfa74a
ci: break playwright tests into different steps
LinHuiqing 215acc4
ci: break playwright tests into different steps
LinHuiqing f71eab2
fix: forgot to add the commands themselves :/
LinHuiqing 99aaaaf
ci: move first email test to the end
LinHuiqing 4c909a6
ci: extract getByRole to separate step
LinHuiqing 454ab6f
ci: temporarily use only 1 browser to debug faster
LinHuiqing fd6cc1a
ci: check if combobox was the deal
LinHuiqing 95d15bc
ci: commit to combobox for fillDropdown input
LinHuiqing fcd0daa
fix: change id=show locator to combobox
LinHuiqing 2b2e1d5
fix: use getByRole to pick logic type
LinHuiqing 02db7d0
fix: remove closing of options in fillMultiDropdown
LinHuiqing e35d60c
ci: add enumerated encrypt-submission tests
LinHuiqing f6d4eff
ci: put encrypt-submission playwright tests back
LinHuiqing fb0093e
ci: remove download from playwright tests
LinHuiqing d303844
test: better selectors for dropdowns
justynoh c896f12
ci: increase playwright workflow timeout
LinHuiqing 3c5b30c
fix: email sort by time in ascending order
LinHuiqing e075bd5
ci: set timeout for download event wait
LinHuiqing 0eead37
fix: wait for possible modals to appear before esc
LinHuiqing 8fd26da
ci: set lower timeout for download event
LinHuiqing 2d289b9
ci: run playwright tests excl encrypt-submission
LinHuiqing 0399901
ci: break playwright tests into different steps
LinHuiqing 971a41d
ci: break playwright tests into different steps
LinHuiqing 78f6fb1
fix: forgot to add the commands themselves :/
LinHuiqing 44dd1ca
ci: move first email test to the end
LinHuiqing f79faa9
ci: extract getByRole to separate step
LinHuiqing 0c05e28
ci: temporarily use only 1 browser to debug faster
LinHuiqing 1a7d18f
ci: check if combobox was the deal
LinHuiqing 62005cf
ci: commit to combobox for fillDropdown input
LinHuiqing 2bd6ea0
fix: change id=show locator to combobox
LinHuiqing 84ea65b
fix: use getByRole to pick logic type
LinHuiqing c352f0e
fix: remove closing of options in fillMultiDropdown
LinHuiqing 2480de4
ci: add enumerated encrypt-submission tests
LinHuiqing 066fd28
ci: put encrypt-submission playwright tests back
LinHuiqing 682d1d2
fix: add ssn env site name for playwright
LinHuiqing 0d65ebd
Merge branch 'fix/playwright' of https://github.com/opengovsg/FormSG …
justynoh 3af498e
fix: typo for SSM_ENV_SITE_NAME
LinHuiqing 83150f5
fix: inputLocator for fillMultiDropdown
LinHuiqing 23e6580
fix: get parent group for conditions multiDropdown
LinHuiqing b04d782
fix: click first button for downshift found
LinHuiqing d4e7373
fix: try last instead for dropdown
LinHuiqing 08dff29
ci: restore commented browsers
LinHuiqing 6a1943a
ci: reduce number of playwright retries to 1
LinHuiqing 19d08f4
ci: playwright test suite for each step
LinHuiqing 9f3abe0
fix: adjust test timeouts
LinHuiqing 96fffba
ci: split storage mode playwright tests
LinHuiqing 27353a3
ci: rm webkit from playwright tests temporarily
LinHuiqing 7d125b7
ci: restore webServer timeout for playwright to 120 * 1000
LinHuiqing 01aebda
ci: make encrypt-submissions playwright tests 1 step
LinHuiqing 87c5a40
fix: use combobox for field settings with dropdown
LinHuiqing File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh btw the changes here corrects the retrieving of OTP emails a bit:
^this corrects the sorting of emails to ascending order of time! so that we can get the latest email when we use
pop
(not sure why this bug has survived so long?? maybe because we've just been deleting all the other emails)^I removed the deleting of emails by client because... I don't think its needed? and its easier for debugging if we have all the emails in the inbox