mediawiki-extensions-CodeMi.../tests/selenium
bhsd 506d998767 CodeMirror 6 template folding
This patch adds an icon displayed above the cursor inside a template. By clicking it, the template parameters become hidden and replaced by three dots, while the template name remains visible. Clicking the dots will unfold the template. New key bindings include fold (Ctrl-Shift-[/Cmd-Alt-[), unfold (Ctrl-Shift-]/Cmd-Alt-]) and unfoldAll (Ctrl-Alt-]).

Bug: T30684
Change-Id: I631fe0ecf21d0a80306bd40d66d22478a1aefe58
2024-03-07 13:47:47 +08:00
..
pageobjects CodeMirror 6 template folding 2024-03-07 13:47:47 +08:00
specs CodeMirror 6 template folding 2024-03-07 13:47:47 +08:00
.eslintrc.json build: Updating npm dependencies 2023-03-25 22:37:01 +01:00
fixturecontent.js Refactor CodeMirror WebdriverIO tests from sync to async mode 2023-06-06 10:49:22 +02:00
README.md selenium: Update README.md file 2021-05-24 18:10:43 +00:00
userpreferences.js selenium: run tests concurrently 2023-06-30 11:29:32 +02:00
wdio.conf.js selenium: run tests concurrently 2023-06-30 11:29:32 +02:00

Selenium tests

For more information see https://www.mediawiki.org/wiki/Selenium

Setup

See https://www.mediawiki.org/wiki/Extension:CodeMirror

Run all specs

npm run selenium-test

Run specific tests

Filter by file name:

npm run selenium-test -- --spec tests/selenium/specs/[FILE-NAME]

Filter by file name and test name:

npm run selenium-test -- --spec tests/selenium/specs/[FILE-NAME] --mochaOpts.grep [TEST-NAME]