[Bug]: Playwright MSTest.Sdk Uses MSTest Runner, Ignoring runsettings Configuration / Microsoft.Testing.Platform
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 42/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 静か
- 技術スタック
- csharp
- 領域
- testing-qa
調査の方向性
記載されている .csproj および runsettings 構成を使用して、Playwright 1.50.0、MSTest.Sdk 3.8.1、net8.0 で問題を再現します。true の有無による動作を比較し、その後、各 runner で Playwright 固有の設定がどのように読み込まれるかを追跡します。完了条件は、BrowserName、ExpectedTimeout、Headless、Channel が MSTest と VSTest で一貫して適用されることです。
索引モデルが issue の本文から書いたものです。
説明
Version
1.50.0
Steps to reproduce
When using Playwright version 1.50.0 with MSTest.Sdk version 3.8.1, the MSTest runner is used instead of the expected VSTest runner. As a result, the Playwright configuration section in the runsettings file is ignored. Key settings such as BrowserName, ExpectedTimeout, Headless, and Channel do not work.
However, when <UseVSTest>true</UseVSTest> is explicitly set in the .csproj file, and the VSTest runner is used, the Playwright settings in the runsettings file work as expected.
Expected behavior
- Playwright should respect the
runsettingsfile when running tests with MSTest.Sdk. - Playwright-specific settings such as
BrowserName,ExpectedTimeout,Headless, andChannelshould be applied correctly, regardless of whether MSTest or VSTest is used.
Actual behavior
- With MSTest runner, the Playwright settings in
runsettingsare ignored. - With VSTest runner (
<UseVSTest>true</UseVSTest>), the settings work as expected.
Additional context
This issue suggests that MSTest.Sdk is defaulting to the MSTest runner instead of the VSTest runner, which does not properly load the Playwright settings from runsettings. It would be helpful if Playwright could support runsettings consistently across different test runners.
Would appreciate any insights or fixes on this issue. Thanks!
Environment
- Playwright Version: 1.50.0
- MSTest.Sdk Version: 3.8.1
- .NET Version: net8.0
- 主要言語
- C#
- スター
- 3k
- フォーク
- 307
- 平均マージ
- 1日 14時間
- マージ済み PR(30日)
- 32
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
microsoft/playwright-dotnet のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
microsoft/playwright-dotnet#3432 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
microsoft/playwright-dotnet#3426 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
microsoft/playwright-dotnet#3446 ·
メンテナーはふだん 1 日以内に返信
-
[Epic-Ideas-from-Alex] Playwright Test parity for .NET: one roadmap for the test-runner featuresオープン
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
microsoft/playwright-dotnet#3444 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
microsoft/playwright-dotnet#3443 ·
メンテナーはふだん 1 日以内に返信
microsoft/playwright-dotnet の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
criticalmanufacturing/cli#909 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
RadicalCSG/com.chisel#312 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
eyalgolan/statecraft-israel#3093 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 63/100
DeveloperAcademy-POSTECH/2026-C6-M10-MUSA#677 ·
メンテナーはふだん 1 日以内に返信
-
REQ-13 : une demande En cours perd son responsable par un simple enregistrement, et reste En coursオープンa-corriger bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
christian-raj/S-Aloha#301 ·