Skip to content

Commit

Permalink
test(FilePreview): fix ts & refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
itwillwork committed Dec 28, 2024
1 parent 323268c commit 9b7a1e2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ test.describe('FilePreview', {tag: '@FilePreview'}, () => {

await expectScreenshot({
themes: ['light'],
nameSuffix: 'show actionsdf',
nameSuffix: 'show actions',
});

await page.locator('button[aria-label="Close"]').hover();
Expand Down
3 changes: 0 additions & 3 deletions src/components/FilePreview/__tests__/helpers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,6 @@ export const FilePreviewWithAllActions = (
onClick: () => {
// nothing
},
extraProps: {
qa: 'action-1-trigger',
},
tooltipExtraProps: {
qa: 'action-1-tooltip',
},
Expand Down

0 comments on commit 9b7a1e2

Please sign in to comment.