Skip to content

Commit

Permalink
Frontend: small second cleanup PR for d3 stacked refactor (#3907)
Browse files Browse the repository at this point in the history
  • Loading branch information
benhammondmusic authored Jan 9, 2025
1 parent 8c18d67 commit 4752fb7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
2 changes: 1 addition & 1 deletion biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"useSortedClasses": "info"
},
"a11y": {
"useSemanticElements": "info",
"useSemanticElements": "off",
"noSvgWithoutTitle": "off"
},
"suspicious": {
Expand Down
6 changes: 0 additions & 6 deletions frontend/playwright-tests/cawp.ci.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
4 changes: 2 additions & 2 deletions frontend/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 4752fb7

Please sign in to comment.