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 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