Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(#8159): Run our e2e standard test on minimum browser requiremen…
…ts (#8663) * Fix standard config specs to run on chrome 90 * Add changes after npm install * Revert unwanted changes * Add suggested feedback * Fix chrome_version env variable setup * Add chrome version to test name * Update binary not to use my local chrome * install chromedriver 90 * Revert deletion of chromedriver 90 dependency * Delete chromedriver dependency * Fix spaces in run * Change where to set CHROME_VERSION env * Add no-sandbox to prevent session not created chromedriver error * Revert change in the test names * Merge Install Chrome and Chromedriver version 90 in one step Co-authored-by: Gareth Bowen <gareth@medic.org> * Change name in step and, simplify chrome args * Fix name calculation * Fix eslint * Fix >> character * Add await browser.url('/'); before login * Add await browser.url('/'); before logout * Change roleField selector to work also on Chrome90 * Fix eslint * Use browserVersion to choose the method to get text from a span element * Fix eslint * Delete browser.url('/'); after logout * Delete no-sandbox option * Delete unnecessary waits * expose a common function to validate if the browser version is the minimum * Fix eslint * Create standard enketo wdio page to have common enketo forms definitions * Fix eslint * Delete BrowserVersion as is not neccesary if setting binary * Set undefined browserVersion when is not minimum * Delete chromedriver dependencies * Add chromedriver binary path * Add disable-dev-shm-usage arg * Fix eslint * Fix misspelled * Check chromedriver version * Get chromedriver version * Use node modules chromedriver * Fix driver version output * Add no-sandbox to make the test pass, and print browser and driver versions * Fix eslint * Add no-sandbox argument only when running tests with chrome90 * Implement feedback --------- Co-authored-by: Maria Lorena Rodriguez Viruel <marialorenarodriguezviruel@MacBook-Pro-de-Maria.local> Co-authored-by: Gareth Bowen <gareth@medic.org>
- Loading branch information