Skip to content

Commit

Permalink
Fixme instead of skip broken sensitivity test
Browse files Browse the repository at this point in the history
  • Loading branch information
zackkrida committed Jul 11, 2023
1 parent a11969e commit 273c500
Showing 1 changed file with 8 additions and 16 deletions.
24 changes: 8 additions & 16 deletions frontend/test/playwright/e2e/search-query-server.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,21 +91,13 @@ test.describe("search query on SSR", () => {
}
})

test.skip("url mature query is set, and can be unchecked using the Safer Browsing popup", async ({
page,
}) => {
await goToSearchTerm(page, "cat", {
searchType: IMAGE,
query: "mature=true",
})

await page.click('button:has-text("Safer Browsing")')

const matureCheckbox = await page.locator("text=Show Mature Content")
await expect(matureCheckbox).toBeChecked()

await page.click("text=Show Mature Content")
await expect(page).toHaveURL("/search/image?q=cat")
})
test.fixme(
"URL sensntive query is set, and can be toggled using the UI.",
async () => {
// TODO: This test should be updated as part of the
// blurring sensitive results project.
// https://github.com/WordPress/openverse/issues/377
}
)
})
})

0 comments on commit 273c500

Please sign in to comment.