diff --git a/biome.json b/biome.json index 15ee5cf568..2ad0e650a7 100644 --- a/biome.json +++ b/biome.json @@ -31,7 +31,7 @@ "useSortedClasses": "info" }, "a11y": { - "useSemanticElements": "info", + "useSemanticElements": "off", "noSvgWithoutTitle": "off" }, "suspicious": { diff --git a/frontend/playwright-tests/cawp.ci.spec.ts b/frontend/playwright-tests/cawp.ci.spec.ts index 0c51f0ad21..3ae12f0d8a 100644 --- a/frontend/playwright-tests/cawp.ci.spec.ts +++ b/frontend/playwright-tests/cawp.ci.spec.ts @@ -49,12 +49,6 @@ test('CAWP: Congress', async ({ page }) => { ) .getByText('7.1% of women members', { exact: true }) .click() - await page - .getByLabel( - 'Comparison bar chart showing Population vs. distribution of total women in US congress in the United States', - ) - .getByText('20.0% of women members', { exact: true }) - .click() await page.getByRole('button', { name: 'US Congress', exact: true }).click() await page.getByRole('menuitem', { name: 'State legislatures' }).click() diff --git a/frontend/playwright.config.ts b/frontend/playwright.config.ts index 05532193ad..7b216fadd2 100644 --- a/frontend/playwright.config.ts +++ b/frontend/playwright.config.ts @@ -12,10 +12,10 @@ const config: PlaywrightTestConfig = { }, testDir: './playwright-tests', /* Maximum time one test can run for, default was 30s. */ - timeout: process.env.CI ? 150 * 1000 : 90 * 1000, + timeout: process.env.CI ? 150 * 1000 : 60 * 1000, /* Maximum time one "expect" can run for, default was 5 seconds and was too quick */ expect: { - timeout: 90 * 1000, + timeout: process.env.CI ? 90 * 1000 : 10 * 1000, }, /* run all tests, even those within a shared file, in parallel */ fullyParallel: true,