-
Notifications
You must be signed in to change notification settings - Fork 137
GA Test Plan
Wassim Chegham edited this page Apr 28, 2022
·
19 revisions
Before running each test plan, install the latest source from the GA branch:
git clone -b ga http://github.com/Azure/static-web-apps-cli.gitcd static-web-apps-clinpm installnpm run buildnpm testnpm link
TODO
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- you might be asked to enter your system password.
- the browser window will open
- login with your Azure account
- login without keychain:
node ./dist/cli/bin.js login --no-use-keychain- the browser window will open
- login with your Azure account
- make sure the file
.envhas been created with the right project credentials
AZURE_SUBSCRIPTION_ID=00000000-0000-0000-0000-000000000000
AZURE_TENANT_ID=00000000-0000-0000-0000-000000000000
- make sure the
.gitignorefile 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)
TODO
TODO