зеркало из https://github.com/mozilla/fxa.git
fix(functional-tests): fix test failures on train 287.1 tag
Because: * Some functional tests were failing for the tag This commit: * Add assertions in the failing tests Closes #FXA-9909
This commit is contained in:
Родитель
e30929d84c
Коммит
bb172e19bf
|
@ -79,6 +79,8 @@ test.describe('severity-1 #smoke', () => {
|
|||
`${page.url()}&forceExperiment=generalizedReactApp&forceExperimentGroup=react`
|
||||
);
|
||||
|
||||
await expect(page).toHaveURL(/oauth\/signin/);
|
||||
await expect(page.locator('#root')).toBeEnabled();
|
||||
await expect(signin.cachedSigninHeading).toBeVisible();
|
||||
// Email is prefilled
|
||||
await expect(page.getByText(credentials.email)).toBeVisible();
|
||||
|
|
|
@ -82,6 +82,7 @@ test.describe('severity-1 #smoke', () => {
|
|||
await settings.signOut();
|
||||
|
||||
// Sign in with old password
|
||||
await expect(signin.emailFirstHeading).toBeVisible();
|
||||
await signin.fillOutEmailFirstForm(newEmail);
|
||||
await signin.fillOutPasswordForm(initialPassword);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче