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

Switch to global test timeout #621

Merged
merged 2 commits into from
Feb 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
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,
},
});
Loading