Skip to content

Commit f79a044

Browse files
committed
Fix ag grid theme tests
1 parent 864277c commit f79a044

3 files changed

Lines changed: 877 additions & 1 deletion

File tree

packages/ag-grid-theme/stories/ag-grid-theme.qa.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,7 @@ export const HeaderVariants: StoryObj<typeof AgGridReact> = {
494494
HeaderVariants.play = async ({ canvasElement }) => {
495495
const canvas = within(canvasElement);
496496

497-
await userEvent.click(canvas.getByRole("button", { name: "Tertiary" }));
497+
await userEvent.click(canvas.getByRole("radio", { name: "Tertiary" }));
498498

499499
const rows = (await canvas.findAllByRole("row"))
500500
.filter((row) => row.hasAttribute("row-index"))

salt-npm-trust.cmd

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
@echo off
2+
setlocal
3+
4+
set "SCRIPT_DIR=%~dp0"
5+
set "AUTOMATION_SCRIPT=%SCRIPT_DIR%scripts\apply-npm-trusted-publishing.mjs"
6+
7+
where node >nul 2>nul
8+
if errorlevel 1 (
9+
echo Node.js is required to run the browser automation, but node was not found on PATH. 1>&2
10+
exit /b 1
11+
)
12+
13+
node "%AUTOMATION_SCRIPT%" %*
14+
exit /b %ERRORLEVEL%
15+

0 commit comments

Comments
 (0)