Browser extension which brings conventionalcomments into GitLab.
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 user (it's recommmended using a user without personal information)
- Copy
config/template_local.js
toconfig/local.js
and replace all values - Run
yarn test
to run unit tests - Run
yarn codeceptjs
to run end-to-end tests
- Create a new GitHub user (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
- Copy the two-factor secret in
codeceptjs.github.twoFactorSecret
- Run
yarn github-2fa-code
an paste the code printed into the field in GitHub - Finalize the 2FA
- Copy the two-factor secret in
- Run
yarn test
to run unit tests - Run
yarn codeceptjs
to run end-to-end tests
Some screenshots might not have exactly the same size locally compared to the CI. The following commands will ensure the screenshots are taken the same way than on the CI.
- Run
docker-compose build update-screenshots
- Run
docker-compose run update-screenshots
Another way is to take them directly from the last CI e2e-tests. To do so, run node scripts/updateScreenshotFromCI.js
.
- Run
yarn build
- Check folder
web-ext-artifacts