mediawiki-skins-MinervaNeue/tests/selenium/features/support/pages/special_mobilediff_page.js
Ed Sanders a32999e641 build: Update eslint-config-wikimedia to 0.16.0
Change-Id: Icabf6e065ed5685207731262db72faf848a0a04d
2020-06-04 08:39:32 -07:00

21 lines
485 B
JavaScript

'use strict';
/**
* Represents the mobile-first Special:MobileDiff page
*
* @extends Page
* @example
* https://en.m.wikipedia.org/wiki/Special:MobileDiff/833886807
*/
const { Page } = require( './mw_core_pages' );
class SpecialMobileDiffPage extends Page {
get inserted_content_element() { return $( 'ins' ); }
get deleted_content_element() { return $( 'del' ); }
get user_info_element() { return $( '#mw-mf-userinfo' ); }
}
module.exports = new SpecialMobileDiffPage();