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

Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ describe("run managed ingestion", () => {
cy.goToIngestionPage();
cy.clickOptionWithText("Create new source");
cy.clickOptionWithText("Other");

cy.waitTextVisible("source-type");
readyToTypeEditor().type('{ctrl}a').clear()
readyToTypeEditor().type("source:");
Expand All @@ -23,17 +22,14 @@ describe("run managed ingestion", () => {
readyToTypeEditor().type("config: {}");
cy.clickOptionWithText("Next")
cy.clickOptionWithText("Next")

cy.enterTextInTestId('source-name-input', testName)
cy.clickOptionWithText("Advanced")
cy.enterTextInTestId('cli-version-input', cli_version)
cy.clickOptionWithText("Save & Run")
cy.waitTextVisible(testName)

cy.contains(testName).parent().within(() => {
// TODO: Skipping until disk size resolved
// cy.contains("Succeeded", {timeout: 30000})
cy.clickOptionWithTestId("delete-button");
cy.contains("Succeeded", {timeout: 60000})
cy.clickOptionWithTestId("delete-button");
})
cy.clickOptionWithText("Yes")
cy.ensureTextNotPresent(testName)
Expand Down
Loading