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

Fix flaky domains.js and managed_ingestion.js tests #8492

2 changes: 1 addition & 1 deletion smoke-test/tests/cypress/cypress/e2e/mutations/domains.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ describe("add remove domain", () => {
cy.waitTextVisible("Add assets")
cy.clickOptionWithText("Add assets")
cy.get(".ant-modal-content").within(() => {
cy.get('[data-testid="search-input"]').click().invoke("val", "cypress_project.jaffle_shop.").type("customer")
cy.get('[data-testid="search-input"]').type("cypress_project.jaffle_shop.customer")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a question - Can you elaborate on why this helps the test to pass?

cy.contains("BigQuery")
cy.get(".ant-checkbox-input").first().click()
cy.get("#continueButton").click()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ describe("run managed ingestion", () => {
cy.waitTextVisible(testName)

cy.contains(testName).parent().within(() => {
cy.contains("Succeeded", {timeout: 30000})
cy.contains("Succeeded", {timeout: 40000})
cy.clickOptionWithTestId("delete-button");
})
cy.clickOptionWithText("Yes")
Expand Down
Loading