Playwright: Update login
The login screen was recently changed, this updates the tests to reflect it.
This commit is contained in:
parent
852d24e568
commit
eafb9ea0f3
1 changed files with 1 additions and 3 deletions
|
|
@ -109,9 +109,7 @@ const loginCockpit = async (page: Page, user: string, password: string) => {
|
||||||
const loginConsole = async (page: Page, user: string, password: string) => {
|
const loginConsole = async (page: Page, user: string, password: string) => {
|
||||||
await closePopupsIfExist(page);
|
await closePopupsIfExist(page);
|
||||||
await page.goto('/insights/image-builder/landing');
|
await page.goto('/insights/image-builder/landing');
|
||||||
await page
|
await page.getByRole('textbox', { name: 'Red Hat login' }).fill(user);
|
||||||
.getByRole('textbox', { name: 'Red Hat login or email' })
|
|
||||||
.fill(user);
|
|
||||||
await page.getByRole('button', { name: 'Next' }).click();
|
await page.getByRole('button', { name: 'Next' }).click();
|
||||||
await page.getByRole('textbox', { name: 'Password' }).fill(password);
|
await page.getByRole('textbox', { name: 'Password' }).fill(password);
|
||||||
await page.getByRole('button', { name: 'Log in' }).click();
|
await page.getByRole('button', { name: 'Log in' }).click();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue