QA/Execution/Web Testing/Automation/Selenium Grid: Difference between revisions

Line 183: Line 183:
Before updating the Grid we need to test locally with the latest Firefox and Selenium versions.
Before updating the Grid we need to test locally with the latest Firefox and Selenium versions.
# You will need to fork and clone from the [https://github.com/mozilla/moz-grid-config moz-grid-config github repository] and work on a new branch (latest-version) (see [[#Configuration|Configuration]].
# You will need to fork and clone from the [https://github.com/mozilla/moz-grid-config moz-grid-config github repository] and work on a new branch (latest-version) (see [[#Configuration|Configuration]].
** Install the latest Firefox version on your local machine
#* Install the latest Firefox version on your local machine
** Change the Selenium version to be the latest (in default.properties file), then it will be downloaded automatically when starting the hub/node.  
#* Change the Selenium version to be the latest (in default.properties file), then it will be downloaded automatically when starting the hub/node.  
** Update the JSON files for your operating system - add the latest browser, binary and details. (for both hub and nodes)
#* Update the JSON files for your operating system - add the latest browser, binary and details. (for both hub and nodes)
** Update the Selenium client using "pip install -r requirements.txt". Start the hub and node and start testing.
#* Update the Selenium client using "pip install -r requirements.txt". Start the hub and node and start testing.
# After changes are merged into the main GitHub repository, move the main Grid to run on "latest-version" branch.
# After changes are merged into the main GitHub repository, move the main Grid to run on "latest-version" branch.
# Once testing on the main Grid instance is successful, merge the latest-version branch into master and switch back to the master branch on the hub and nodes.
# Once testing on the main Grid instance is successful, merge the latest-version branch into master and switch back to the master branch on the hub and nodes.
Confirmed users
2,177

edits