fix: multiple minor fixes (#1154)

This commit is contained in:
Jonas Plum
2025-09-21 14:08:28 +02:00
committed by GitHub
parent 9da90e7cc8
commit 4d844c567c
5 changed files with 20 additions and 5 deletions

View File

@@ -19,9 +19,9 @@ export const test = baseTest.extend({
export const login = async (page, admin: boolean = true) => {
await page.goto('login')
if (admin) {
await page.getByPlaceholder('Username').fill('admin@catalyst-soar.com')
await page.getByPlaceholder('Email').fill('admin@catalyst-soar.com')
} else {
await page.getByPlaceholder('Username').fill('user@catalyst-soar.com')
await page.getByPlaceholder('Email').fill('user@catalyst-soar.com')
}
await page.getByPlaceholder('Password').fill('1234567890')
await page.getByRole('button', { name: 'Login' }).click()