Skip to content

Commit

Permalink
update cypress selectors
Browse files Browse the repository at this point in the history
  • Loading branch information
SupaJoon committed Apr 12, 2024
1 parent 993d1a8 commit 6f02553
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/parsley/cypress/integration/project_filters.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@ describe("project filters", () => {
cy.visit(`${resmokeLogLink}?filters=100D%255Cd`);
cy.contains("View project filters").click();
cy.dataCy("project-filters-modal").should("be.visible");
cy.getInputByLabel("D\\d").should("be.disabled");
cy.getInputByLabel("D\\d").should("have.attr", "aria-disabled", "true");
});
});
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,11 @@ describe("Configure Patch Page", () => {

it("Should show one disabled task", () => {
cy.dataCy("alias-task-checkbox").should("have.length", 1);
cy.dataCy("alias-task-checkbox").should("have.attr", "disabled");
cy.dataCy("alias-task-checkbox").should(
"have.attr",
"aria-disabled",
"true",
);
cy.dataCy("alias-task-checkbox").should("not.be.checked");
});

Expand Down

0 comments on commit 6f02553

Please sign in to comment.