Skip to content

Commit

Permalink
fix: fixed e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikBjare committed Nov 14, 2023
1 parent 4eefe9d commit bbe9744
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions e2e/vue.spec.ts
Original file line number Diff line number Diff line change
@@ -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");
});
2 changes: 1 addition & 1 deletion src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import MenuBar from "./components/MenuBar.vue";
<template>
<div class="container mx-auto">
<header class="text-center p-4">
<h1 class="text-2xl font-bold">ActivityWatch Portal</h1>
<h1 class="text-2xl font-bold">ActivityWatch</h1>
<MenuBar />
</header>
<main>
Expand Down

0 comments on commit bbe9744

Please sign in to comment.