Michael moved this task from Doing to Peer Review on the Wikidata-Bridge-Sprint-18 board. Michael added a comment.
It turns out that webdriver+chrome can do this natively with: browser.setNetworkConditions( { latency: 0, throughput: 0, offline: true } ) See https://webdriver.io/docs/api/chromium.html#setnetworkconditions I'm not sure that this needs to be wrapped in a helper function on its own. If it does - where would that helper function live? TASK DETAIL https://phabricator.wikimedia.org/T249715 WORKBOARD https://phabricator.wikimedia.org/project/board/4726/ EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Michael Cc: Lucas_Werkmeister_WMDE, Aklapper, Sarai-WMDE, darthmon_wmde, Michael, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Lydia_Pintscher, Mbch331
_______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs