-
Notifications
You must be signed in to change notification settings - Fork 499
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: resolve e2e test failures (#2122)
* feat: resolve e2e test failures * fix: re-add get-port * chore: remove http-serve and update http-server * test(fix): explore.page.js race condition * fix: run e2e tests 10 times on CI to ensure no flakiness * chore: move repeat-each to github CI this ensures kubo interop CI test only runs them once.. we don't want the burden of flakiness on them * test(chore): make remote-api.test.js test in serial for now * test(fix): remote-api.test.js * test(ci): allow multiple workers in CI * Revert "test(ci): allow multiple workers in CI" This reverts commit ad43e04. * test(CI): shard e2e playwright tests in CI
- Loading branch information
Showing
9 changed files
with
182 additions
and
90 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,9 @@ jobs: | |
strategy: | ||
fail-fast: false | ||
matrix: | ||
backend: [go] # TODO: add 'js' – see https://github.com/ipfs/ipfs-webui/issues/1737 | ||
backend: [go] | ||
shardIndex: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] | ||
shardTotal: [10] | ||
steps: | ||
- uses: actions/[email protected] | ||
|
||
|
@@ -39,7 +41,7 @@ jobs: | |
run: npm run test:build | ||
|
||
- name: Run E2E against ${{ matrix.backend }}-ipfs | ||
run: E2E_IPFSD_TYPE=${{ matrix.backend }} npm run test:e2e | ||
run: E2E_IPFSD_TYPE=${{ matrix.backend }} npm run test:e2e -- --repeat-each 10 --shard=${{ matrix.shardIndex }}/${{ matrix.shardTotal }} # run each test 10 times to ensure no flakiness | ||
|
||
- name: Generate nyc coverage report | ||
id: coverage | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Oops, something went wrong.