mediawiki-extensions-CodeMi.../tests/selenium
MusikAnimal 26d5023bb7 CodeMirror: partially implement $.textSelection 'encapsulateSelection'
Popular extensions like Charinsert use this method to wrap text around a
selection. This patch adds support for multiple selections in CM6.

Some options to encapsulateSelection do not yet have explicit support
here, such as 'peri', but it's unclear if they are truly needed.

Bug: T211205
Change-Id: Idc0abb64eb036fa4a60382aca401d1dba1722405
2024-02-16 04:42:14 +00:00
..
pageobjects Bump Node dependencies and fix deprecations and linting failures 2023-12-06 00:43:15 -05:00
specs CodeMirror: partially implement $.textSelection 'encapsulateSelection' 2024-02-16 04:42:14 +00: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]