Giter Site home page Giter Site logo

playwright-ts-poc's Introduction


POC Playwright for API application


Summary


About Project

In this POC we will work in a mocked API application free for personal test reqres using playwright framework to do this tests. In this test we use these verbs (GET, POST, PUT and Delete) to validate Http status and some payload texts. In the playwright.config we use baseURL to define a default URL and in the tests, we use the endpoints for the tests.


Configuration

Install

Clone the project

https://github.com/vitorc/playwright-ts-poc.git

Access path playwright-ts-poc:

cd ../playwright-ts-poc

Playwright install:

npx playwright install

Dependencies install:

npm install


How to Test:

Testing Locally:

npm run test

Testing using Docker:

Install docker

Run the command below to build and start the Docker: docker-compose up --build


License

License

playwright-ts-poc's People

Contributors

vitorc avatar

Stargazers

Carlos Henrique  avatar

Watchers

 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.