From 989963a50468f76d38468524229e0222a4f9ffa8 Mon Sep 17 00:00:00 2001 From: Leon Stringer Date: Tue, 19 May 2026 08:47:20 +0100 Subject: [PATCH 1/2] Fix table and other updates * Fixed unrendered table. * Replace unrendered tags. * Remove references to Internet Explorer (last supported by Moodle 3.9). * Removed some commas for clarity. --- general/development/tools/behat/browsers/index.md | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/general/development/tools/behat/browsers/index.md b/general/development/tools/behat/browsers/index.md index 494a992af..b3f176ac8 100644 --- a/general/development/tools/behat/browsers/index.md +++ b/general/development/tools/behat/browsers/index.md @@ -16,7 +16,6 @@ There are [Selenium drivers](http://docs.seleniumhq.org/projects/webdriver/) to - Firefox - https://code.google.com/p/selenium/wiki/FirefoxDriver - Chrome - https://code.google.com/p/selenium/wiki/ChromeDriver - Safari - https://code.google.com/p/selenium/wiki/SafariDriver -- Internet Explorer - https://code.google.com/p/selenium/wiki/InternetExplorerDriver - Microsoft Edge - https://developer.microsoft.com/en-us/microsoft-edge/tools/webdriver/ - PhantomJS (Webkit) - http://phantomjs.org/ - IPhone - https://code.google.com/p/selenium/wiki/IPhoneDriver @@ -46,7 +45,7 @@ Note that 4444 is the default port used by Selenium, so you must specify another java -jar /Users/moodle/Downloads/selenium-server-standalone.jar -Dwebdriver.chrome.driver=/Users/moodle/Downloads/chromedriver ``` -```console title="Selenium in Windows (started using git bash) (firefox by default + chrome + internet explorer)" +```console title="Selenium in Windows (started using git bash) (firefox by default + chrome)" java -jar /c/seleniumdrivers/selenium-server-standalone.jar -Dwebdriver.chrome.driver=/c/seleniumdrivers/chromedriver.exe -Dwebdriver.ie.driver=/c/seleniumdrivers/IEDriverServer.exe ``` @@ -58,18 +57,16 @@ Note that 4444 is the default port used by Selenium, so you must specify another Not all the drivers can execute all of Moodle's step definitions; we tagged the step definitions that are using features not supported by all browsers and also limitations that some browsers have; refer to the following table to know which browsers can run which tags: -{/* */} | | File uploads (@_file_upload) | Browser dialogs (@_alert) | Switch window (@_switch_window) | Switch frame (@_switch_iframe) | Bugs in chrome (@skip_chrome_zerosize) | Bug in phantomjs (@_bug_phantomjs) | -|------------------------------|-------------------------------------------------------------------|---------------------------------|--------------------------------|----------------------------------------|------------------------------------| +|------------------------------|-------------------------------------------------------------------|---------------------------------|--------------------------------|----------------------------------------|------------------------------------|---| | Firefox | Yes | Yes | Yes | Yes | Yes | Yes | | Chrome | Yes | Yes | Yes | Yes | No (see [MDL-71108](https://moodle.atlassian.net/browse/MDL-71108)) | Yes | -| Internet Explorer | Yes | Yes | No | Yes | Yes | Yes | | Safari | Yes | No | No | Yes | Yes | Yes | | PhantomJS | No | No | Yes | Yes | Yes | No | -Note that, to skip some tag, you must prepend it with the ~ (logical NOT) character. Examples: +Note that to skip some tag you must prepend it with the `~` (logical NOT) character. Examples: -- Run all tests but `@_alert ones: --tags '~@_alert'` +- Run all tests but `@_alert` ones: `--tags '~@_alert'` - Run all chrome tests but `@skip_chrome_zerosize` ones: `--tags '@javascript&&~@skip_chrome_zerosize'` ## Working combinations of OS+Browser+selenium {/* #working-combinations-of-osbrowserselenium */} From 9fe6946d5a1b2b38b9ee18099832083206eab3ad Mon Sep 17 00:00:00 2001 From: Leon Stringer Date: Tue, 19 May 2026 10:07:03 +0100 Subject: [PATCH 2/2] Revert cspell:ignore --- general/development/tools/behat/browsers/index.md | 1 + 1 file changed, 1 insertion(+) diff --git a/general/development/tools/behat/browsers/index.md b/general/development/tools/behat/browsers/index.md index b3f176ac8..a41d1ab65 100644 --- a/general/development/tools/behat/browsers/index.md +++ b/general/development/tools/behat/browsers/index.md @@ -57,6 +57,7 @@ Note that 4444 is the default port used by Selenium, so you must specify another Not all the drivers can execute all of Moodle's step definitions; we tagged the step definitions that are using features not supported by all browsers and also limitations that some browsers have; refer to the following table to know which browsers can run which tags: +{/* */} | | File uploads (@_file_upload) | Browser dialogs (@_alert) | Switch window (@_switch_window) | Switch frame (@_switch_iframe) | Bugs in chrome (@skip_chrome_zerosize) | Bug in phantomjs (@_bug_phantomjs) | |------------------------------|-------------------------------------------------------------------|---------------------------------|--------------------------------|----------------------------------------|------------------------------------|---| | Firefox | Yes | Yes | Yes | Yes | Yes | Yes |