Skip to content

Commit

Permalink
fix: config
Browse files Browse the repository at this point in the history
  • Loading branch information
NasgulNexus committed Oct 12, 2023
1 parent 7d398b3 commit e58af6f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 22 deletions.
6 changes: 6 additions & 0 deletions test-component/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,12 @@ const config: PlaywrightTestConfig = {
use: {...devices['Desktop Safari']},
},
],
expect: {
toHaveScreenshot: {
// An acceptable amount of pixels that could be different, unset by default.
maxDiffPixels: 10,
},
},
};

export default defineConfig(config);
22 changes: 0 additions & 22 deletions test-component/playwright/index.scss
Original file line number Diff line number Diff line change
@@ -1,23 +1 @@
@import '../../styles/styles.scss';

h1,
h2,
h3,
h4,
h5,
h6 {
margin: 0;
font-weight: var(--g-text-header-font-weight);
}

h1 {
font-size: 17px;
}

h2 {
font-size: 15px;
}

h3 {
font-size: 13px;
}

0 comments on commit e58af6f

Please sign in to comment.