Skip to content
Snippets Groups Projects
Unverified Commit 81e14efb authored by Mahatthana (Kelvin) Nomsawadi's avatar Mahatthana (Kelvin) Nomsawadi Committed by GitHub
Browse files

Modify the reproduction of #27768 to match the current state (#33588)

parent 22e3ced2
Branches
Tags
No related merge requests found
......@@ -5,6 +5,7 @@ import {
editDashboard,
saveDashboard,
filterWidget,
getDashboardCard,
} from "e2e/support/helpers";
import { SAMPLE_DATABASE } from "e2e/support/cypress_sample_database";
......@@ -27,7 +28,7 @@ const filter = {
sectionId: "string",
};
describe.skip("issue 27768", () => {
describe("issue 27768", () => {
beforeEach(() => {
restore();
cy.signInAsAdmin();
......@@ -49,8 +50,7 @@ describe.skip("issue 27768", () => {
editDashboard();
getFilterOptions(filter.name);
// eslint-disable-next-line no-unscoped-text-selectors -- deprecated usage
cy.findByText("Select…").click();
getDashboardCard().findByText("Select…").click();
popover().contains("CCategory").click();
saveDashboard();
......@@ -64,10 +64,10 @@ describe.skip("issue 27768", () => {
editDashboard();
getFilterOptions(filter.name);
// eslint-disable-next-line no-unscoped-text-selectors -- deprecated usage
cy.findByText("Select…").should("not.exist");
// eslint-disable-next-line no-unscoped-text-selectors -- deprecated usage
cy.findByText("Column to filter on").parent().contains("Product.CCategory");
getDashboardCard().within(() => {
cy.findByText("Select…").should("not.exist");
cy.contains("Product.CCategory");
});
});
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment