Skip to content

Commit

Permalink
Fix enterprise playwright
Browse files Browse the repository at this point in the history
  • Loading branch information
jmthomas committed Dec 11, 2023
1 parent a3a852c commit b3ea605
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions playwright/tests/global.setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ setup('global setup', async ({ page }) => {
await page.getByLabel('Password').fill('operator')
await page.getByRole('button', { name: 'Sign In' }).click()
await page.waitForURL('**/tools/cmdtlmserver')
await expect(page.getByText('COSMOS CmdTlmServer')).toBeVisible()
await expect(page.getByText('CmdTlmServer')).toBeVisible()
// Save signed-in state to 'storageState.json'.
await page.context().storageState({ path: STORAGE_STATE })

Expand All @@ -41,7 +41,7 @@ setup('global setup', async ({ page }) => {
await page.getByLabel('Password').fill('admin')
await page.getByRole('button', { name: 'Sign In' }).click()
await page.waitForURL('**/tools/cmdtlmserver')
await expect(page.getByText('COSMOS CmdTlmServer')).toBeVisible()
await expect(page.getByText('CmdTlmServer')).toBeVisible()
// Save signed-in state to 'adminStorageState.json'.
await page.context().storageState({ path: ADMIN_STORAGE_STATE })
} else {
Expand Down

0 comments on commit b3ea605

Please sign in to comment.