QA guide

Frontend:

Staging

PR - TEST on Jenkins

go to dev/ front

go to dev/ front

git checkout BRANCHNAME

GIT pull

yarn install

yarn install

yarn serve

git push origin BRANCHNAME:test2

check: LocalHost/ test1,2,3,4
https://test2.staging.monsido.com/

check: https://ci.gke.monsido.com/blue/organizations/jenkins/Monsido%20frontend/detail/test2/82/pipeline

Note: if there is an error on yarn install then should run:

ssh-agent -s  
ssh-add ~/.ssh/id_rsa

Page Assist:

Staging

go to dev/ page assist

git checkout BRANCHNAME

yarn install

yarn build

yarn start:watch

check: LocalHost/ test1,2,3,4
https://test2.staging.monsido.com/

Chrome Extension:

Staging

go to dev/ Chrome Extension

git checkout BRANCHNAME

yarn install

yarn serve (b:s)

check: LocalHost/ test1,2,3,4
https://test2.staging.monsido.com/

Environments

Staging vs PR:
open PR can be tested locally or deployed to test environment. This means that wont be able to see the change in staging.
yarn install yarn build or serve always locally.

git push origin to test on test environments (test2,3,4,5) - i.e - https://test2.staging.monsido.com/

When PR is in Master

Staging

In the folder (Frontend) - git checkout master

git pull

git checkout BranchName (i.e - OPS-1829-performance-module-404-error-when-opening-a-page-without-a-performance-score )

yarn install

yarn serve

check: LocalHost/ test1,2,3,4

i.e - http://localhost:3001/1/domains/5340/page-performance/pages

Firefox Extension:
In the terminal do the following for Firefox;

  1. git checkout master for instance

  2. git pull

  3. yarn install

  4. yarn b:s:f (f is for firefox )

  5. Then access the Debug add-ons (first screenshot)

  6. Click on Load Temporary Add-on (second screenshot )

  7. Select the manifest.json file from the dist-firefox folder (second last file in the folder)

Disable from the extension

The extension without (staging) is production I just don’t have it added in that screenshot only staging.

EXTRA:

yarn: command not found


install npm install --global yarn


yarn install