trincema / ui-testing-poc

Meister Test Automation Framework
0 stars 0 forks source link

[POC] Playwright (Python) TAS/TAF Proof of Concept #16

Open trincema opened 1 year ago

trincema commented 1 year ago

Meister Test Automation Solution Proof of Concept using Python with Playwright Automation Tool Tasks

trincema commented 1 year ago

Implemented the POC for the 3 layers, with Python version this time, so that manual QA can make a comparison between JavaScript/Typescript and Python syntax. Maybe they prefer one or the other, we can now choose WebdriverIO with Typescript or Playwright with Python/Typescript (well, typescript still fails for me because of some configuration, but I will probably could make it work). Please check README.md of playwright_py_benchmark project to see how to run the tests with screenshot or video enabled. You can see here the video recordings of the 2 tests cases executed: https://github.com/trincema/meister-taf/tree/main/playwright_py_benchmark/test-results

trincema commented 1 year ago

b38be25debd4463700bd3f1ded1f2401.webm

trincema commented 1 year ago

6d0be6b4141faedff0f852005d142cd1.webm

trincema commented 1 year ago

Snapshot testing: Screenshot from 2023-08-23 12-58-50 Screenshot from 2023-08-23 13-00-24 Screenshot from 2023-08-23 17-50-42

Expected: Expected_test_add_task chromium linux Actual: Actual_test_add_task chromium linux Delta: Diff_test_add_task chromium linux