-
Notifications
You must be signed in to change notification settings - Fork 139
GA Test Plan
Wassim Chegham edited this page Apr 12, 2022
·
19 revisions
This is a Test Plan for Testing the GA release.
Get the latest source from the GA branch:
-
git clone -b ga http://github.com/Azure/static-web-apps-cli.git -
cd static-web-apps-cli -
npm install -
npm run build -
npm test
Test plan:
-
make sure there are no issues during
npm install -
make sure there are no issues during
npm run build -
make sure there are no issues during
npm test -
login using keychain:
node ./dist/cli/bin.js login --use-keychain true- you might be asked to enter your system password.
-
login without keychain:
node ./dist/cli/bin.js login --use-keychain false- the browser window will open
-
make sure the file
.envhas been created with the right project details
AZURE_SUBSCRIPTION_ID=00000000-0000-0000-0000-000000000000
AZURE_TENANT_ID=00000000-0000-0000-0000-000000000000
- make sure the
.gitingorefile got updated with the.enventry.- only applicable if you are in a git project.
- run
node ./dist/cli/bin.js login --use-keychain falseagain, the.envfile will be used (no prompts) - run
node ./dist/cli/bin.js login --use-keychain trueagain, the.envfile will be used (no prompts) - try a different combination of flags (see
swa login -h)