-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: load logo - update usage of vite load response Closes #3470
- Loading branch information
1 parent
3601849
commit 04719f2
Showing
7 changed files
with
15 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+2.23 KB
...ots__/catalogue/should-show-the-alt-logo.spec.ts/should-show-the-alt-logo-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import { test, expect } from '@playwright/test'; | ||
|
||
test('should show the alt logo', async ({ page }) => { | ||
await page.goto('/catalogue-demo/ssr-catalogue/?logo=UMCGkort.woordbeeld'); | ||
await page.getByRole('button', { name: 'Accept' }).click(); | ||
await expect(page).toHaveScreenshot({clip: {x: 0, y: 0, width: 200, height: 100}, threshold: 0.4}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
import { test, expect } from '@playwright/test'; | ||
|
||
test('test', async ({ page }) => { | ||
await page.goto('catalogue-demo/ssr-catalogue/'); | ||
await page.goto('/catalogue-demo/ssr-catalogue/'); | ||
await expect(page.getByRole('heading', { name: 'European Health Research Data' })).toBeVisible(); | ||
}); |