Skip to content

Commit

Permalink
Merge branch 'main' into refactor/update-table-to-css-modules
Browse files Browse the repository at this point in the history
  • Loading branch information
joshblack authored Dec 9, 2024
2 parents dea5404 + d57b1de commit 6c0020f
Show file tree
Hide file tree
Showing 14 changed files with 56 additions and 40 deletions.
10 changes: 8 additions & 2 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -200,8 +200,14 @@ module.exports = {
parserOptions: {
project: 'tsconfig.json',
},
extends: ['plugin:playwright/jest-playwright'],
rules: {},
extends: ['plugin:playwright/recommended'],
rules: {
'playwright/expect-expect': 'off',
'playwright/no-conditional-expect': 'off',
'playwright/no-conditional-in-test': 'off',
'playwright/no-wait-for-selector': 'off',
'playwright/valid-title': 'off',
},
},

// rules which apply only to Markdown
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/assign_release_conductor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: 22
- run: npm i -g npm@^10.5.1
- run: npm ci
- uses: ./.github/actions/pagerduty
id: pagerduty
Expand Down
15 changes: 0 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ jobs:
with:
node-version: 22
cache: 'npm'
- run: npm i -g npm@^10.5.1
- name: Install dependencies
run: npm ci
- name: Check for unformatted files
Expand All @@ -43,7 +42,6 @@ jobs:
with:
node-version: 22
cache: 'npm'
- run: npm i -g npm@^10.5.1
- name: Install dependencies
run: npm ci
- name: Lint JavaScript
Expand All @@ -63,7 +61,6 @@ jobs:
with:
node-version: 22
cache: 'npm'
- run: npm i -g npm@^10.5.1
- name: Install dependencies
run: npm ci
- name: Build
Expand All @@ -81,7 +78,6 @@ jobs:
with:
node-version: 22
cache: 'npm'
- run: npm i -g npm@^10.5.1
- name: Install dependencies
run: npm ci
- name: Build project
Expand All @@ -99,7 +95,6 @@ jobs:
with:
node-version: 22
cache: 'npm'
- run: npm i -g npm@^10.5.1
- name: Install dependencies
run: npm ci
- name: Build
Expand All @@ -118,7 +113,6 @@ jobs:
with:
node-version: 22
cache: 'npm'
- run: npm i -g npm@^10.5.1
- name: Install dependencies
run: npm ci
- name: Build storybook
Expand Down Expand Up @@ -159,7 +153,6 @@ jobs:
with:
node-version: 22
cache: 'npm'
- run: npm i -g npm@^10.5.1
- name: install dependencies
run: npm ci
- name: download all reports
Expand Down Expand Up @@ -196,7 +189,6 @@ jobs:
with:
node-version: 22
cache: 'npm'
- run: npm i -g npm@^10.5.1
- name: Install dependencies
run: npm ci
- name: Build storybook
Expand Down Expand Up @@ -237,7 +229,6 @@ jobs:
with:
node-version: 22
cache: 'npm'
- run: npm i -g npm@^10.5.1
- name: install dependencies
run: npm ci
- name: download all reports
Expand Down Expand Up @@ -270,7 +261,6 @@ jobs:
with:
node-version: 22
cache: 'npm'
- run: npm i -g npm@^10.5.1
- name: Install dependencies
run: npm ci
- name: Build storybook
Expand Down Expand Up @@ -311,7 +301,6 @@ jobs:
with:
node-version: 22
cache: 'npm'
- run: npm i -g npm@^10.5.1
- name: install dependencies
run: npm ci
- name: download all reports
Expand Down Expand Up @@ -348,7 +337,6 @@ jobs:
with:
node-version: 22
cache: 'npm'
- run: npm i -g npm@^10.5.1
- name: Install dependencies
run: npm ci
- name: Build storybook
Expand Down Expand Up @@ -389,7 +377,6 @@ jobs:
with:
node-version: 22
cache: 'npm'
- run: npm i -g npm@^10.5.1
- name: install dependencies
run: npm ci
- name: download all reports
Expand Down Expand Up @@ -419,7 +406,6 @@ jobs:
with:
node-version: 22
cache: 'npm'
- run: npm i -g npm@^10.5.1
- name: Install dependencies
run: npm ci
- name: Build components.json
Expand All @@ -435,7 +421,6 @@ jobs:
with:
node-version: 22
cache: 'npm'
- run: npm i -g npm@^10.5.1
- name: Install dependencies
run: npm ci
- name: Build
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/codescan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ jobs:
with:
node-version: 22
cache: 'npm'
- run: npm i -g npm@^10.5.1
- name: Install dependencies
run: npm ci

