Skip to content

Commit

Permalink
fix: issue with wrong path for foundation tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nmerget committed Feb 3, 2025
1 parent 3e23022 commit 2970210
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/foundations/test/colors.spec.js
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@ import { expect, test } from '@playwright/test';

test.describe('Colors', () => {
test(`should match screenshot`, async ({ page }) => {
await page.goto(`src/colors.html`);
await page.goto(`dev/colors.html`);
await expect(page).toHaveScreenshot({ fullPage: true });
});
});
2 changes: 1 addition & 1 deletion packages/foundations/test/fonts.spec.js
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@ import { expect, test } from '@playwright/test';

test.describe('Fonts', () => {
test(`should match screenshot`, async ({ page }) => {
await page.goto(`src/fonts.html`);
await page.goto(`dev/fonts.html`);
await expect(page).toHaveScreenshot({ fullPage: true });
});
});
2 changes: 1 addition & 1 deletion packages/foundations/test/icons.spec.js
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@ import { expect, test } from '@playwright/test';

test.describe('Icons', () => {
test(`should match screenshot`, async ({ page }) => {
await page.goto(`src/icons.html`);
await page.goto(`dev/icons.html`);
await page.waitForTimeout(1000);
await expect(page).toHaveScreenshot({ fullPage: true });
});

0 comments on commit 2970210

Please sign in to comment.