Skip to content

Commit

Permalink
fix: issue with playwright and vue
Browse files Browse the repository at this point in the history
  • Loading branch information
nmerget committed Dec 11, 2024
1 parent 7f1649a commit a0a9b85
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const testA11y = () => {
const component = await mount(comp);
const snapshot = await component.ariaSnapshot();
// Some wired issue with react and playwright ariaSnapshot in this case
const playwrightReactIssueFix = snapshot.replace(': on', '');
const playwrightReactIssueFix = snapshot.replace(': "on"', '');
expect(playwrightReactIssueFix).toMatchSnapshot(
`${testInfo.testId}.yaml`
);
Expand Down
2 changes: 1 addition & 1 deletion packages/components/src/components/radio/radio.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const testA11y = () => {
const component = await mount(comp);
const snapshot = await component.ariaSnapshot();
// Some wired issue with react and playwright ariaSnapshot in this case
const playwrightReactIssueFix = snapshot.replace(': on', '');
const playwrightReactIssueFix = snapshot.replace(': "on"', '');
expect(playwrightReactIssueFix).toMatchSnapshot(
`${testInfo.testId}.yaml`
);
Expand Down

0 comments on commit a0a9b85

Please sign in to comment.