diff options
Diffstat (limited to 'www/wiki/tests/selenium/pageobjects/history.page.js')
-rw-r--r-- | www/wiki/tests/selenium/pageobjects/history.page.js | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/www/wiki/tests/selenium/pageobjects/history.page.js b/www/wiki/tests/selenium/pageobjects/history.page.js new file mode 100644 index 00000000..869484e6 --- /dev/null +++ b/www/wiki/tests/selenium/pageobjects/history.page.js @@ -0,0 +1,13 @@ +'use strict'; +const Page = require( './page' ); + +class HistoryPage extends Page { + + get comment() { return browser.element( '#pagehistory .comment' ); } + + open( name ) { + super.open( name + '&action=history' ); + } + +} +module.exports = new HistoryPage(); |