From bbe974406a2e040baa7843f4c20a3ce179b48f03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Erik=20Bj=C3=A4reholt?= Date: Tue, 14 Nov 2023 09:57:56 +0100 Subject: [PATCH] fix: fixed e2e tests --- e2e/vue.spec.ts | 10 +++++----- src/App.vue | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/e2e/vue.spec.ts b/e2e/vue.spec.ts index 3e5a3d0..47c1225 100644 --- a/e2e/vue.spec.ts +++ b/e2e/vue.spec.ts @@ -1,8 +1,8 @@ -import { test, expect } from '@playwright/test'; +import { test, expect } from "@playwright/test"; // See here how to get started: // https://playwright.dev/docs/intro -test('visits the app root url', async ({ page }) => { - await page.goto('/'); - await expect(page.locator('div.greetings > h1')).toHaveText('You did it!'); -}) +test("visits the app root url", async ({ page }) => { + await page.goto("/"); + await expect(page.locator("h1")).toHaveText("ActivityWatch"); +}); diff --git a/src/App.vue b/src/App.vue index f4ba5ca..dad2856 100644 --- a/src/App.vue +++ b/src/App.vue @@ -6,7 +6,7 @@ import MenuBar from "./components/MenuBar.vue";