From 5ce42e81ba5e8686078721d4650dd9b0b191919d Mon Sep 17 00:00:00 2001 From: voluntas Date: Sun, 17 Mar 2024 21:37:49 +0900 Subject: [PATCH] =?UTF-8?q?messaging=20=E3=81=AE=20e2e=20test=20=E4=B8=80?= =?UTF-8?q?=E9=83=A8=E6=9C=89=E5=8A=B9=E3=81=AB=E3=81=97=E3=81=A6=E3=81=BF?= =?UTF-8?q?=E3=82=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- examples/e2ee/main.mts | 2 +- examples/messaging/main.mts | 2 +- playwright.config.ts | 2 ++ tests/messaging.spec.ts | 2 +- 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/examples/e2ee/main.mts b/examples/e2ee/main.mts index 40aaabf8..3452a92f 100644 --- a/examples/e2ee/main.mts +++ b/examples/e2ee/main.mts @@ -1,7 +1,7 @@ import Sora, { type SoraConnection, type SignalingNotifyMessage, - ConnectionPublisher, + type ConnectionPublisher, } from '../../dist/sora' document.addEventListener('DOMContentLoaded', async () => { diff --git a/examples/messaging/main.mts b/examples/messaging/main.mts index 8156283a..e7b82547 100644 --- a/examples/messaging/main.mts +++ b/examples/messaging/main.mts @@ -2,7 +2,7 @@ import Sora, { type SoraConnection, type ConnectionSubscriber, type SignalingNotifyMessage, - DataChannelMessageEvent, + type DataChannelMessageEvent, } from '../../dist/sora' document.addEventListener('DOMContentLoaded', async () => { diff --git a/playwright.config.ts b/playwright.config.ts index 3da60f3d..a258b76f 100644 --- a/playwright.config.ts +++ b/playwright.config.ts @@ -1,5 +1,7 @@ import { defineConfig, devices } from '@playwright/test' +// pnpm exec playwright test --ui + export default defineConfig({ testDir: 'tests', // fullyParallel: true, diff --git a/tests/messaging.spec.ts b/tests/messaging.spec.ts index db1e9876..dfffd781 100644 --- a/tests/messaging.spec.ts +++ b/tests/messaging.spec.ts @@ -1,6 +1,6 @@ import { test } from '@playwright/test' -test.skip('messaging pages', async ({ browser }) => { +test('messaging pages', async ({ browser }) => { // 新しいページを2つ作成 const page1 = await browser.newPage() const page2 = await browser.newPage()