Skip to content

Commit

Permalink
chore: Update login.spec.ts to use a static password for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
noriega2112 committed Aug 15, 2024
1 parent b0cd032 commit f188ac1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ test('Login workflow', async ({ page }) => {

await page.goto('/login')
await page.getByPlaceholder('Enter email...').fill('playwright@thinknimble.com')
await page.getByPlaceholder('Enter password...').fill(process.env.PLAYWRIGHT_TEST_USER_PASS ?? '')
await page.getByPlaceholder('Enter password...').fill('test1234')
await page.getByRole('button', { name: 'Log in' }).click()

await expect(page.getByRole('heading', { name: 'Dashboard' })).toBeVisible()
Expand Down

0 comments on commit f188ac1

Please sign in to comment.