-const assert = require( 'assert' ),
- HistoryPage = require( '../pageobjects/history.page' ),
- UserLoginPage = require( 'wdio-mediawiki/LoginPage' ),
- Util = require( 'wdio-mediawiki/Util' );
+const assert = require( 'assert' );
+const HistoryPage = require( '../pageobjects/history.page' );
+const UserLoginPage = require( 'wdio-mediawiki/LoginPage' );
+const Util = require( 'wdio-mediawiki/Util' );
describe( 'Rollback with confirmation', function () {
- var content,
- name;
+ let content, name;
before( function () {
browser.deleteAllCookies();
} );
it.skip( 'should verify rollbacks via GET requests are confirmed on a follow-up page', function () {
- var rollbackActionUrl = HistoryPage.rollbackLink.getAttribute( 'href' );
+ const rollbackActionUrl = HistoryPage.rollbackLink.getAttribute( 'href' );
browser.url( rollbackActionUrl );
browser.waitUntil( function () {
} );
describe( 'Rollback without confirmation', function () {
- var content,
- name;
+ let content, name;
before( function () {
browser.deleteAllCookies();
} );
it.skip( 'should perform rollback via GET request without asking the user to confirm', function () {
- var rollbackActionUrl = HistoryPage.rollbackLink.getAttribute( 'href' );
+ const rollbackActionUrl = HistoryPage.rollbackLink.getAttribute( 'href' );
browser.url( rollbackActionUrl );
browser.waitUntil( function () {