From a3ee690ea3863ff16a828ac0afbc77243bb45f5b Mon Sep 17 00:00:00 2001 From: Stefan Giehl Date: Wed, 1 Sep 2021 15:37:38 +0200 Subject: Use newer version of Puppeteer for UI tests (#17880) * Use latest version of Puppeteer for UI tests * use newer node on travis * test * use waitForTimeout / waitForSelector instead of waitFor * Handle BC for removed waitFor method * Updates expected UI test files * update submodules * improve/fix some UI tests * Updates expected UI test files * improve/fix some UI tests * update url-parse dependency * simplify some UI tests * update screenshot * avoid using merged assets that are broken * fix expected compare exit code * don't use merged assets for TwoFactorAuth UI tests it seems due to too many requests to login, logout and other pages merging the CoreJS assets somehow fails, and results in returning an empty file. Even the reload fails to serve the correct content, so maybe the file, the content should be written to, is somehow locked. Disabling the merged assets seems to fix this issue for this tests. Locally the tests are also running correctly with merged assets. * improve handling of automatic css / js reloading in UI tests * increase timeouts of TwoFactorAuth UI tests * fix 2fa ui test * revert change * update new screenshot * updates UI screenshots * submodule updates --- .../tests/UI/expected-screenshots/UsersManager_bulk_remove_access.png | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/UsersManager/tests/UI/expected-screenshots/UsersManager_bulk_remove_access.png') diff --git a/plugins/UsersManager/tests/UI/expected-screenshots/UsersManager_bulk_remove_access.png b/plugins/UsersManager/tests/UI/expected-screenshots/UsersManager_bulk_remove_access.png index 58f79ff962..95d6f354ab 100644 --- a/plugins/UsersManager/tests/UI/expected-screenshots/UsersManager_bulk_remove_access.png +++ b/plugins/UsersManager/tests/UI/expected-screenshots/UsersManager_bulk_remove_access.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:c96afe43af92900441eff8617160ad6da259b28b0b97440b28bf78e32865b424 -size 149146 +oid sha256:69a5c5b50b2a7b51e03a5bcf8259a3f079136d14ce0a12925125511a75fc818f +size 162842 -- cgit v1.2.3