Code Monkey home page Code Monkey logo

nexoqa_training_playwright's Introduction

nexoQA training playwright

Abouts

Tab Tracker

A web application for keeping track songs

Setup

You need to have Node Js installed: https://nodejs.org/en/

You must at least have NODE version latest

To navigate the SQLite DB, you can use an application such as THIS one

Install Playwright

npm init playwright@latest

Start Server and Client

docker-compose up -d

Stope Server and Client

docker-compose down

Start only Client

docker-compose -f docker-compose-client.yaml up -d

Stop only Client

docker-compose -f docker-compose-client.yaml down

Exercises

Playwright API docs

  1. Implement the following scenarios
    • Add a new song and validate is present on the home page
    • Edit a new song and validate the changes are present on the home page
    • Search any song
      • Validate the case when the song has been created
      • Validate the case when the song has not been created
    • Implement the user registration
    • Validate the user can login into the app
    • The users can create a bookmark
    • The users can check the songs' history
  2. Create helper functions to reuse flows
    • Create command to complete the registration flow
    • Create command to complete the login flow
    • Create command to add a new song
    • Create command to edit a new song
    • Create command to search a new song
  3. Implement an interception to validate the UI without backend enabled <br>Starting only the front-end (Client), implement a router to return your own reponses to validate the UI behaviours. Implemente the following scenarios:
    • Add a new song and validate is present on the home page
    • Edit a new song and validate the changes are present on the home page
    • Implement the user registration
    • Validate the user can login into the app

nexoqa_training_playwright's People

Contributors

jojedava avatar nexoqa avatar

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.