mirror of
https://github.com/SecurityBrewery/catalyst.git
synced 2026-11-16 02:59:47 +01:00
fix: multiple minor fixes (#1154)
This commit is contained in:
1 parent
9da90e7cc8
commit
4d844c567c
5 files changed
+20
-5
No files matched your search
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user