Modern Docker Management, Designed for Everyone
Go composecontainer-managementcontainersdockerdocker-composedocker-managementgoself-hostedsveltekittypescriptweb-ui
chore: use correct test selector
Kyle Mendellaa1c6afca3ad
diff --git a/tests/spec/rbac.spec.ts b/tests/spec/rbac.spec.tsindex 7c004ce49..0627df3f5 100644--- a/tests/spec/rbac.spec.ts+++ b/tests/spec/rbac.spec.ts@@ -790,9 +790,7 @@ test('administers scoped identities and enforces their browser access immediatelawait composeContent.click({ position: { x: 10, y: 10 } });await composeContent.press('ControlOrMeta+A');await environmentAdminPage.keyboard.insertText(TEST_COMPOSE_YAML);- await expect(- environmentAdminPage.getByRole('button', { name: 'Create Project', exact: true })- ).toBeVisible();+ await expect(environmentAdminPage.locator('button[data-action="create"]')).toBeVisible();environmentAdminPage.off('request', recordOptionalRequest);expect(optionalRequests).toEqual([]);