Forum

Forum Navigation
You need to log in to create posts and topics.

Experimental test runner built on Microsoft Playwright

Introduction

Our test runner has been built on Puppeteer (https://github.com/puppeteer/puppeteer). As there seems to be more developer activity on Microsoft Playwright, which is very similar to Puppeteer, we have created a fork for our Boozang runner based on this.

Learn more about Playwright here: https://github.com/microsoft/playwright

Usage

The usage is very identical to the bz-docker-xvfb package.

docker run --rm -v "$(pwd):/var/boozang/" styrman/boozang-playwright --video="all" "http://staging-be.boozang.com/extension?token=9b1cef55504467b6436ab2aaffe93f925a550f087b9103ffff4074ee#5a550f087b91033bef40fff/0.0.1/m14/t2/run"

Note the novel --video flag that allows capturing of videos of the test. The values for the flag is

  • --video="none": No videos captures (default)
  • --video="failed": Captures videos for failed test cases/scenarios
  • --video="all": Captures videos for all test cases / scenarios

Build

To build the docker container from scratch clone the bz-docker-playwright repository

https://github.com/ljunggren/bz-docker-playwright

Develop

To develop your own Boozang runner based on Playwright, clone the following repository

https://github.com/ljunggren/bz-playwright

License

All the client-side runner code is licensed under the MIT License (Open Source).

 

 

 

Try Boozang today

Codeless testing that works. No credit card or commitment required.