From 4318149bb9e439b8b07cfbc4132503ff61f03084 Mon Sep 17 00:00:00 2001 From: 5509 Date: Thu, 31 Jul 2025 18:26:46 +0900 Subject: [PATCH 1/2] minor change commit for PR test --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 0a96f04..a13bb7b 100644 --- a/index.html +++ b/index.html @@ -3,7 +3,7 @@ - Playwrightデモ - ホーム + Playwrightデモ - HOME From aa3558ff0a41b9b18e0ea983a9ea5d0abff7e06c Mon Sep 17 00:00:00 2001 From: 5509 Date: Thu, 31 Jul 2025 18:33:40 +0900 Subject: [PATCH 2/2] Fix failing tests --- tests/basic.spec.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/basic.spec.js b/tests/basic.spec.js index 8a43bd6..bbd7fa2 100644 --- a/tests/basic.spec.js +++ b/tests/basic.spec.js @@ -2,7 +2,7 @@ const { test, expect } = require('@playwright/test'); test.describe('基本的なページ読み込みテスト', () => { const pages = [ - { name: 'ホームページ', url: '/', title: 'Playwrightデモ - ホーム' }, + { name: 'ホームページ', url: '/', title: 'Playwrightデモ - HOME' }, { name: 'Aboutページ', url: '/about.html', title: 'Playwrightデモ - About' }, { name: 'Contactページ', url: '/contact.html', title: 'Playwrightデモ - Contact' } ]; @@ -50,6 +50,6 @@ test.describe('基本的なページ読み込みテスト', () => { // ホームページへのリンクをクリック await page.click('a[href="index.html"]'); - await expect(page).toHaveTitle('Playwrightデモ - ホーム'); + await expect(page).toHaveTitle('Playwrightデモ - HOME'); }); }); \ No newline at end of file