Skip to content
Snippets Groups Projects
Unverified Commit 32effb1f authored by Raphael Krut-Landau's avatar Raphael Krut-Landau Committed by GitHub
Browse files

Fix browse models e2e tests (#51046)

parent d3a75e4e
No related branches found
No related tags found
No related merge requests found
......@@ -105,7 +105,7 @@ H.describeWithSnowplow("scenarios > browse", () => {
cy.intercept("GET", "/api/search*", req => {
req.reply({ statusCode: 400 });
});
navigationSidebar().findByLabelText("Browse models").click();
H.navigationSidebar().findByLabelText("Browse models").click();
cy.findByLabelText("Models")
.findAllByText("An error occurred")
.should("have.length", 2);
......@@ -116,7 +116,7 @@ H.describeWithSnowplow("scenarios > browse", () => {
cy.intercept("GET", "/api/search*", req => {
req.reply({ statusCode: 400 });
});
navigationSidebar().findByLabelText("Browse metrics").click();
H.navigationSidebar().findByLabelText("Browse metrics").click();
cy.findByLabelText("Metrics")
.findByText("An error occurred")
.should("be.visible");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment