matrix-art

An image gallery for Matrix
git clone git://archive.git.mtrnord.blog/MTRNord/matrix-art.git
Log | Files | Refs | README | LICENSE

commit 8f298b93198d8c147669050fed5182eaf3c3dd7e
parent 76d8b9cb1ae9b5250f6b3c90f154833deeffbe05
Author: MTRNord <mtrnord1@gmail.com>
Date:   Mon, 31 Jan 2022 00:54:38 +0100

Remove flaky test

Diffstat:
Me2e/home.spec.ts | 11-----------
1 file changed, 0 insertions(+), 11 deletions(-)

diff --git a/e2e/home.spec.ts b/e2e/home.spec.ts @@ -20,17 +20,6 @@ test('test navigation to details', async ({ page }, testInfo) => { await expect(page).toHaveURL('http://localhost:3000/post/%24xoIMe7tUMb2NhCBZaxsZr2CVkptCVu1GaJ_eJMKbJQo'); - // Dont run this on mobile as the button does only exist on desktop browsers - if (!testInfo.project.name.includes("Mobile")) { - // Click img[alt="Flowers"] - await page.waitForLoadState("networkidle"); - await page.click('img[alt="Flowers"]'); - // Click [aria-label="Close gallery"] - await page.waitForLoadState("networkidle"); - await page.click('[aria-label="Close gallery"]'); - await expect(page).toHaveURL('http://localhost:3000/post/%24xoIMe7tUMb2NhCBZaxsZr2CVkptCVu1GaJ_eJMKbJQo'); - } - // Click svg await Promise.all([