From 8400baab545b784309275b0eb46d5eaa953a587c Mon Sep 17 00:00:00 2001 From: Salah Al Saleh Date: Fri, 20 Sep 2024 13:19:52 -0700 Subject: [PATCH] Fix change-channel e2e test (#4913) --- e2e/playwright/tests/change-channel/test.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/e2e/playwright/tests/change-channel/test.spec.ts b/e2e/playwright/tests/change-channel/test.spec.ts index 3ab19014aa..0b827e3d2f 100644 --- a/e2e/playwright/tests/change-channel/test.spec.ts +++ b/e2e/playwright/tests/change-channel/test.spec.ts @@ -21,7 +21,7 @@ test('change channel', async ({ page }) => { await page.getByRole('button', { name: 'Ok, got it!' }).click(); await expect(page.locator('#app')).toContainText('Alternate'); - await expect(page.locator('#app')).toContainText('1.0.3', { timeout: 10000 }); + await expect(page.locator('#app')).toContainText('v1.0.1', { timeout: 10000 }); await expect(page.locator('#app')).toContainText('Upstream Update', { timeout: 10000 }); await page.getByRole('button', { name: 'Deploy', exact: true }).click(); @@ -29,7 +29,7 @@ test('change channel', async ({ page }) => { await expect(page.locator('#app')).toContainText('Currently deployed version', { timeout: 15000 }); await expect(page.getByText('v1.0.0')).not.toBeVisible(); - await expect(page.getByText('1.0.3')).toBeVisible(); + await expect(page.getByText('v1.0.1')).toBeVisible(); }); async function changeChannel(channelId: string) {