A VS Code extension for running Playwright & Cucumber tests effortlessly.
Installation
Install the extension from the Visual Studio Code Marketplace by searching for "Playwright Runner by Koushik" and clicking "Install".
Setting Up Environments
- Open your user settings (File > Preferences > Settings).
- Navigate to the extension settings under "Playwright Runner by Koushik".
- Define your test environments and configurations (development, staging, production).
- Define your Cucumber test commands with different environment names.
- Access the environment selector from the "Playwright Runner by Koushik" view in the Activity Bar.
- View and select different environments from the tree view.
- Set the default environment for running tests.
- Add additional command with
${command}
:
"ENV_NAME": "TEST_ENV=stagingNational ${--config=play.config.ts --headed}"
Install the extension, configure your environments, and start running Playwright tests with ease!
Refer to the change log section for updates.