Giter VIP home page Giter VIP logo

j-playwright's Introduction

j-playwright

This is an example of using Playwright for web UI test automation. The tests are utilizing XYZ Bank application.

Project is using Java with Playwright, Cucumber, JUnit and Allure reports.

Project architecture was somewhat influenced by Screenplay pattern (page objects provide only UI elements, Tasks are used to perform actions and get resuts from UI).

Executing the tests

To run the sample project, you can either just run the Tests test runner class, use maven from the command line or run feature/ scenario individually from e.g. IntelliJ.

By default, the tests will run using Chrome.

$ mvn clean verify

Test report will be generated under allure-results, it can be viewed by running allure serve from project root folder.

Useful links

Web pages

https://playwright.dev/java/docs/intro

https://thats-it-code.com/categories/playwright/

https://qaautomationlabs.com/page-object-model-with-playwright-with-java/

https://medium.com/@sonaldwivedi/page-object-model-with-playwright-java-c05c67cc3081

GitHub repositories

https://github.com/sonaldwivedi/Playwright

j-playwright's People

Contributors

donatas-b avatar

Watchers

 avatar  avatar

j-playwright's Issues

Manager can Sort Customer list

As a XYZ Bank Manager
I need to be able to Sort Customer list
So that I would be able to locate needed Customer faster

Manager can Search Customers

Given there is a Customer
When Manager does Search for Customer
Then Customer should appear in Customer List
And Customer List should contain 1 Customer

Browser alerts are not shown

e.g.
When Manager creates the Customer
or
When Manager opens "Dollar" Account for Customer

Then browser alert should be displayed
And alert message contains e.g. created Account Number

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.