From a0ef85b8cd8204bac22d1a8d26cc9da649ab1bf8 Mon Sep 17 00:00:00 2001 From: Simon Larsen Date: Fri, 26 Apr 2024 18:46:22 +0100 Subject: [PATCH] Refactor test files to use consistent formatting --- E2E/Tests/Accounts/Login.spec.ts | 2 +- E2E/Tests/StatusPage/Basic.spec.ts | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/E2E/Tests/Accounts/Login.spec.ts b/E2E/Tests/Accounts/Login.spec.ts index 87242049f3..2f1864c80e 100644 --- a/E2E/Tests/Accounts/Login.spec.ts +++ b/E2E/Tests/Accounts/Login.spec.ts @@ -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; diff --git a/E2E/Tests/StatusPage/Basic.spec.ts b/E2E/Tests/StatusPage/Basic.spec.ts index f106dda9b7..eb795ee95f 100644 --- a/E2E/Tests/StatusPage/Basic.spec.ts +++ b/E2E/Tests/StatusPage/Basic.spec.ts @@ -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;