mediawiki-skins-MinervaNeue/tests/selenium/features/support/pages/diff_page.js
Jan Drewniak 6bd240389e Adding "diff.feature" selenium test
Bug: T219920
Change-Id: I34b5301a274fe90a7a2db58a8bec2b9398d998b6
2019-04-10 23:15:37 +00:00

18 lines
453 B
JavaScript

/**
* Represents a page showing the difference between two revisions
*
* @extends Page
* @example
* https://en.m.wikipedia.org/w/index.php?title=Barack_Obama&type=revision&diff=833886807&oldid=833885770&diffmode=source
*/
const { Page } = require( './mw_core_pages' );
class DiffPage extends Page {
get inserted_content_element() { return $( 'ins' ); }
get deleted_content_element() { return $( 'del' ); }
}
module.exports = new DiffPage();