New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

core-hubplaywright-framework

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

core-hubplaywright-framework

This framework uses Playwright, Cucumber, Node and Typescript as the underlying tech stack

unpublished
latest
npmnpm
Version
1.0.3
Version published
Maintainers
1
Created
Source

This framework uses Playwright, Cucumber, Node and Typescript as the underlying tech stack

The code is committed to GIT and the repo name is HubPlaywright. The main branch is the prod branch and will always be in a fit to run state. Prior approval is needed before committing anything to the main branch, as this might start failing the CI/CD pipelines.

GIT URL: https://hub24.visualstudio.com/Agility/_git/HubPlaywright

To setup the framework on your local machine, you need to create this folder structure in C: C:/GIT_Automation and then download the repo in HubPlaywright folder inside C:/GIT_Automation

Clone the above repo at C:/GIT_Automation/HubPlaywright

Now open Webstorm and select Open Folder. Install these plugins in Webstorm,

.env Files Support

Batch Scripts Support

Cucumber+

Properties

Open C:/GIT_Automation/HubPlaywright/e2e folder in Webstorm.

Once the project loads in Webstorm, open the terminal within the IDE and run the below commands in order,

npm init npx -p typescript tsc --init npm add playwright -D npm add @playwright/test -D npm add @cucumber/cucumber -D npm add typescript -D npm add ts-node -D npx playwright install npm install dotenv --save npm add cucumber-html-reporter

Once these NPM packages are successfully installed locally, the framework is all set to run.

To run the tests, execute: ./run_tests.bat

This command will execute all the feature files in src/features

All the page files must be placed inside src/step_definitions/assertions and must be named as abc.pages.ts

This ensures that page files are separeted from other files

FAQs

Package last updated on 13 Feb 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts