├── .env ├── .eslintignore ├── .eslintrc.json ├── .github └── workflows │ └── node.js.yml ├── .gitignore ├── README.md ├── docs ├── _config.yml └── index.md ├── package.json ├── playwright.config.ts ├── src ├── API │ ├── REST │ │ ├── constants │ │ │ └── RESTConstants.ts │ │ └── steps │ │ │ └── UserSteps.ts │ └── SOAP │ │ ├── constants │ │ └── SOAPConstants.ts │ │ └── steps │ │ └── AccountServiceSteps.ts ├── advantage │ ├── constants │ │ ├── CommonConstants.ts │ │ ├── ConfigurationConstants.ts │ │ ├── HomePageConstants.ts │ │ └── RegistrationPageConstants.ts │ ├── pages │ │ ├── ConfigurationPage.ts │ │ ├── HomePage.ts │ │ └── RegistrationPage.ts │ └── steps │ │ ├── ConfigurationSteps.ts │ │ ├── HomeSteps.ts │ │ └── RegistrationSteps.ts ├── database │ ├── constants │ │ └── DatabaseConstants.ts │ └── steps │ │ └── DatabaseStep.ts ├── framework │ ├── config │ │ └── base-test.ts │ ├── constants │ │ ├── BrowserConstants.ts │ │ ├── CommonConstants.ts │ │ ├── DBConstants.ts │ │ ├── ExcelConstants.ts │ │ └── HTMLConstants.ts │ ├── logger │ │ ├── Logger.ts │ │ └── TestListener.ts │ ├── manager │ │ ├── Browser.ts │ │ └── SuiteManager.ts │ ├── playwright │ │ ├── API │ │ │ ├── APIActions.ts │ │ │ ├── RESTRequest.ts │ │ │ ├── RESTResponse.ts │ │ │ ├── RequestHeader.ts │ │ │ ├── SOAPRequest.ts │ │ │ └── SOAPResponse.ts │ │ ├── actions │ │ │ ├── AlertActions.ts │ │ │ ├── CheckBoxActions.ts │ │ │ ├── DropDownActions.ts │ │ │ ├── EditBoxActions.ts │ │ │ ├── UIActions.ts │ │ │ └── UIElementActions.ts │ │ └── asserts │ │ │ └── Assert.ts │ ├── reporter │ │ ├── Allure.ts │ │ └── HTMLReporter.ts │ ├── template │ │ └── SuiteTemplate.ts │ └── utils │ │ ├── CLIUtil.ts │ │ ├── DBUtil.ts │ │ ├── DateUtil.ts │ │ ├── ExcelUtil.ts │ │ ├── ImageComparator.ts │ │ ├── PDFUtil.ts │ │ ├── StringUtil.ts │ │ └── XMLParserUtil.ts ├── resources │ ├── API │ │ ├── REST │ │ │ ├── ADD_USER.json │ │ │ ├── LOGIN.json │ │ │ └── UPDATE_USER.json │ │ └── SOAP │ │ │ ├── AccountCreateRequest.xml │ │ │ ├── AccountLoginRequest.xml │ │ │ ├── AccountLogoutRequest.xml │ │ │ └── CountrySearchRequest.xml │ ├── data │ │ └── testData.xlsx │ └── pdf │ │ └── baseline.pdf └── tests │ ├── ContactUsTest.spec.ts │ ├── CreateAccountTest.spec.ts │ ├── DatabaseTest.spec.ts │ ├── DownloadTest.spec.ts │ ├── ImageCompareTest.spec.ts │ ├── LoginTest.spec.ts │ ├── RESTUserTest.spec.ts │ └── SOAPAccountServiceTest.spec.ts └── tsconfig.json /.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VinayKumarBM/playwright-sample-project/HEAD/.env -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VinayKumarBM/playwright-sample-project/HEAD/.eslintignore -------------------------------------------------------------------------------- /.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VinayKumarBM/playwright-sample-project/HEAD/.eslintrc.json -------------------------------------------------------------------------------- /.github/workflows/node.js.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VinayKumarBM/playwright-sample-project/HEAD/.github/workflows/node.js.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VinayKumarBM/playwright-sample-project/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VinayKumarBM/playwright-sample-project/HEAD/README.md -------------------------------------------------------------------------------- /docs/_config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VinayKumarBM/playwright-sample-project/HEAD/docs/_config.yml -------------------------------------------------------------------------------- /docs/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VinayKumarBM/playwright-sample-project/HEAD/docs/index.md -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VinayKumarBM/playwright-sample-project/HEAD/package.json -------------------------------------------------------------------------------- /playwright.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VinayKumarBM/playwright-sample-project/HEAD/playwright.config.ts -------------------------------------------------------------------------------- /src/API/REST/constants/RESTConstants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VinayKumarBM/playwright-sample-project/HEAD/src/API/REST/constants/RESTConstants.ts -------------------------------------------------------------------------------- /src/API/REST/steps/UserSteps.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VinayKumarBM/playwright-sample-project/HEAD/src/API/REST/steps/UserSteps.ts -------------------------------------------------------------------------------- /src/API/SOAP/constants/SOAPConstants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VinayKumarBM/playwright-sample-project/HEAD/src/API/SOAP/constants/SOAPConstants.ts -------------------------------------------------------------------------------- /src/API/SOAP/steps/AccountServiceSteps.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VinayKumarBM/playwright-sample-project/HEAD/src/API/SOAP/steps/AccountServiceSteps.ts -------------------------------------------------------------------------------- /src/advantage/constants/CommonConstants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VinayKumarBM/playwright-sample-project/HEAD/src/advantage/constants/CommonConstants.ts -------------------------------------------------------------------------------- /src/advantage/constants/ConfigurationConstants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VinayKumarBM/playwright-sample-project/HEAD/src/advantage/constants/ConfigurationConstants.ts -------------------------------------------------------------------------------- /src/advantage/constants/HomePageConstants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VinayKumarBM/playwright-sample-project/HEAD/src/advantage/constants/HomePageConstants.ts -------------------------------------------------------------------------------- /src/advantage/constants/RegistrationPageConstants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VinayKumarBM/playwright-sample-project/HEAD/src/advantage/constants/RegistrationPageConstants.ts -------------------------------------------------------------------------------- /src/advantage/pages/ConfigurationPage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VinayKumarBM/playwright-sample-project/HEAD/src/advantage/pages/ConfigurationPage.ts -------------------------------------------------------------------------------- /src/advantage/pages/HomePage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VinayKumarBM/playwright-sample-project/HEAD/src/advantage/pages/HomePage.ts -------------------------------------------------------------------------------- /src/advantage/pages/RegistrationPage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VinayKumarBM/playwright-sample-project/HEAD/src/advantage/pages/RegistrationPage.ts -------------------------------------------------------------------------------- /src/advantage/steps/ConfigurationSteps.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VinayKumarBM/playwright-sample-project/HEAD/src/advantage/steps/ConfigurationSteps.ts -------------------------------------------------------------------------------- /src/advantage/steps/HomeSteps.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VinayKumarBM/playwright-sample-project/HEAD/src/advantage/steps/HomeSteps.ts -------------------------------------------------------------------------------- /src/advantage/steps/RegistrationSteps.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VinayKumarBM/playwright-sample-project/HEAD/src/advantage/steps/RegistrationSteps.ts -------------------------------------------------------------------------------- /src/database/constants/DatabaseConstants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VinayKumarBM/playwright-sample-project/HEAD/src/database/constants/DatabaseConstants.ts -------------------------------------------------------------------------------- /src/database/steps/DatabaseStep.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VinayKumarBM/playwright-sample-project/HEAD/src/database/steps/DatabaseStep.ts -------------------------------------------------------------------------------- /src/framework/config/base-test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VinayKumarBM/playwright-sample-project/HEAD/src/framework/config/base-test.ts -------------------------------------------------------------------------------- /src/framework/constants/BrowserConstants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VinayKumarBM/playwright-sample-project/HEAD/src/framework/constants/BrowserConstants.ts -------------------------------------------------------------------------------- /src/framework/constants/CommonConstants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VinayKumarBM/playwright-sample-project/HEAD/src/framework/constants/CommonConstants.ts -------------------------------------------------------------------------------- /src/framework/constants/DBConstants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VinayKumarBM/playwright-sample-project/HEAD/src/framework/constants/DBConstants.ts -------------------------------------------------------------------------------- /src/framework/constants/ExcelConstants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VinayKumarBM/playwright-sample-project/HEAD/src/framework/constants/ExcelConstants.ts -------------------------------------------------------------------------------- /src/framework/constants/HTMLConstants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VinayKumarBM/playwright-sample-project/HEAD/src/framework/constants/HTMLConstants.ts -------------------------------------------------------------------------------- /src/framework/logger/Logger.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VinayKumarBM/playwright-sample-project/HEAD/src/framework/logger/Logger.ts -------------------------------------------------------------------------------- /src/framework/logger/TestListener.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VinayKumarBM/playwright-sample-project/HEAD/src/framework/logger/TestListener.ts -------------------------------------------------------------------------------- /src/framework/manager/Browser.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VinayKumarBM/playwright-sample-project/HEAD/src/framework/manager/Browser.ts -------------------------------------------------------------------------------- /src/framework/manager/SuiteManager.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VinayKumarBM/playwright-sample-project/HEAD/src/framework/manager/SuiteManager.ts -------------------------------------------------------------------------------- /src/framework/playwright/API/APIActions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VinayKumarBM/playwright-sample-project/HEAD/src/framework/playwright/API/APIActions.ts -------------------------------------------------------------------------------- /src/framework/playwright/API/RESTRequest.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VinayKumarBM/playwright-sample-project/HEAD/src/framework/playwright/API/RESTRequest.ts -------------------------------------------------------------------------------- /src/framework/playwright/API/RESTResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VinayKumarBM/playwright-sample-project/HEAD/src/framework/playwright/API/RESTResponse.ts -------------------------------------------------------------------------------- /src/framework/playwright/API/RequestHeader.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VinayKumarBM/playwright-sample-project/HEAD/src/framework/playwright/API/RequestHeader.ts -------------------------------------------------------------------------------- /src/framework/playwright/API/SOAPRequest.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VinayKumarBM/playwright-sample-project/HEAD/src/framework/playwright/API/SOAPRequest.ts -------------------------------------------------------------------------------- /src/framework/playwright/API/SOAPResponse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VinayKumarBM/playwright-sample-project/HEAD/src/framework/playwright/API/SOAPResponse.ts -------------------------------------------------------------------------------- /src/framework/playwright/actions/AlertActions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VinayKumarBM/playwright-sample-project/HEAD/src/framework/playwright/actions/AlertActions.ts -------------------------------------------------------------------------------- /src/framework/playwright/actions/CheckBoxActions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VinayKumarBM/playwright-sample-project/HEAD/src/framework/playwright/actions/CheckBoxActions.ts -------------------------------------------------------------------------------- /src/framework/playwright/actions/DropDownActions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VinayKumarBM/playwright-sample-project/HEAD/src/framework/playwright/actions/DropDownActions.ts -------------------------------------------------------------------------------- /src/framework/playwright/actions/EditBoxActions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VinayKumarBM/playwright-sample-project/HEAD/src/framework/playwright/actions/EditBoxActions.ts -------------------------------------------------------------------------------- /src/framework/playwright/actions/UIActions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VinayKumarBM/playwright-sample-project/HEAD/src/framework/playwright/actions/UIActions.ts -------------------------------------------------------------------------------- /src/framework/playwright/actions/UIElementActions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VinayKumarBM/playwright-sample-project/HEAD/src/framework/playwright/actions/UIElementActions.ts -------------------------------------------------------------------------------- /src/framework/playwright/asserts/Assert.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VinayKumarBM/playwright-sample-project/HEAD/src/framework/playwright/asserts/Assert.ts -------------------------------------------------------------------------------- /src/framework/reporter/Allure.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VinayKumarBM/playwright-sample-project/HEAD/src/framework/reporter/Allure.ts -------------------------------------------------------------------------------- /src/framework/reporter/HTMLReporter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VinayKumarBM/playwright-sample-project/HEAD/src/framework/reporter/HTMLReporter.ts -------------------------------------------------------------------------------- /src/framework/template/SuiteTemplate.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VinayKumarBM/playwright-sample-project/HEAD/src/framework/template/SuiteTemplate.ts -------------------------------------------------------------------------------- /src/framework/utils/CLIUtil.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VinayKumarBM/playwright-sample-project/HEAD/src/framework/utils/CLIUtil.ts -------------------------------------------------------------------------------- /src/framework/utils/DBUtil.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VinayKumarBM/playwright-sample-project/HEAD/src/framework/utils/DBUtil.ts -------------------------------------------------------------------------------- /src/framework/utils/DateUtil.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VinayKumarBM/playwright-sample-project/HEAD/src/framework/utils/DateUtil.ts -------------------------------------------------------------------------------- /src/framework/utils/ExcelUtil.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VinayKumarBM/playwright-sample-project/HEAD/src/framework/utils/ExcelUtil.ts -------------------------------------------------------------------------------- /src/framework/utils/ImageComparator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VinayKumarBM/playwright-sample-project/HEAD/src/framework/utils/ImageComparator.ts -------------------------------------------------------------------------------- /src/framework/utils/PDFUtil.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VinayKumarBM/playwright-sample-project/HEAD/src/framework/utils/PDFUtil.ts -------------------------------------------------------------------------------- /src/framework/utils/StringUtil.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VinayKumarBM/playwright-sample-project/HEAD/src/framework/utils/StringUtil.ts -------------------------------------------------------------------------------- /src/framework/utils/XMLParserUtil.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VinayKumarBM/playwright-sample-project/HEAD/src/framework/utils/XMLParserUtil.ts -------------------------------------------------------------------------------- /src/resources/API/REST/ADD_USER.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VinayKumarBM/playwright-sample-project/HEAD/src/resources/API/REST/ADD_USER.json -------------------------------------------------------------------------------- /src/resources/API/REST/LOGIN.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VinayKumarBM/playwright-sample-project/HEAD/src/resources/API/REST/LOGIN.json -------------------------------------------------------------------------------- /src/resources/API/REST/UPDATE_USER.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VinayKumarBM/playwright-sample-project/HEAD/src/resources/API/REST/UPDATE_USER.json -------------------------------------------------------------------------------- /src/resources/API/SOAP/AccountCreateRequest.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VinayKumarBM/playwright-sample-project/HEAD/src/resources/API/SOAP/AccountCreateRequest.xml -------------------------------------------------------------------------------- /src/resources/API/SOAP/AccountLoginRequest.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VinayKumarBM/playwright-sample-project/HEAD/src/resources/API/SOAP/AccountLoginRequest.xml -------------------------------------------------------------------------------- /src/resources/API/SOAP/AccountLogoutRequest.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VinayKumarBM/playwright-sample-project/HEAD/src/resources/API/SOAP/AccountLogoutRequest.xml -------------------------------------------------------------------------------- /src/resources/API/SOAP/CountrySearchRequest.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VinayKumarBM/playwright-sample-project/HEAD/src/resources/API/SOAP/CountrySearchRequest.xml -------------------------------------------------------------------------------- /src/resources/data/testData.xlsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VinayKumarBM/playwright-sample-project/HEAD/src/resources/data/testData.xlsx -------------------------------------------------------------------------------- /src/resources/pdf/baseline.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VinayKumarBM/playwright-sample-project/HEAD/src/resources/pdf/baseline.pdf -------------------------------------------------------------------------------- /src/tests/ContactUsTest.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VinayKumarBM/playwright-sample-project/HEAD/src/tests/ContactUsTest.spec.ts -------------------------------------------------------------------------------- /src/tests/CreateAccountTest.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VinayKumarBM/playwright-sample-project/HEAD/src/tests/CreateAccountTest.spec.ts -------------------------------------------------------------------------------- /src/tests/DatabaseTest.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VinayKumarBM/playwright-sample-project/HEAD/src/tests/DatabaseTest.spec.ts -------------------------------------------------------------------------------- /src/tests/DownloadTest.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VinayKumarBM/playwright-sample-project/HEAD/src/tests/DownloadTest.spec.ts -------------------------------------------------------------------------------- /src/tests/ImageCompareTest.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VinayKumarBM/playwright-sample-project/HEAD/src/tests/ImageCompareTest.spec.ts -------------------------------------------------------------------------------- /src/tests/LoginTest.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VinayKumarBM/playwright-sample-project/HEAD/src/tests/LoginTest.spec.ts -------------------------------------------------------------------------------- /src/tests/RESTUserTest.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VinayKumarBM/playwright-sample-project/HEAD/src/tests/RESTUserTest.spec.ts -------------------------------------------------------------------------------- /src/tests/SOAPAccountServiceTest.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VinayKumarBM/playwright-sample-project/HEAD/src/tests/SOAPAccountServiceTest.spec.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/VinayKumarBM/playwright-sample-project/HEAD/tsconfig.json --------------------------------------------------------------------------------