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

WIP: WEBDEV-6730 fix flaky tests - fixmes #40

Closed
wants to merge 63 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
04bd9d1
update tests and configs
dualcnhq Apr 17, 2024
7fe0ed4
update formatting and scripts
dualcnhq Apr 17, 2024
6ae56c4
update other tests and config
dualcnhq Apr 18, 2024
b29c169
update tests for details page
dualcnhq Apr 18, 2024
defe316
update run-test script
dualcnhq Apr 18, 2024
4f0b899
update tests and config with json reporter
dualcnhq Apr 18, 2024
c259d7c
more debugging
dualcnhq Apr 19, 2024
8c7eeb8
update config
dualcnhq Apr 20, 2024
1701416
update collection page test
dualcnhq Apr 22, 2024
3580e3c
another test update
dualcnhq Apr 29, 2024
abc3fb1
test update
dualcnhq Apr 29, 2024
2438dc4
refactor and formatting
dualcnhq Apr 29, 2024
a86d621
update config and tests
dualcnhq Apr 29, 2024
5ffc350
fix error in searchpage fixture
dualcnhq Apr 29, 2024
48e7576
update config and tests
dualcnhq Apr 30, 2024
eb9d8c0
update GH workflow
dualcnhq Apr 30, 2024
5d41ec0
update README and notes
dualcnhq May 1, 2024
77b1a88
add login page timeout
dualcnhq May 8, 2024
170998b
donation banner tests (#42)
iisa Apr 25, 2024
9dc1c8d
Lending bar tests for login and borrow and return now feature
nsharma123 Apr 26, 2024
7f76ed9
Address CR suggestion to remove new fixtures for lending-bar
nsharma123 Apr 30, 2024
77c2e31
Removed unused imports
nsharma123 Apr 30, 2024
e7caa60
update pipeline step workflows
dualcnhq May 9, 2024
89292f7
update workflow step
dualcnhq May 9, 2024
5dfcf78
add to use xvfb - as experiment
dualcnhq May 13, 2024
3652c47
update config with xvfb
dualcnhq May 13, 2024
fd292f4
remove xvfb
dualcnhq May 13, 2024
01ff1b4
update step run
dualcnhq May 13, 2024
6e83299
update runner image
dualcnhq May 14, 2024
54df545
update pipeline
dualcnhq May 14, 2024
2690e5f
initial timeout and waitloadstate cleanups
dualcnhq May 15, 2024
571eaba
update code
dualcnhq May 17, 2024
1c90ba8
Merge branch 'main' into webdev-6730-fix-flaky-tests
dualcnhq May 17, 2024
7d74154
fix merge with formatting and remove unused code
dualcnhq May 17, 2024
24a81c0
update
dualcnhq May 17, 2024
ef31861
fix conflict and dupe
dualcnhq May 17, 2024
686ad65
update webrunner to mac
dualcnhq May 17, 2024
7fdf3d6
Update Playwright
mc2 May 21, 2024
40405bd
Update Playwright config for retry and trace
mc2 May 21, 2024
031c806
Fix and comment flaky issues
mc2 May 21, 2024
b651b42
add env
dualcnhq May 22, 2024
219ad84
update pipeline and add fixme annotation
dualcnhq May 22, 2024
d6c2bf4
update setup env workflow
dualcnhq May 22, 2024
876e7db
fix job step workflow
dualcnhq May 22, 2024
0fb421e
update yml
dualcnhq May 22, 2024
6265802
update gh workflows
dualcnhq May 22, 2024
4cd872c
update pipeline
dualcnhq May 22, 2024
1cf3f3f
update pipeline
dualcnhq May 22, 2024
dee7ee8
update pipeline workflow
dualcnhq May 22, 2024
e0c503b
update pipeline
dualcnhq May 22, 2024
c8e3e6e
update fixme and manual pipeline
dualcnhq May 22, 2024
35691e4
Clean up temp console.log debugging
mc2 May 23, 2024
b706ff6
Merge pull request #46 from internetarchive/webdev-6852-fix-e2e-detai…
mc2 May 23, 2024
e812ed5
add fixme
dualcnhq May 23, 2024
ebd48e6
new manual workflow
dualcnhq May 23, 2024
7619895
update fixme
dualcnhq May 23, 2024
a2c54b9
add fixme annotations
dualcnhq May 24, 2024
2b95f5b
refactor search page tests
dualcnhq May 24, 2024
fe78dd4
fix format and refactor login
dualcnhq May 24, 2024
e19b755
add fixmes
dualcnhq May 24, 2024
70072c5
add fixme - music tests
dualcnhq May 24, 2024
175fe26
update fixmes
dualcnhq May 29, 2024
da4f63c
update fixme
dualcnhq May 31, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions .github/workflows/call-run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,20 @@ jobs:
node-version: 20
cache: 'npm'

- name: Install jq
run: sudo apt-get install jq -y

- name: Install dependencies
run: npm ci

- name: Install Playwright Browsers
run: npx playwright install --with-deps

- name: Run Playwright tests
run: ./run-tests.sh
- name: Run Playwright short tests
dualcnhq marked this conversation as resolved.
Show resolved Hide resolved
run: ./run-tests.sh -t short

- name: Run Playwright long tests
run: ./run-tests.sh -t long
dualcnhq marked this conversation as resolved.
Show resolved Hide resolved

- uses: actions/upload-artifact@v3
if: always()
Expand Down
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ node_modules/
/playwright/.cache
/playwright/.auth

# json reporter summary
/ctrf
/playwright-summary

.env
*.err
*.log
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,19 @@

`npx playwright install`

- install jq for json reporter summary reading:

`brew install jq`

- run all the tests in headless mode and generate 1 whole test report:

`npm run test`

- run all the tests in headless mode by each category and generate test report by category:
- run all the tests in headless mode by each category and generate test report:

- short tests category: `./run-tests.sh -t short`

`./run-tests.sh`
- long tests category: `./run-tests.sh -t long`

- run all the tests in headed mode (this will load multiple browsers):

Expand Down
Loading
Loading