Skip to content

Commit

Permalink
fix: failing test case
Browse files Browse the repository at this point in the history
  • Loading branch information
m8vago committed Dec 6, 2024
1 parent 70d78f8 commit d376b2e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ test('Protecting a deployment should fail while an incremental protected deploym
await page.click('button:text-is("Deployments")')

const deploymentsRows = await page.locator('table.w-full >> tbody >> tr')
await expect(deploymentsRows).toHaveCount(1)
await expect(deploymentsRows).not.toBeEmpty()
await deploymentsRows.locator(`td:has-text("${PREFIX}")`).click()

await deploymentsRows.first().click()
await page.waitForURL(`${TEAM_ROUTES.deployment.list()}/**`)
await page.waitForSelector('h2:text-is("Deployments")')
const editDeploymentId = page.url().split('/').pop()
Expand Down

0 comments on commit d376b2e

Please sign in to comment.