Skip to content

Commit

Permalink
🪟 🔧 Extend timeouts for other discover schema calls in frontend e2e t…
Browse files Browse the repository at this point in the history
…ests (#11373)
  • Loading branch information
teallarson committed Feb 22, 2024
1 parent f7455c8 commit dd9c9fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion airbyte-webapp/cypress/commands/connection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export const createTestConnection = (sourceName: string, destinationName: string
openCreateConnection();

cy.get("div").contains(sourceName).click();
cy.wait("@discoverSchema");
cy.wait("@discoverSchema", { timeout: 60000 });
enterConnectionName("Connection name");
selectScheduleType("Manual");

Expand Down
2 changes: 1 addition & 1 deletion airbyte-webapp/cypress/commands/interceptors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export const waitForUpdateConnectionRequest = () => cy.wait("@updateConnection",

export const interceptDiscoverSchemaRequest = () =>
cy.intercept("/api/v1/sources/discover_schema").as("discoverSchema");
export const waitForDiscoverSchemaRequest = () => cy.wait("@discoverSchema");
export const waitForDiscoverSchemaRequest = () => cy.wait("@discoverSchema", { timeout: 60000 });

export const interceptCreateConnectionRequest = () =>
cy.intercept("/api/v1/web_backend/connections/create").as("createConnection");
Expand Down

0 comments on commit dd9c9fa

Please sign in to comment.