diff --git a/apps/spruce/cypress/integration/projectSettings/project_settings.ts b/apps/spruce/cypress/integration/projectSettings/project_settings.ts index 647300ae4..b52bc9f8d 100644 --- a/apps/spruce/cypress/integration/projectSettings/project_settings.ts +++ b/apps/spruce/cypress/integration/projectSettings/project_settings.ts @@ -38,7 +38,7 @@ describe("projectSettings/project_settings", () => { cy.dataCy("project-settings-page") .find("button") .should("have.attr", "aria-disabled", "true"); - cy.get("input").should("be.disabled"); + cy.get("input").should("have.attr", "aria-disabled", "true"); }); }); diff --git a/apps/spruce/cypress/integration/spawn/host.ts b/apps/spruce/cypress/integration/spawn/host.ts index e4cc8b333..fdcc43a2b 100644 --- a/apps/spruce/cypress/integration/spawn/host.ts +++ b/apps/spruce/cypress/integration/spawn/host.ts @@ -100,8 +100,16 @@ describe("Navigating to Spawn Host page", () => { .should("be.visible") .click(); cy.dataCy("expirable-radio-box").children().should("have.length", 2); - cy.getInputByLabel("Expirable Host").should("not.be.disabled"); - cy.getInputByLabel("Unexpirable Host").should("be.disabled"); + cy.getInputByLabel("Expirable Host").should( + "have.attr", + "aria-disabled", + "false", + ); + cy.getInputByLabel("Unexpirable Host").should( + "have.attr", + "aria-disabled", + "true", + ); }); it("Clicking on the spawn host button should open a spawn host modal.", () => { diff --git a/apps/spruce/package.json b/apps/spruce/package.json index 2cd1da90d..1fa6146b3 100644 --- a/apps/spruce/package.json +++ b/apps/spruce/package.json @@ -84,7 +84,7 @@ "@leafygreen-ui/pagination": "^1.0.24", "@leafygreen-ui/palette": "^4.0.9", "@leafygreen-ui/popover": "^11.0.17", - "@leafygreen-ui/radio-box-group": "^12.0.16", + "@leafygreen-ui/radio-box-group": "^13.0.2", "@leafygreen-ui/radio-group": "^10.2.4", "@leafygreen-ui/search-input": "^2.0.8", "@leafygreen-ui/segmented-control": "^8.2.13", diff --git a/yarn.lock b/yarn.lock index ce2a058ee..4c1408492 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2620,16 +2620,16 @@ "@leafygreen-ui/hooks" "^8.1.3" "@leafygreen-ui/lib" "^13.3.0" -"@leafygreen-ui/radio-box-group@^12.0.16": - version "12.0.16" - resolved "https://registry.yarnpkg.com/@leafygreen-ui/radio-box-group/-/radio-box-group-12.0.16.tgz#866ad9c82998bf85970201c543aec9ea2073b195" - integrity sha512-3jTprIrHO87oUsZCGn+FNkK7/clER+yTLV9GKt13rYlpy429hRs1c9EwNHfhT50DPhENhIIc/XYNMpWTDuWyBg== +"@leafygreen-ui/radio-box-group@^13.0.2": + version "13.0.2" + resolved "https://registry.yarnpkg.com/@leafygreen-ui/radio-box-group/-/radio-box-group-13.0.2.tgz#d1e5af3ffa75248b5e0e96d68d82392398b5541e" + integrity sha512-1zRW4jeQzwa2i0RdMQ5UPAMTphz0HAy1nQkoNAeMrb+FSlCkfxbTrqWkiqU0f8gkY3ns/cpkNfKhLkYg3eKXWQ== dependencies: - "@leafygreen-ui/emotion" "^4.0.7" - "@leafygreen-ui/hooks" "^8.0.0" - "@leafygreen-ui/lib" "^13.0.0" - "@leafygreen-ui/palette" "^4.0.7" - "@leafygreen-ui/tokens" "^2.2.0" + "@leafygreen-ui/emotion" "^4.0.8" + "@leafygreen-ui/hooks" "^8.1.4" + "@leafygreen-ui/lib" "^13.3.0" + "@leafygreen-ui/palette" "^4.0.9" + "@leafygreen-ui/tokens" "^2.5.2" "@leafygreen-ui/radio-group@^10.2.4": version "10.2.5"