From 6a3182a77daaa0c6054fae33607867ad73981ece Mon Sep 17 00:00:00 2001 From: Salah Aldeen Al Saleh Date: Tue, 23 Apr 2024 13:38:59 -0700 Subject: [PATCH] reload --- e2e/playwright/tests/smoke-test/test.spec.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/e2e/playwright/tests/smoke-test/test.spec.ts b/e2e/playwright/tests/smoke-test/test.spec.ts index cda5d5e687..8ddaf5d5ca 100644 --- a/e2e/playwright/tests/smoke-test/test.spec.ts +++ b/e2e/playwright/tests/smoke-test/test.spec.ts @@ -39,12 +39,11 @@ test('smoke test', async ({ page }) => { await page.locator('.replicated-select__option').getByText('Weekly', { exact: true }).click(); await expect(page.locator('.ConfigureUpdatesModal')).toContainText('Weekly'); await expect(page.locator('.ConfigureUpdatesModal')).toContainText('At 12:00 AM, only on Sunday'); - await page.getByLabel('Enable automatic deployment').check(); await page.getByRole('button', { name: 'Update', exact: true }).click(); await expect(page.getByText('Automatically check for updates', { exact: true })).not.toBeVisible(); - await page.waitForTimeout(2000); await page.locator('span[data-tip="View deploy logs"]').first().click(); await validateDeployLogs(page, expect); + await page.reload(); await page.getByRole('link', { name: 'Dashboard' }).click(); await expect(page.getByText('App Name')).toBeVisible(); await expect(page.locator('.Dashboard--appIcon')).toBeVisible();