diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 8f4070f..7cbd589 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -23,6 +23,9 @@ jobs: distribution: 'zulu' - uses: gradle/actions/setup-gradle@v4 + - name: Download Icons + run: (cd mock && curl -Lo AdobeSpectrumIcons18.woff2 "https://developer.adobe.com/experience-manager/reference-materials/6-5/coral-ui/coralui3/resources/coralui-component-icon/AdobeSpectrumIcons18.woff2?651453a29a2cf87546cdc6215616731e" && curl -Lo AdobeSpectrumIcons24.woff2 "https://developer.adobe.com/experience-manager/reference-materials/6-5/coral-ui/coralui3/resources/coralui-component-icon/AdobeSpectrumIcons24.woff2?b750bfd862e4ef0daea700228de3e788") + - name: Run checks run: ./gradlew playwrightInstall check --continue diff --git a/configs/playwright.config.ts b/configs/playwright.config.ts index 66ec4fb..1b598a9 100644 --- a/configs/playwright.config.ts +++ b/configs/playwright.config.ts @@ -46,7 +46,7 @@ async function loadConfig(): Promise { expect: { toHaveScreenshot: { maxDiffPixelRatio: 0.05, - maxDiffPixels: 10, + maxDiffPixels: 100, } },