Rayrun
← Back to videos

Jest Sequential & Parallel Execution | Playwright - Part 20

Jest Sequential & Parallel Execution

In this video tutorial, the presenter demonstrates how to run test scripts in sequential and parallel modes using the Just framework.

The video begins with a brief introduction and an overview of the two main levels of configuration in Just: the configuration file (just.config.js) and the command line interface (CLI). The presenter explains that the CLI overrides the values specified in the configuration file.

Next, the presenter shows how to configure the test script to run only specific files or folders using the 'test match' option in the configuration file. They provide an example of how to specify the root directory and filter the test files based on the file extension.

The video then covers how to run the test script in sequential mode. The presenter explains that this can be done by adding the '-i' flag in the command line interface or specifying 'runInBand' in the CLI options within the package.json file.

Finally, the presenter demonstrates how to switch from running the test script in Firefox to Chromium by modifying the configuration file.

The video concludes with a summary of the topics covered and an invitation for viewers to ask questions in the comments section.

Overall, this tutorial provides a clear explanation of how to configure and run test scripts in the Just framework, both in sequential and parallel modes. The presenter's explanations are concise and easy to follow, making it a helpful resource for those looking to work with Just.

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?
Playwright web table concept | Playwright Typescript tutorial - Part 92
Playwright web table concept | Playwright Typescript tutorial - Part 92
Playwright - Set timeout, parallelisation and retries directly in your test files
Playwright - Set timeout, parallelisation and retries directly in your test files
Playwright Base URL | Playwright Tutorial - Part 39
Playwright Base URL | Playwright Tutorial - Part 39
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 [email protected].