North-Seattle-College / ad440-winter2020-thursday-repo

Repository for AD440 Thursday Class in Winter 2020
Apache License 2.0
10 stars 5 forks source link

Test Changes to the React App website in Development triggers a deploy via TravisCI #251

Open mattyplo opened 4 years ago

mattyplo commented 4 years ago

Test Task #250

kyleo83 commented 4 years ago

Test Objectives Verify that a merge into development branch from a feature branch will trigger travis to deploy to the www.2edusite.com S3 bucket.

Test 1: Verify that yaml file (.travis.yml) is correctly formatted

  1. Copy contents of file
  2. paste contents in online yaml validator

Expected: Valid Actual: Valid - PASS

Test 2: Verify that the S3 contents deploy without error when new code is pushed development

  1. Create feature branch from development branch (I used development-test branch)
  2. Push feature branch with updated .travis.yml file to GitHub repo
  3. Merge with development branch (I used development-test branch)
  4. Click on green checkmark, red x, or yellow dot
  5. Click on details link in pop-up
  6. Under Jobs and Stages click deploy_dev_s3

Expected: The S3 deployment succeeds, files are updated on the appropriate bucket. '#' instead of '//' for in-line comments. Also no period after '.com' either. Build 1 Actual: All Travis CI S3 deploy fails to deploy - FAIL The S3 deployment fails because '//' is used for an in-line comment. '#' should be used instead at line 68. Bug #287 Build 2 Actual: The S3 deployment succeeds, files are deployed to the www.2edusite.com S3 bucket. The '//' has been replaced with '#' to designate an inline comment. - PASS