after g/255045, we don't need to override the version jenkins uses
to do local selenium testing anymore, so simply removing the line
saves the trouble of updating it every time there's a new version
of chrome
test plan:
- remove chromedriver_version from config/selenium.yml
- you should be able to run selenium specs locally
Change-Id: Ia2ccd9fbe6ed518adbcc9c6cf0755e4e22f4507a
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/279761
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: James Butters <jbutters@instructure.com>
QA-Review: Jeremy Stanley <jeremy@instructure.com>
Product-Review: Jeremy Stanley <jeremy@instructure.com>
[ignore-stage-results=Flakey Spec Catcher]
update chrome version to run tests against. A few small
fixes to work with new chromedriver.
closes: DE-930
Test Plan:
-Jenkins passes
-FSC build passes
-Run test local docker dev setup
-Run test local dev setup
Change-Id: Ie2d5dd918f85cbcc01d0f8b572efa8aab71c1803
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/279959
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Aaron Ogata <aogata@instructure.com>
QA-Review: James Butters <jbutters@instructure.com>
Product-Review: James Butters <jbutters@instructure.com>
Adds the ability to easily run Selenium tests locally against headless
chrome by adding `headless` and `window_size` config properties to
`selenium.yml`. Helpful when re-running specs many times to check for
flakiness.
Also attempts to improve the reliability of the new RCE course/link
options Selenium spec by adding an explicit wait for the course links
tray to appear and reducing the number of repetitions.
fixes LS-1744
flag = rce_enhancements
Test plan:
- Ensure that running Selenium specs against regular chrome still
works (aka without any config changes)
- Add `headless: true` and `window_size: "1237,974"` (or similar) to
`selenium.yml` and ensure specs pass the same way
- Spec reliably passes the flakey_spec_catcher!
Change-Id: I3957ded0a431f19e620848b260e7f7d54da07bf6
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/256351
Reviewed-by: Robin Kuss <rkuss@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
QA-Review: Jeff Largent <jeff.largent@instructure.com>
Product-Review: Jeff Largent <jeff.largent@instructure.com>
flag = none
Test Plan:
- Jenkins build passes with browser 87
- docker locally builds and runs selenium tests on chrome 87
- local install of canvas runs seleniums on chrome 87
Change-Id: Id1600e002c202a4dd90405d9b68a3ff092cbd764
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/255045
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
QA-Review: James Butters <jbutters@instructure.com>
Reviewed-by: Aaron Ogata <aogata@instructure.com>
Product-Review: James Butters <jbutters@instructure.com>
test plan:
* put `auto_open_devtools: true` in your selenium.yml
* put a `debugger` statement somewhere in the js code you are testing
* run selenium
* it should auto open the chrome dev tools and pause on that `debugger`
statement
(Meaning you don’t have to do the race game to try to beat selenium to
Open the console before that line of js code is executed)
Change-Id: I7ae09cf786015fbcadb11fd6f84a5ab319de6245
Reviewed-on: https://gerrit.instructure.com/168557
Tested-by: Jenkins
QA-Review: Ryan Shaw <ryan@instructure.com>
Product-Review: Ryan Shaw <ryan@instructure.com>
Reviewed-by: Clay Diffrient <cdiffrient@instructure.com>
closes MC-182
Test Plan:
-Create a new course
-On the settings page, enable the course as a blueprint course
-Save the page
-check several of the general setting selections
-Save the page again (notice the settings remain selected after saving)
-Check and make sure the items locked stay locked on other pages
-Select Granular Locking
-Expand and close each tab
-Notice that each tab has the appropriate objects to lock
-Select several checkboxes
-Make sure the lock icon changes and the title updates appropriately
-Save the Page(notice the settings remain selected after saving)
-Check and make sure the items selected lock on the appropriate pages
-Create a new course
-Add students
-On the settings page, make sure the blueprint checkbox is disabled
-a message appears when hovering over the disabled checkbox
Change-Id: I06f1783881a4ce875be3e6bd9129d8302f1ba2de
Reviewed-on: https://gerrit.instructure.com/112165
Tested-by: Jenkins
Reviewed-by: Steven Burnett <sburnett@instructure.com>
QA-Review: Nathan Rogowski <nathan@instructure.com>
Product-Review: Pert Eilers <peilers@instructure.com>
Test Plan
a) Verify that canvas specs runs successfuly for
chrome
internet explorer
safari
firefox
b) Verify existing local browsers i.e. firefox and chrome work
refs
CNVS-28701
Change-Id: Ia1fe17c0bb0097f20ad60e49015cb458b92c8e0b
Reviewed-on: https://gerrit.instructure.com/76868
Tested-by: Jenkins
Reviewed-by: Jon Jensen <jon@instructure.com>
QA-Review: Santosh Natarajan <snatarajan@instructure.com>
Product-Review: Santosh Natarajan <snatarajan@instructure.com>
- this is in preparation for separating the appium tests
from the selenium tests
- Test Plan:
make sure it passes Jenkins
make sure all the Appium Tests still work
Change-Id: Ie2810c489ed8672f4c3a99392927444b317618d4
Reviewed-on: https://gerrit.instructure.com/61263
Reviewed-by: Taylor Wilson <twilson@instructure.com>
Tested-by: Jenkins
Product-Review: Caleb Guanzon <cguanzon@instructure.com>
QA-Review: Caleb Guanzon <cguanzon@instructure.com>
twilson, panda, 4
- added shared examples for iCanvas and SpeedGrader landing page
- minor changes to appium environment setup, school_domain now
defined in selenium.yml file
- to test: comment/uncomment appium init and skip statements in
mobile_common, spin up Appium server, create and edit yml file,
and run specs
Change-Id: Ica180895f167e007cab14cadfe79e554a44f25da
Reviewed-on: https://gerrit.instructure.com/61118
Reviewed-by: Heath Hales <hhales@instructure.com>
Reviewed-by: Steven Shepherd <sshepherd@instructure.com>
Tested-by: Jenkins
Product-Review: Ben Bolton <bbolton@instructure.com>
QA-Review: Ben Bolton <bbolton@instructure.com>
twilson, panda, 5
- refactor to support mobile SpeedGrader and mobile
Canvas apps for both Android and iOS
- landing_page_common moved to shared context to be
used with SpeedGrader and mobile Canvas
- to test: comment/uncomment appium init and skip
statements in mobile_common, spin up Appium server,
and run specs
Change-Id: I4862f69874549e972488f44b65c5aeac6b47bf4a
Reviewed-on: https://gerrit.instructure.com/60538
Reviewed-by: Caleb Guanzon <cguanzon@instructure.com>
Reviewed-by: Jahnavi Yetukuri <jyetukuri@instructure.com>
Tested-by: Jenkins
Product-Review: Ben Bolton <bbolton@instructure.com>
QA-Review: Ben Bolton <bbolton@instructure.com>
testplan: add a path to your selenium.yml and verify the right browser
launches
Change-Id: I162d64ef48f9241982f7e103bb497ce4c40bfadc
Reviewed-on: https://gerrit.instructure.com/7220
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Zach Wily <zach@instructure.com>