mediawiki-skins-MinervaNeue/tests/selenium/features/support/pages/special_mobilediff_page.js
jdlrobson 0540abb30c QA: Two diff pages is enough
Use the more verbose SpecialMobileDiff page

Change-Id: I1e773b0a654d2b03601ae8ba37dc8bbc03910e7f
2019-04-26 07:46:04 +00:00

19 lines
470 B
JavaScript

/**
* 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();