-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #28 from TheNeoStormZ/develop
[FIX] Arreglos de tests
- Loading branch information
Showing
2 changed files
with
6 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ test('testRegister', async ({ page }) => { | |
await page.getByLabel('Correo electrónico *').fill('[email protected]'); | ||
await page.getByLabel('Contraseña *', { exact: true }).fill('test1234'); | ||
await page.getByLabel('Confirmar contraseña *').fill('test1234'); | ||
await page.getByRole('button', { name: 'Resgitrarme' }).click(); | ||
await page.getByRole('button', { name: 'Registrarme' }).click(); | ||
}); | ||
|
||
test('testRegisterNegative', async ({ page }) => { | ||
|
@@ -19,7 +19,7 @@ test('testRegisterNegative', async ({ page }) => { | |
await page.getByLabel('Correo electrónico *').fill('[email protected]'); | ||
await page.getByLabel('Contraseña *', { exact: true }).fill('test1234'); | ||
await page.getByLabel('Confirmar contraseña *').fill('test1234'); | ||
await page.getByRole('button', { name: 'Resgitrarme' }).click(); | ||
await page.getByRole('button', { name: 'Registrarme' }).click(); | ||
await expect(page.getByRole('alert')).toHaveText("Los datos son incorrectos"); | ||
}); | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters