Skip to content

Frijlink/PlaywrightCsharp

Repository files navigation

Playwright in C#

Tools used

Prerequisites

You need Visual Studio or Visual Studio Code with the C# extension and PowerShell

How do I get set up?

Build the project in your IDE or in the terminal using dotnet build PlaywrightCsharp.csproj.

Install Playwright with pwsh bin/Debug/net8.0/playwright.ps1 install.

Create a .env-file with the following values

RETRIES=0
TRELLO_BASE_URL="http://trello.com"
TRELLO_USERNAME="***"
TRELLO_PASSWORD="***"
TRELLO_API_URL="https://api.trello.com"
TRELLO_API_KEY="***"
TRELLO_API_TOKEN="***"

How to run the tests

  • Run all the tests with dotnet test --settings:.runsettings
  • Run a single test with dotnet test --settings:.runsettings --filter "MyClassName"
  • Run a single category with dotnet test --settings:.runsettings --filter TestCategory=MyCategory

TODO:

  • get rid of unnecassary casting?
  • Screenshot on save
  • HTML report (or trx)

About

Playwright Proof of Concept, Create Trello board through UI and API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages