test: add tests for executions

This commit is contained in:
Jakub P.
2024-12-10 21:03:23 +01:00
parent dba263d7b5
commit 400a45051f
10 changed files with 367 additions and 45 deletions

View File

@@ -2,11 +2,14 @@ const { publicTest: setup, expect } = require('../../fixtures/index');
setup.describe.serial('Admin setup page', () => {
// eslint-disable-next-line no-unused-vars
setup('should not be able to login if admin is not created', async ({ page, adminSetupPage, loginPage }) => {
await expect(async () => {
await expect(await page.url()).toContain(adminSetupPage.path);
}).toPass();
});
setup(
'should not be able to login if admin is not created',
async ({ page, adminSetupPage }) => {
await expect(async () => {
await expect(await page.url()).toContain(adminSetupPage.path);
}).toPass();
}
);
setup('should validate the inputs', async ({ adminSetupPage }) => {
await adminSetupPage.open();