Refactor test files to use consistent formatting

This commit is contained in:
Simon Larsen 2024-04-26 18:46:22 +01:00
parent 818f8cc421
commit a0ef85b8cd
No known key found for this signature in database
GPG Key ID: AB45983AA9C81CDE
2 changed files with 6 additions and 2 deletions

View File

@ -8,7 +8,7 @@ import {
import URL from 'Common/Types/API/URL';
test.describe('Login', () => {
test('should be able to login', async ({ page }: {page: Page}) => {
test('should be able to login', async ({ page }: { page: Page }) => {
if (!IS_USER_REGISTERED) {
// pass this test if the user is not registered
return;

View File

@ -3,7 +3,11 @@ import { STATUS_PAGE_URL } from '../../Config';
import URL from 'Common/Types/API/URL';
test.describe('Basic Status Page', () => {
test('should be able to load status page properly', async ({ page }: {page: Page}) => {
test('should be able to load status page properly', async ({
page,
}: {
page: Page;
}) => {
if (!STATUS_PAGE_URL) {
// pass this test if the user is not registered
return;