Expand Down
1 change: 0 additions & 1 deletion .github/workflows/deploy_preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ jobs:
with:
node-version: 22
cache: 'npm'
- run: npm i -g npm@^10.5.1
- name: Install dependencies
run: npm ci
- name: Build docs preview
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/deploy_preview_forks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ jobs:
with:
node-version: 22
cache: 'npm'
- run: npm i -g npm@^10.5.1
- name: Install dependencies
run: npm ci
- name: Build docs preview
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/release-schedule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: 22
- run: npm i -g npm@^10.5.1
- name: Install packages for github-script
run: npm i date-fns
- name: Create Release Issue
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ jobs:
with:
node-version: 22
cache: 'npm'
- run: npm i -g npm@^10.5.1

- name: Install dependencies
run: npm ci
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/release_canary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ jobs:
with:
node-version: 22
cache: 'npm'
- run: npm i -g npm@^10.5.1
- name: Install dependencies
run: npm ci
- name: Build
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/release_candidate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ jobs:
with:
node-version: 22
cache: 'npm'
- run: npm i -g npm@^10.5.1

- name: Install dependencies
run: npm ci
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/vrt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ jobs:
with:
node-version: 22
cache: 'npm'
- run: npm i -g npm@^10.5.1
- name: Install dependencies
run: npm ci
- name: Build storybook
Expand Down
8 changes: 4 additions & 4 deletions e2e/components/DataTable.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,12 +175,12 @@ test.describe('DataTable', () => {
const region = page.getByRole('region')
const table = region.getByRole('table')

const tabIndex = await region.getAttribute('tabindex')
const labelledby = await region.getAttribute('aria-labelledby')
const tabIndex = region
const labelledby = region

await expect(region).toBeVisible()
expect(tabIndex).toBe('0')
expect(labelledby).toBe(headingId)
await expect(tabIndex).toHaveAttribute('tabindex', '0')
await expect(labelledby).toHaveAttribute('aria-labelledby', headingId!)

await expect(table).toBeVisible()
expect(labelledby).toBe(headingId)
Expand Down
50 changes: 42 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"eslint-plugin-jest": "28.8.3",
"eslint-plugin-jsx-a11y": "6.7.1",
"eslint-plugin-mdx": "3.1.5",
"eslint-plugin-playwright": "0.15.1",
"eslint-plugin-playwright": "^2.1.0",
"eslint-plugin-prettier": "5.0.0",
"eslint-plugin-primer-react": "5.4.0",
"eslint-plugin-react": "7.32.2",
Expand Down Expand Up @@ -94,5 +94,5 @@
"running": false
}
],
"packageManager": "[email protected].1+sha512.c89530d37c4baa38afd43e76a077a84b9aa63840b986426584fd5c5a54ab0a0b21bb1595c851042b733784b0b43706d36a494b4d8ae1a086a762cb8d3f95942a"
"packageManager": "[email protected].2+sha512.8ab88f10f224a0c614cb717a7f7c30499014f77134120e9c1f0211ea3cf3397592cbe483feb38e0c4b3be1c54e347292c76a1b5edb94a3289d5448484ab8ac81"
}

0 comments on commit 6c0020f

Please sign in to comment.