Skip to content

Openverse is a search engine for openly-licensed media. This monorepo includes all application code.

Skip flaky tests related to SVGs (#2376)

Zack Krida3d7f76128a19
diff --git a/frontend/test/playwright/visual-regression/components/header.spec.ts b/frontend/test/playwright/visual-regression/components/header.spec.ts
index 649b4f8fd..ba4113840 100644
--- a/frontend/test/playwright/visual-regression/components/header.spec.ts
+++ b/frontend/test/playwright/visual-regression/components/header.spec.ts
@@ -66,7 +66,8 @@ for (const dir of languageDirections) {
)
})
- test("searchbar active", async ({ page }) => {
+ // Skipping flaky test: https://github.com/WordPress/openverse/issues/2357
+ test.skip("searchbar active", async ({ page }) => {
if (!isMobileBreakpoint(breakpoint)) {
await filters.close(page)
}
diff --git a/frontend/test/playwright/visual-regression/pages/homepage.spec.ts b/frontend/test/playwright/visual-regression/pages/homepage.spec.ts
index f6a2b664b..61680e676 100644
--- a/frontend/test/playwright/visual-regression/pages/homepage.spec.ts
+++ b/frontend/test/playwright/visual-regression/pages/homepage.spec.ts
@@ -59,13 +59,15 @@ for (const dir of languageDirections) {
)
})
- test("content switcher open", async ({ page }) => {
+ // @todo Fix flaky test: https://github.com/WordPress/openverse/issues/2377
+ test.skip("content switcher open", async ({ page }) => {
await page.locator("#search-type-button").click()
await expectSnapshot(`content-switcher-open-${dir}`, page)
})
- test("content switcher with external sources open", async ({
+ // @todo Fix flaky test: https://github.com/WordPress/openverse/issues/2377
+ test.skip("content switcher with external sources open", async ({
page,
}) => {
await page.goto(pathWithDir("/?ff_additional_search_types=on", dir))