Skip to content

Commit

Permalink
チェックまで実装してみる
Browse files Browse the repository at this point in the history
  • Loading branch information
voluntas committed Mar 1, 2024
1 parent dc8200e commit 2fb9e50
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/messaging.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ test('messaging pages', async ({ browser }) => {
await page1.fill('input[name="message"]', 'Hello from page1')
await page1.click('#send-message')

// // page2でメッセージが受信されたことを確認
// await page2.waitForSelector('#received-messages li', { state: 'attached' })
// const receivedMessage1 = await page2.$eval('#received-messages li', (el) => el.textContent)
// page2でメッセージが受信されたことを確認
await page2.waitForSelector('#received-messages li', { state: 'attached' })
const receivedMessage1 = await page2.$eval('#received-messages li', (el) => el.textContent)

// // 受信したメッセージが期待したものであるか検証
// console.log(`Received message on page2: ${receivedMessage1}`)
Expand Down

0 comments on commit 2fb9e50

Please sign in to comment.