aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit/unit/includes/Rest/Module/SpecBasedModuleTest.php
diff options
context:
space:
mode:
authorDaimona Eaytoy <daimona.wiki@gmail.com>2024-12-08 22:02:35 +0100
committerDaimona Eaytoy <daimona.wiki@gmail.com>2024-12-08 22:18:21 +0100
commit6ee82a20e7f2438c63f8562dad287d0b45c4f9a5 (patch)
tree4206c5ac783d5c68cb01431cf8b8e29036ae9ce0 /tests/phpunit/unit/includes/Rest/Module/SpecBasedModuleTest.php
parentd3f9726809f4416a0b8e6adb0788a55bc948fd2b (diff)
downloadmediawikicore-6ee82a20e7f2438c63f8562dad287d0b45c4f9a5.tar.gz
mediawikicore-6ee82a20e7f2438c63f8562dad287d0b45c4f9a5.zip
selenium: Wait for the page to be fully loaded in Page.openTitle
See rationale in phab. Also, correctly annotate the method as returning a Promise, not void. Async functions always return a promise. Amongst other things, this allows IDEs such as PHPStorm to emit a warning when the `openTitle` call isn't `await`ed. Bug: T381739 Change-Id: Idd72732a749ee6657a8617cc0ecc7ab9f6217a69
Diffstat (limited to 'tests/phpunit/unit/includes/Rest/Module/SpecBasedModuleTest.php')
0 files changed, 0 insertions, 0 deletions