docs: fix spellcheck errors

This commit is contained in:
Stefan Rotsch
2023-02-22 16:28:50 +01:00
committed by Bastian
parent dbfba107c7
commit 77d0806181
25 changed files with 141 additions and 118 deletions

View File

@@ -1,15 +1,24 @@
---
title: "Playwright"
ring: trial
quadrant: "languages-and-frameworks"
tags: [coding, frontend, quality assurance]
title: "Playwright"
ring: trial
quadrant: "languages-and-frameworks"
tags: [coding, frontend, quality assurance]
---
Playwright is a cross browser/platform/language tool to write reliable end-to-end tests. It's easy to get started with and offers a broad variety of functionalities out of the box. Playwright supports Windows, MacOs and Linux and works with the most popular testing frameworks such as Jest, Mocha and Jasmine.
The playwright configuration offers plenty of helpful options, for instance native mobile emulation of Chrome for Android and Safari for iOS. If needed playwright can be extended by BDD tools like Cucumber or SpecFlow to enable non-technical contributors to collaborate.
[Playwright](https://playwright.dev) is a cross browser/platform/language tool to write reliable end-to-end tests. It's
easy to get started with and offers a broad variety of functionalities out of the box. Playwright supports Windows,
macOS and Linux and works with the most popular testing frameworks such as Jest, Mocha and Jasmine.
The playwright configuration offers plenty of helpful options, for instance native mobile emulation of Chrome for
Android and Safari for iOS. If needed playwright can be extended by BDD tools like Cucumber or SpecFlow to enable
non-technical contributors to collaborate.
Playwright test are resilient. It waits for elements before performing any actions which eliminates the need for timeouts - the primary cause of flaky tests.
Playwright test are resilient. It waits for elements before performing any actions which eliminates the need for
timeouts - the primary cause of flaky tests.
Other than Cypress Playwright can interact with different origins and multiple tabs. Also you can create scenarios with different contexts to handle multiple users within one test. Contexts allow saving an authentication state to reuse it in other tests. By isolating tests within a seperate browser context for each test, the tests are fully independent, although reusing an authentication state. This prevents you from performing repetitive log-in operations in each test.
Other than Cypress Playwright can interact with different origins and multiple tabs. Also, you can create scenarios with
different contexts to handle multiple users within one test. Contexts allow saving an authentication state to reuse it
in other tests. By isolating tests within a separate browser context for each test, the tests are fully independent,
although reusing an authentication state. This prevents you from performing repetitive log-in operations in each test.
As Playwright is developed and maintained by Microsoft there are some great extensions for Visual Studio Code to develop, run and debug tests.
As Playwright is developed and maintained by Microsoft there are some great extensions for Visual Studio Code to
develop, run and debug tests.