Skip to content

chore: skip flaky sort test #13285

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions test/sort/e2e.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,10 @@ describe('Sort functionality', () => {
// NOTES: It works for me in headed browser but not in headless, I don't know why.
// If you are debugging this test, remember to press the seed button before each attempt.
// assertRows contains expect
// eslint-disable-next-line playwright/expect-expect
test('Orderable collection', async () => {

// TODO: This test is flaky and fails *most* of the time in CI.
// eslint-disable-next-line playwright/no-skipped-test, playwright/expect-expect
test.skip('Orderable collection', async () => {
const url = new AdminUrlUtil(serverURL, orderableSlug)
await page.goto(`${url.list}?sort=-_order`)
await page.locator('.collection-list button', { hasText: 'Seed' }).click()
Expand Down
Loading