test: has login page
This commit is contained in:
parent
0c073ea2e1
commit
728536e50b
1 changed files with 11 additions and 0 deletions
|
@ -64,3 +64,14 @@ test('register currect', async ({page, browserName}) => {
|
|||
await page.screenshot({ path: 'screenshot.png' });
|
||||
await expect(page.getByText('Your account was created, you can login now')).toBeVisible();
|
||||
})
|
||||
|
||||
test('login page exists', async ({page}) => {
|
||||
await page.goto('/web/login');
|
||||
|
||||
await expect(page.getByRole('heading', { name: 'Login'})).toBeVisible();
|
||||
await expect(page.getByRole('button', { name: 'Login' })).toBeVisible();
|
||||
})
|
||||
|
||||
test('login faild user not exists', async ({page, browserName}) => {
|
||||
|
||||
})
|
||||
|
|
Loading…
Add table
Reference in a new issue