From 879fd2672fdd3d32ae071acbdb791d26c6484d0e Mon Sep 17 00:00:00 2001 From: Derek Date: Sat, 16 Dec 2023 22:23:24 -0500 Subject: [PATCH] feat(lab): add UI tests --- .github/workflows/ui_tests.yml | 12 ++++++------ apps/laboratory/tests/shared/pages/ModalPage.ts | 3 +-- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ui_tests.yml b/.github/workflows/ui_tests.yml index 45a4c6f1fa..814b7e2f1b 100644 --- a/.github/workflows/ui_tests.yml +++ b/.github/workflows/ui_tests.yml @@ -1,15 +1,15 @@ name: UI Tests -on: - push: - branches: [ "V3" ] +on: + push: + branches: ['V3'] paths-ignore: - - "**.md" + - '**.md' pull_request: - branches: [ "V3" ] + branches: ['V3'] paths-ignore: - - "**.md" + - '**.md' concurrency: # Support push/pr as event types with different behaviors each: diff --git a/apps/laboratory/tests/shared/pages/ModalPage.ts b/apps/laboratory/tests/shared/pages/ModalPage.ts index 262eec80bf..cc72753099 100644 --- a/apps/laboratory/tests/shared/pages/ModalPage.ts +++ b/apps/laboratory/tests/shared/pages/ModalPage.ts @@ -4,8 +4,7 @@ import { LOCAL_LABS_URL } from '../constants' export class ModalPage { private readonly baseURL = LOCAL_LABS_URL - constructor(public readonly page: Page) { - } + constructor(public readonly page: Page) {} async load() { await this.page.goto(this.baseURL)