diff --git a/apps/parsley/cypress/integration/project_filters.ts b/apps/parsley/cypress/integration/project_filters.ts index 4a492ba79..58950c024 100644 --- a/apps/parsley/cypress/integration/project_filters.ts +++ b/apps/parsley/cypress/integration/project_filters.ts @@ -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"); }); }); diff --git a/apps/parsley/package.json b/apps/parsley/package.json index 62217fd8f..1dc5773c3 100644 --- a/apps/parsley/package.json +++ b/apps/parsley/package.json @@ -42,7 +42,7 @@ "@leafygreen-ui/badge": "8.0.2", "@leafygreen-ui/button": "21.0.6", "@leafygreen-ui/card": "10.0.5", - "@leafygreen-ui/checkbox": "12.0.20", + "@leafygreen-ui/checkbox": "13.0.0", "@leafygreen-ui/confirmation-modal": "5.0.8", "@leafygreen-ui/copyable": "8.0.6", "@leafygreen-ui/emotion": "4.0.7", diff --git a/apps/parsley/src/components/ProjectFiltersModal/ProjectFiltersModal.test.tsx b/apps/parsley/src/components/ProjectFiltersModal/ProjectFiltersModal.test.tsx index 316ddb249..f32a70c7c 100644 --- a/apps/parsley/src/components/ProjectFiltersModal/ProjectFiltersModal.test.tsx +++ b/apps/parsley/src/components/ProjectFiltersModal/ProjectFiltersModal.test.tsx @@ -80,7 +80,7 @@ describe("projectFiltersModal", () => { }); const checkbox = screen.getAllByRole("checkbox")[0]; expect(checkbox).toBeChecked(); - expect(checkbox).toBeDisabled(); + expect(checkbox).toHaveAttribute("aria-disabled", "true"); }); it("disables submit button when no filters have been selected", async () => { diff --git a/apps/spruce/cypress/integration/projectSettings/not_defaulting_to_repo.ts b/apps/spruce/cypress/integration/projectSettings/not_defaulting_to_repo.ts index 8a2b372e8..cdd99c27f 100644 --- a/apps/spruce/cypress/integration/projectSettings/not_defaulting_to_repo.ts +++ b/apps/spruce/cypress/integration/projectSettings/not_defaulting_to_repo.ts @@ -59,8 +59,12 @@ describe("Project Settings when not defaulting to repo", () => { cy.dataCy("var-value-input").should("have.value", "{REDACTED}"); cy.dataCy("var-name-input").should("be.disabled"); cy.dataCy("var-value-input").should("be.disabled"); - cy.dataCy("var-private-input").should("be.disabled"); - cy.dataCy("var-admin-input").should("be.disabled"); + cy.dataCy("var-private-input").should( + "have.attr", + "aria-disabled", + "true", + ); + cy.dataCy("var-admin-input").should("have.attr", "aria-disabled", "true"); }); it("Typing a duplicate variable name will disable saving and show an error message", () => { diff --git a/apps/spruce/cypress/integration/version/unscheduled_patch/configure_patch.ts b/apps/spruce/cypress/integration/version/unscheduled_patch/configure_patch.ts index e21952ca4..a74282c3c 100644 --- a/apps/spruce/cypress/integration/version/unscheduled_patch/configure_patch.ts +++ b/apps/spruce/cypress/integration/version/unscheduled_patch/configure_patch.ts @@ -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"); }); diff --git a/apps/spruce/package.json b/apps/spruce/package.json index 5d5ec5f21..3bd41feac 100644 --- a/apps/spruce/package.json +++ b/apps/spruce/package.json @@ -62,7 +62,7 @@ "@leafygreen-ui/button": "21.0.6", "@leafygreen-ui/callout": "9.0.18", "@leafygreen-ui/card": "10.0.5", - "@leafygreen-ui/checkbox": "12.0.5", + "@leafygreen-ui/checkbox": "13.0.0", "@leafygreen-ui/code": "14.2.18", "@leafygreen-ui/combobox": "8.1.1", "@leafygreen-ui/confirmation-modal": "5.0.9", diff --git a/apps/spruce/src/components/PageSizeSelector/__snapshots__/PageSizeSelector.stories.storyshot b/apps/spruce/src/components/PageSizeSelector/__snapshots__/PageSizeSelector.stories.storyshot index 308bcab28..ade760415 100644 --- a/apps/spruce/src/components/PageSizeSelector/__snapshots__/PageSizeSelector.stories.storyshot +++ b/apps/spruce/src/components/PageSizeSelector/__snapshots__/PageSizeSelector.stories.storyshot @@ -6,15 +6,15 @@ exports[`Snapshot Tests PageSizeSelector.stories Default 1`] = ` class="leafygreen-ui-1iyoj2o css-5krlfz-StyledSelect ekttol50" >