mirror of
https://github.com/immich-app/immich.git
synced 2025-05-27 20:29:26 +02:00
fix(web): e2e download tests (#18125)
This commit is contained in:
parent
30822fcd10
commit
2af8095880
1 changed files with 2 additions and 4 deletions
|
@ -47,15 +47,13 @@ test.describe('Shared Links', () => {
|
|||
await page.locator(`[data-asset-id="${asset.id}"]`).hover();
|
||||
await page.waitForSelector('[data-group] svg');
|
||||
await page.getByRole('checkbox').click();
|
||||
await page.getByRole('button', { name: 'Download' }).click();
|
||||
await page.waitForEvent('download');
|
||||
await Promise.all([page.waitForEvent('download'), page.getByRole('button', { name: 'Download' }).click()]);
|
||||
});
|
||||
|
||||
test('download all from shared link', async ({ page }) => {
|
||||
await page.goto(`/share/${sharedLink.key}`);
|
||||
await page.getByRole('heading', { name: 'Test Album' }).waitFor();
|
||||
await page.getByRole('button', { name: 'Download' }).click();
|
||||
await page.waitForEvent('download');
|
||||
await Promise.all([page.waitForEvent('download'), page.getByRole('button', { name: 'Download' }).click()]);
|
||||
});
|
||||
|
||||
test('enter password for a shared link', async ({ page }) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue