Skip to content

Commit e73e254

Browse files
forgotten await
1 parent 634f1e3 commit e73e254

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

tests/integration/playwright/tests/html-unified-brand.spec.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -49,48 +49,48 @@ test('Light and dark brand files', async ({ page }) => {
4949
await page.goto('./html/unified-brand/light-dark-brand-file.html');
5050
expect(await page.locator('a.quarto-color-scheme-toggle').count()).toEqual(1);
5151

52-
check_link_colors(page, 'quarto-light');
52+
await check_link_colors(page, 'quarto-light');
5353
});
5454

5555
test('Light and dark brands inline', async ({ page }) => {
5656
await page.goto('./html/unified-brand/light-dark-brand.html');
5757
expect(await page.locator('a.quarto-color-scheme-toggle').count()).toEqual(1);
5858

59-
check_link_colors(page, 'quarto-light');
59+
await check_link_colors(page, 'quarto-light');
6060
});
6161

6262
test('Dark and light brand files', async ({ page }) => {
6363
await page.goto('./html/unified-brand/dark-light-brand-file.html');
6464
expect(await page.locator('a.quarto-color-scheme-toggle').count()).toEqual(1);
6565

66-
check_link_colors(page, 'quarto-dark');
66+
await check_link_colors(page, 'quarto-dark');
6767
});
6868

6969
test('Dark and light brands inline', async ({ page }) => {
7070
await page.goto('./html/unified-brand/dark-light-brand.html');
7171
expect(await page.locator('a.quarto-color-scheme-toggle').count()).toEqual(1);
7272

73-
check_link_colors(page, 'quarto-dark');
73+
await check_link_colors(page, 'quarto-dark');
7474
});
7575

7676

7777
test('Unified light and dark brand file', async ({ page }) => {
7878
await page.goto('./html/unified-brand/unified-colors-file.html');
7979
expect(await page.locator('a.quarto-color-scheme-toggle').count()).toEqual(1);
8080

81-
check_link_colors(page, 'quarto-light');
81+
await check_link_colors(page, 'quarto-light');
8282
});
8383

8484
test('Unified light and dark brand inline', async ({ page }) => {
8585
await page.goto('./html/unified-brand/unified-colors.html');
8686
expect(await page.locator('a.quarto-color-scheme-toggle').count()).toEqual(1);
8787

88-
check_link_colors(page, 'quarto-light');
88+
await check_link_colors(page, 'quarto-light');
8989
});
9090

9191
test('Unified light and dark typography inline', async ({ page }) => {
9292
await page.goto('./html/unified-brand/unified-typography.html');
9393
expect(await page.locator('a.quarto-color-scheme-toggle').count()).toEqual(1);
9494

95-
check_link_colors(page, 'quarto-light');
95+
await check_link_colors(page, 'quarto-light');
9696
});

0 commit comments

Comments
 (0)