From 1c3f2565c7b0218bc444955db4ad86cfa145483a Mon Sep 17 00:00:00 2001 From: Patrick Alvin Alcala Date: Mon, 1 Sep 2025 09:32:18 +0800 Subject: [PATCH] Updated test --- tests/index.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/index.spec.ts b/tests/index.spec.ts index ac6ef40..3f2e1c4 100644 --- a/tests/index.spec.ts +++ b/tests/index.spec.ts @@ -3,7 +3,7 @@ import { test, expect } from '@playwright/test' test('page loaded correctly', async ({ page }) => { await page.goto('http://localhost:4321') - await expect(page).toHaveTitle('Home') + await expect(page).toHaveTitle('FWT') const descriptionMeta = await page.getAttribute('meta[name="name"]', 'content') expect(descriptionMeta).toBe('Template') @@ -23,5 +23,5 @@ test('header title is visible and contains correct text', async ({ page }) => { await page.goto('http://localhost:4321') const headerTitle = await page.textContent('h1') - expect(headerTitle).toBe('Main Page') + expect(headerTitle).toBe('Fast WebApp Template') })