mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-12-18 10:30:51 +00:00
cbd3fdbdcc
Update NPM packages: webdriverio, wdio-mediawiki. Update ESlint configuration. Replace NPM packages: - wdio-mocha-framework with @wdio/mocha-framework. - wdio-spec-reporter with @wdio/spec-reporter. New NPM packages: @wdio/cli, @wdio/local-runner, @wdio/sync. Replace: - `browser.element` with `$`. - `chromeOptions` with `'goog:chromeOptions'`. - `password` with `mwPwd`. - `username` with `mwUser`. Bug: T253791 Change-Id: Ief27154b2e10621b4dce51c634a075cd381021f8
10 lines
191 B
JavaScript
10 lines
191 B
JavaScript
'use strict';
|
|
const Page = require( 'wdio-mediawiki/Page' );
|
|
|
|
class MathPage extends Page {
|
|
|
|
get img() { return $( '.mwe-math-fallback-image-inline' ); }
|
|
|
|
}
|
|
module.exports = new MathPage();
|