Skip to content

Commit

Permalink
with timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
bchu1 committed Sep 24, 2024
1 parent e7f0e6e commit 039a408
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/frontend-e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ jobs:
strategy:
matrix:
browser: ${{ fromJson(inputs.browsers) }}
shardCurrent: [1]
shardTotal: [1]
shardCurrent: [1, 2, 3, 4, 5]
shardTotal: [5]

concurrency:
group: frontend-e2e-${{ github.ref }}-${{ matrix.browser }}-${{ matrix.shardCurrent }}-${{ matrix.shardTotal}}
Expand Down
6 changes: 5 additions & 1 deletion frontend/packages/data-portal/e2e/downloadDialog.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,14 @@ test.describe('downloadDialog', () => {
let downloadDialogPage: DownloadDialogPage
let downloadDialogActor: DownloadDialogActor

test.beforeEach(({ page }) => {
test.beforeEach(async ({ page }) => {
client = getApolloClient()
downloadDialogPage = new DownloadDialogPage(page)
downloadDialogActor = new DownloadDialogActor(downloadDialogPage)

await new Promise((resolve) => {
setTimeout(resolve, 2000)
})
})

test.describe('Single Dataset', () => {
Expand Down

0 comments on commit 039a408

Please sign in to comment.