Skip to content

akshat55narang/playwright-conduit

Folders and files

NameName
Last commit message
Last commit date
Mar 9, 2023
Mar 12, 2023
Mar 17, 2023
May 6, 2023
May 6, 2023
Oct 20, 2022
Mar 17, 2023
May 6, 2023
Feb 27, 2023
Mar 8, 2023
Oct 20, 2022
Feb 27, 2023
Mar 4, 2023
Mar 8, 2023
Mar 8, 2023

Repository files navigation

playwright-conduit

Test automation of Demo Real World app using playwright in typescript.

Tools Used

  1. Programming Language - TypeScript
  2. Automation tool - Playwright

Information

  • constants Contains files with constants like API base paths and routes.
  • pageFixtures.ts - Encapsulated setup and teardown using Playwright fixtures.
  • locators - Contains locators / selectors. Can be imported into any file and reused.
  • pages - Contains all the page objects. BasePage.ts contains wrappers and helper methods around Playwright's page fixtures. All these methods are used by all extending page objects.
  • rest - Contains methods to make API calls for setup and teardown in UI tests. BaseApi.ts - Provides base request which sets up request context like baseUrl, etc. which can be used by all extending classes to make API calls promoting re-usability.
  • tests - contains all the tests.

How to Run:

  • Download this project on your local machine using:

    git clone https://github.com/akshat55narang/playwright-conduit.git

  • cd to playwright-conduit folder
  • Run npm install to install all dependencies
  • Run npx playwright install - to install all the browsers.
  • Run tests
    • npm run test
  • View reports
    • npm run show-reports

Test Artifact Location

Releases

No releases published

Packages

No packages published