Skip to content
This repository has been archived by the owner on Jul 2, 2024. It is now read-only.

Commit

Permalink
DEVPROD-936: Enable test isolation in patchCard/dropdown_menu.ts (#2148)
Browse files Browse the repository at this point in the history
  • Loading branch information
SupaJoon authored Nov 13, 2023
1 parent 3fee005 commit fe25471
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cypress/integration/myPatches/patchCard/dropdown_menu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@ const patchWithVersionOnCommitQueue =
const getPatchCardByDescription = (description: string) =>
cy.dataCy("patch-card").filter(`:contains(${description})`);

describe("Dropdown Menu of Patch Actions", { testIsolation: false }, () => {
describe("Dropdown Menu of Patch Actions", () => {
beforeEach(() => {
cy.visit("/");
cy.getInputByLabel("Include Commit Queue").check({ force: true });
});

it("'Reconfigure' link takes user to patch configure page", () => {
Expand Down Expand Up @@ -105,7 +106,6 @@ describe("Dropdown Menu of Patch Actions", { testIsolation: false }, () => {

it("Toggle patch visibility", () => {
// "Include hidden" checkbox is not checked and patch is visible
cy.getCookie(INCLUDE_HIDDEN_PATCHES).should("not.exist");
cy.getInputByLabel("Include hidden").should("not.be.checked");
cy.location("search").should("not.contain", "hidden=true");
getPatchCardByDescription("testtest")
Expand Down

0 comments on commit fe25471

Please sign in to comment.