Framework Development
Releasing this Playwright Framework
When it comes to creating a new release for the Playwright Framework, run the following:
npx eslint .andnpx eslint . --fixnpm run build- Update the version number in
package.json - Commit result
git tag [version]git push origin main --tags- this will publish to NPM
Local Development of the Playwright Framework
- Clone the repository down parallel to your project
- Run
npm install - Run
npm run pack - In your project, delete
node_modules/@liquidlight/playwright-framework - Update the
package.jsonin the project to be"@liquidlight/playwright-framework": "file:./../playwright-framework/liquidlight-playwright-framework-0.4.0-beta.1.tgz"(or whatever the tgz file made is) - Run
npm updatein the project
If you make changes to the package, run npm run pack in the package and npm update in the project