Skip to content

Commit ce228f7

Browse files
author
Contentrain
committed
test(e2e): stabilize cdn panel rebuild assertion
1 parent 6cd3e28 commit ce228f7

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tests/e2e/cdn-panel.e2e.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,9 @@ describe('cdn panel e2e', () => {
172172
await page.locator('form button[type="submit"]').click()
173173
await page.getByText('crn_live_full_secret').waitFor()
174174
await page.getByRole('button', { name: 'Rebuild' }).click()
175-
await page.getByText('Build complete — 4 files in 123ms').first().waitFor()
176175
await page.getByText('abc1234').waitFor()
176+
await page.getByText('4 files').waitFor()
177+
await page.getByText('123ms').waitFor()
177178

178179
expect(patchBodies).toEqual([{ cdn_enabled: true }])
179180

0 commit comments

Comments
 (0)