Rayrun
ā† Back to videos

Playwright.config.js | In-Depth Tutorial | How to Run Test Cases with Tags and Grep

In this comprehensive tutorial, we dive deep into configuring the `playwright.config.js` file to efficiently run test cases using tags and the powerful `grep` functionality. šŸš€

In this video, the speaker discusses the contents of the playright config.js file. They begin by introducing playright as a test automation framework. The playright config.js file is autogenerated when running npm unit playright. The file contains various properties and options that can be customized.

The speaker goes on to explain the different properties in the config.js file, such as the test directory, test match, retry option, workers, reporters, tress, and projects. They provide examples and demonstrate how to use these properties effectively.

Additionally, the speaker shows how to use tags in the config.js file to selectively run specific test cases based on their tags. They also explain how to use the graph and graph Invert options to control which tests are run.

Overall, the video provides a comprehensive overview of the contents of the playright config.js file and how to customize it to suit specific testing needs.

Related Videos

#16 - ARIA and how Playwright is making use of it to identify UI controls?
#16 - ARIA and how Playwright is making use of it to identify UI controls?
Create feature, steps & config | Playwright & Cucumber - Typescript | Part 1
Create feature, steps & config | Playwright & Cucumber - Typescript | Part 1
Working with multiple elements in Playwright Test (NodeJS)
Working with multiple elements in Playwright Test (NodeJS)
Playwright Framework #3 | Multiple ENV with different locators | Playwright Tutorial - Part 82
Playwright Framework #3 | Multiple ENV with different locators | Playwright Tutorial - Part 82
TwitterGitHubLinkedIn
AboutQuestionsDiscord ForumBrowser ExtensionTagsQA Jobs

Rayrun is a community for QA engineers. I am constantly looking for new ways to add value to people learning Playwright and other browser automation frameworks. If you have feedback, email luc@ray.run.