X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=tests%2Fselenium%2Fspecs%2Frollback.js;h=22c05f404066081c17f19f3edaf14be0903261c0;hb=aaea6a0fc072408ac00fef912b685eedf9a6d2d4;hp=daf7112e634a375f2402e6fbf4bc5de43362a0d8;hpb=ac16588afe6b6067f2507b11f1025c0c339baab8;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/selenium/specs/rollback.js b/tests/selenium/specs/rollback.js index daf7112e63..22c05f4040 100644 --- a/tests/selenium/specs/rollback.js +++ b/tests/selenium/specs/rollback.js @@ -35,7 +35,7 @@ describe( 'Rollback with confirmation', function () { it.skip( 'should offer rollback options for admin users', function () { assert.strictEqual( HistoryPage.rollback.getText(), 'rollback 1 edit' ); - HistoryPage.rollback.click(); + HistoryPage.rollbackLink.click(); assert.strictEqual( HistoryPage.rollbackConfirmable.getText(), 'Please confirm:' ); assert.strictEqual( HistoryPage.rollbackConfirmableYes.getText(), 'Rollback' );