Quibble 0.0.37 changed some MediaWiki settings, notably setting $wgSecretKey.
The Selenium test User should be able to log in @daily now fails. After login and heading back to the Main_Page, the user is not logged in.
Can't call getText on element with selector "#pt-userpage" because element wasn't found
Can be reproduced with docker-registry.wikimedia.org/releng/quibble-stretch-php72:0.0.37 --run=selenium. And I have the same issue when running Quibble directly.
The test is straight forward:
it( 'should be able to log in @daily', function () { // create browser.call( async () => { await Api.createAccount( bot, username, password ); } ); // log in UserLoginPage.login( username, password ); // check assert.strictEqual( UserLoginPage.userPage.getText(), username ); } );
I suspect it is related to the introduction of $wgSecretKey :-\