mirror of
https://github.com/immich-app/immich.git
synced 2024-12-26 10:50:29 +02:00
test(web): full-size previews
This commit is contained in:
parent
80d755510e
commit
0061bdc2cc
@ -44,7 +44,7 @@ test.describe('Photo Viewer', () => {
|
|||||||
const { x, y, width, height } = box!;
|
const { x, y, width, height } = box!;
|
||||||
await page.mouse.move(x + width / 2, y + height / 2);
|
await page.mouse.move(x + width / 2, y + height / 2);
|
||||||
await page.mouse.wheel(0, -1);
|
await page.mouse.wheel(0, -1);
|
||||||
await expect.poll(async () => await imageLocator(page).getAttribute('src')).toContain('original');
|
await expect.poll(async () => await imageLocator(page).getAttribute('src')).toContain('fullsize');
|
||||||
});
|
});
|
||||||
|
|
||||||
test('reloads photo when checksum changes', async ({ page }) => {
|
test('reloads photo when checksum changes', async ({ page }) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user