Browser extension which brings conventionalcomments into GitLab and GitHub.
Firefox: https://addons.mozilla.org/de/firefox/addon/conventional-comments/
Chrome: https://chrome.google.com/webstore/detail/conventional-comments/pagggmojbbphjnpcjeeniigdkglamffk
- Install dependencies by running
yarn
- Run
yarn dev
(it will open Firefox with the extension installed)
- Create a new GitLab and GitHub users (it's recommmended using a user without personal information)
- Copy
config/template_local.js
toconfig/local.js
and replace all values - Activate the 2FA authentication
- Run
yarn 2fa-code
an paste the code printed into the field in GitHub - Finalize the 2FA
- Run
- Run
yarn test
to run unit tests - Run
yarn playwright test --ui
to run end-to-end tests
Unfortunately, the screenshots made locally are not the same as the ones made in the CI. It's possible to retrieve them from GitHub Actions when the visual tests failed. Running the command yarn update-screenshots
allows to download the screenshots from a specific run. Then, push it and the tests should pass.
- Run
yarn build
- Check folder
web-ext-artifacts