Skip to content

Commit

Permalink
Switch to global test timeout (#621)
Browse files Browse the repository at this point in the history
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
garrettmflynn and pre-commit-ci[bot] authored Feb 21, 2024
1 parent d80764a commit c249182
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
14 changes: 7 additions & 7 deletions tests/e2e.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ describe('E2E Test', () => {

expect(existsSync(outputLocation)).toBe(true)

}, 2 * 60 * 1000) // Allow two minutes to create dataset
})

test('Create new pipeline by specifying a name', async () => {

Expand Down Expand Up @@ -185,7 +185,7 @@ describe('E2E Test', () => {
// Advance to formats page
await toNextPage('structure')

}, 10 * 1000)
})

test('Specify data formats', async () => {

Expand Down Expand Up @@ -227,7 +227,7 @@ describe('E2E Test', () => {

await toNextPage('locate')

}, 10 * 1000)
})

test('Locate all your source data programmatically', async () => {

Expand Down Expand Up @@ -319,7 +319,7 @@ describe('E2E Test', () => {

await toNextPage('sourcedata')

}, 10 * 1000)
})

test('Review source data information', async () => {

Expand All @@ -342,7 +342,7 @@ describe('E2E Test', () => {

await toNextPage('inspect')

}, 30 * 1000) // Wait for conversion preview to complete
}) // Wait for conversion preview to complete

test('Review NWB Inspector output', async () => {

Expand All @@ -358,7 +358,7 @@ describe('E2E Test', () => {

if (skipUpload) await toHome()

}, 60 * 1000) // Wait for full conversion to complete
}) // Wait for full conversion to complete

const uploadDescribe = skipUpload ? describe.skip: describe

Expand Down Expand Up @@ -402,7 +402,7 @@ describe('E2E Test', () => {

await toNextPage('review')

}, 3 * 60 * 1000) // Wait for upload to finish (~2min on M2)
}) // Wait for upload to finish (~2min on M2)


test('Review upload results', async () => {
Expand Down
1 change: 1 addition & 0 deletions vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ export default defineConfig({
test: {
environment: "jsdom",
setupFiles: ["dotenv/config"],
testTimeout: 3 * 60 * 1000,
},
});

0 comments on commit c249182

Please sign in to comment.