All builds since [[ https://integration.wikimedia.org/ci/view/Reading-Web/job/selenium-RelatedArticles-jessie/43/ | Failing test ]]0/ | #40 ]] have failed for the same reason.
**Error message**The key part of the report is:
> Edit failed: Error: Error returned by API: Wikipedia has restricted the ability to create new pages. You can go back and edit an existing page, or [[Special:UserLogin|log in or create an account]].
== Suggested Fix
As I commented in T176315#3626845, it looks like [[ https://github.com/wikimedia/mediawiki-extensions-RelatedArticles/blob/e9ef71c134b2642863cc8db8ca16b7a691bb901a/tests/selenium/specs/readmore.js#L11-L17 | the failing test doesn't log in before trying to create/edit the Related Articles 1 page ]].
Use @zeljkofilipin's snippet from T162256#3588456 to login on line 12 of `tests/selenium/specs/readmore.js`.
---
```name=[0],lines=10
Failed
>
> chrome.ReadMore2."before all" hook4 (from readmore2)
>
> Failing for the past 4 builds (Since Failed#40 )
> Took 0.17 sec.
> add description
> Error MessageError Message
Edit failed: Error: Error returned by API: Wikipedia has restricted the ability to create new pages. You can go back and edit an existing page, or [[Special:UserLogin|log in or create an account]].
>
> Edit failed: Error: Error returned by API: Wikipedia has restricted the ability to create new pages. You can go back and edit an existing page, or [[Special:UserLogin|log in or create an account]].Standard Error
> Standard Error
Error: Edit failed: Error: Error returned by API: Wikipedia has restricted the ability to create new pages. You can go back and edit an existing page, or [[Special:UserLogin|log in or create an account]].
>
>
> Error: Edit failed: Error: Error returned by API: Wikipedia has restricted the ability to create new pages. You can go back and edit an existing page, or [[Special:UserLogin|log in or create an account]]. at Context.<anonymous> (extensions/RelatedArticles/tests/selenium/specs/readmore.js:13:11)
> at Context.<anonymous> (extensions/RelatedArticles/tests/selenium/specs/readmorenode_modules/nodemw/lib/bot.js:13:11)514:16
> at at Request._callback (node_modules/nodemw/lib/botapi.js:514:16219:5)
> at Request._self.callback (node_modules/nodemw/lib/apirequest/request.js:219:5186:22)
> at Request.self.callback (node_modules/request/requestemitTwo (events.js:186:2206:13)
> at emitTwoRequest.emit (events.js:106:1391:7)
> at Request.emit (events<anonymous> (node_modules/request/request.js:191:71163:10)
> at Request.<anonymous> (node_modules/request/requestemitOne (events.js:1163:1096:13)
> at emitOneRequest.emit (events.js:96:13188:7)
> at Request.emit (eventsIncomingMessage.<anonymous> (node_modules/request/request.js:188:7085:12)
> at IncomingMessage.<anonymous> (node_modules/request/requestg (events.js:1085:12292:16)
> at IncomingMessage.g (events.js:292:16)```