Coder Social home page Coder Social logo

josdem / playwright-workshop Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 481 KB

Playwright capabilities workshop

License: Apache License 2.0

JavaScript 0.34% HTML 99.66%
applitools github-actions javascript mocha playwright prettier allure gitactions-workflow

playwright-workshop's Introduction

Playwright Workshop

code style: prettier Playwright

This is a getting started project with Playwright

Requirements

Note: I recommed to use NVM to manage NodeJS versions

To build the project

npm install

To format the project

npx prettier --write .

To run the project

npx playwright test

To see integrated reports

npx playwright show-report

To see deployed reports

If you want to generate Allure Reports

  • Install allure command line: npm install -g allure-commandline --save-dev
  • Execute this command: allure generate && allure serve -h localhost

playwright-workshop's People

Contributors

josdem avatar

Watchers

 avatar  avatar

playwright-workshop's Issues

Add Allure custom tags

As a user, I want to add a custom tag to the Allure Report,so that I can add links to the report

Acceptance Criteria

  • I am able to see tags in Allure report.

Add custom tags

As a user, I want to add custom tags to the test cases so that I can store link a test with a GitHub issue

Acceptance Criteria

  • I am able to add a custom tag in the test
  • I can see a link in the test to the GitHub issue

Generate Allure report using Playwright

As a user I would like to generate an Allure report so that I can have another alternative for end-to-end report testing

Acceptance Criteria

  • I generate Allure report structure
  • I have a PR with the code implementation

Add prettier to format code

Todo
As a user, I want to add prettier to the project, so that I can format the code

Acceptance Criteria

  • I am able to format code using prettier command
  • I am able to see prettier command in the readme file

References
https://prettier.io/

Set testing data in a properties file

Todo
As a user, I want to read testing data from external files, so that I can avoid hardcoding those values in specs files

Acceptance Criteria

  • I am able to set URL target value in a configuration / properties file
  • I am able to import those values in specs files

Integrate Applitools

Todo
As a user, I want to add Applitools configuration to the end-to-end test cases so that I can implement visual validation.

Acceptance Criteria

  • Able to see Vetlog screenshots in Applitools dashboard
  • Add Applitools configuration and execution information

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.