Skip to content

Commit

Permalink
test: fix node filtering
Browse files Browse the repository at this point in the history
  • Loading branch information
m8vago committed Dec 6, 2024
1 parent c8dd2ca commit 7e5ca1f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions web/crux-ui/e2e/with-login/nodes.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -223,14 +223,17 @@ test('Stopping the underlying container of a log stream should not affect the co

await page.locator('button:has-text("Containers")').click()

await page.getByPlaceholder('Search').fill(prefix)
await expect(page.locator('table.w-full >> tbody >> tr')).toHaveCount(1)

const row = page.getByRole('row', { name: containerName })

await expect(row.getByRole('cell', { name: 'Running' }).nth(0)).toBeVisible()

await row.getByAltText('Logs').click()

const nodeId = page.url().split('/').pop()

await row.getByAltText('Logs').click()

await page.waitForURL(
TEAM_ROUTES.node.containerLog(nodeId, {
name: containerName,
Expand Down

0 comments on commit 7e5ca1f

Please sign in to comment.