[Feature] More intuitive setup and installation of Playwright
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 30/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Da chiarire
- Stato di attività
- Tranquilla
- Stack tecnologico
- csharp, powershell
- Ambito
- build-system, testing-qa, tooling
Direzione di ricerca
Inizia esaminando la configurazione del pacchetto NuGet, il file di progetto MSBuild e lo script generato bin/.../playwright.ps1 menzionato nell’issue. Confronta il MSBuild target proposto, i comandi dotnet playwright init/update e i template NUnit, MsTest e xUnit; l’ambito è completo quando sono stati definiti un approccio di installazione concordato e i requisiti dei template.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
I'm a fan of PowerShell, but I think having to add Microsoft.Playwright.NUnit or a similar package, then build your project, then execute a PowerShell script that you can find in the bin/something...something/playwright.ps1 is not the ideal experience or the experience .NET developers expect. It works great tho!
I was hoping the Playwright setup experience could be more in line with what we expect as .NET developers.
I'm not an expert on MSBuild and still new to Playwright, so call me out if I'm off base!
When installing any Playwright NuGet package, I'd expect the installation to modify the MSBuild project file, and the MSBuild project file would setup all of Playwright the first time.
I'm not sure if Playwright updates its dependencies automatically over time, but if it did, I'd expect that to be checked for and updated during build. This could also be a standalone MSBuild target.
Alternatively, I think Playwright may also be a good fit for a global tool, or a local tool like the ef core tool.
Then inside the project, you may be able to run dotnet playwright init or dotnet playwright update.
Based on the NuGet package and MSBuild target described above, I'd expect there to be additional .NET templates for NUnit, MsTest, and xUnit. These templates would be the most intuitive ways to get started with Playwright and also to be reused for .NET IDEs like Visual Studio, VS Code, and Rider.
- Lingua principale
- C#
- Stelle
- 3k
- Fork
- 307
- Merge medio
- 1g 13h
- PR unite (30g)
- 21
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di microsoft/playwright-dotnet
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
microsoft/playwright-dotnet#3432 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
microsoft/playwright-dotnet#3426 ·
I maintainer di solito rispondono entro 1 giorno
-
[Bug]: PlaywrightSettingsProvider.LaunchOptions returns and mutates the shared runsettings objectAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
microsoft/playwright-dotnet#3425 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
microsoft/playwright-dotnet#3448 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
microsoft/playwright-dotnet#3447 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di microsoft/playwright-dotnet
Issue simili
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 90/100
ShareX/XerahS#316 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
SubtitleEdit/subtitleedit#16825 ·
I maintainer di solito rispondono entro 1 giorno
-
ci-flake kind:tests size:S type:bug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 82/100
elsa-workflows/elsa-foundation#4058 · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
games-on-whales/wolf-ui#23 ·
-
SkillsApertawayfinder:grilling
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
DigiBanks99/lopen#37 ·