ccswbs / testing

Testcafe-based test suite for hjckrrh.
GNU General Public License v3.0
0 stars 1 forks source link

Create two test sites (one for master hjckrrh, one for next hjckrrh) for demo days #46

Closed mmafe closed 7 years ago

mmafe commented 7 years ago

Create two test sites (one for master, one for next) for demo days.

Mandatory

For now, if you wish to update the branch on those sites:

  1. On the AODA test server, go to the /var/www/html/aoda.test.web.uoguelph.ca/
  2. If you wish to update the next site, go to aoda-next. If you wish to update the master site, go to aoda
  3. Type: git fetch origin
  4. Type: git status to confirm you are on the branch you think you are
  5. Type: git pull origin <branch-name>
    • should be master in the aoda directory
    • should be next in the aoda-next directory

Running tests during demo: You will need to:

Significant Flaw with this idea: If two people are running tests on these sites at the same time, they might both be creating content, adding viewpanes, etc. at the same time, which could cause tests to fail. Starting to think this is not a great solution for us running tests. Ideally the site would be created and destroyed as part of running the tests, and that is not going to happen in the scope of this issue.

Regarding Webhooks: The webhooks were not as straight-forward as I thought they would be. Rather than figure out how to update the web gateway and get the AODA test server listening for the github webhook this sprint, I'm moving that into the out of scope pile. It even sounds like something that might fit under the DevOps goals that Web & Dev Solutions might be looking into, but definitely a larger scale problem to solve than this issue. :)

Note: Was going to try Pantheon, but Pantheon does not support Webhooks.

Possible Items for later