Clone repo first
Copy extension to /extension folder
install jq
run
jq '.+{"key":"MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA1K7jeUar5CqNOsbClepssGQhRumMTrSwDnYg91jBum8n+wxe+WCpJxhZdpptiVChQH5yQVXNLF5tn+pRFqaTHWeo0NktojB2g08ZYDXhtllTcs7xOR39lNn18eCNC9N1p25Kdes0pXCWZdQ+DHoEVGVJWqjcOfUrTvMo+pcBDKR+Y9w65xue6gm4b4qAlm9FFYvgsnjzw3Y7U3MCqfMjr5ioKeZxJNB8IUhAhExXn32KRsPqPrlXQqMeLbyYdhopanMdp87mrPD6zknlGc3SfDcFETphtQDOlotFZmshysI3rJj//5CVONFnkWGmax0Pbg+92Y5VXYxH55C2HIiJHwIDAQAB"}' /extension/manifest.json > tmp && mv tmp /extension/manifest.json
$ npm i
$ npx codeceptjs run -c codecept.conf.js --steps --plugins allure
$ npm run allure_report
Trigger CI/CD pipeline in this project and create Allure report page https://d_trukhin.gitlab.io/disco-demo-tests
curl -X POST \
-F token=3676da1fe3a1edd7093131c96c1b72 \
-F ref=master \
https://gitlab.com/api/v4/projects/21866469/trigger/pipeline
A quick look at the top-level files and directories you'll see in the project.
.
├──/node_modules
├──/apiMethods
├──/pageMethods
├──/vendorDataMethods
├──/tests
├──/hooks
├── .gitignore
├── .gitlab-ci.yml.js
├── config.conf.js.js
├── package-lock.json
├── package.json
└── README.md
-
/tests
: This directory contains all test cases (scenarios) -
/pageMethods
: This directory contains page templates, pages and elements methods -
/apiMethods
: This directory contains api methods and data (for signin etc.) -
/vendorDataMethods
: This directory contains page templates, pages, elements methods and test cases data for vendors -
/hooks
: This directory contains hooks, helpers -
/node_modules
: This directory contains all of the modules of code that your project depends on (npm packages) are automatically installed. -
.gitignore
: This file tells git which files it should not track / not maintain a version history for. -
.gitlab-ci.yml
: This is CI/CD configuration file for Gitlab CI -
config.conf.js
: This is the main configuration file -
package-lock.json
(Seepackage.json
below, first). This is an automatically generated file based on the exact versions of your npm dependencies that were installed for your project. (You won’t change this file directly). -
package.json
: A manifest file for Node.js projects, which includes things like metadata (the project’s name, author, etc). This manifest is how npm knows which packages to install for your project. -
README.md
: A text file containing useful reference information about your project.