Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Morpheus/tests/UI/Morpheus_spec.js')
-rw-r--r--plugins/Morpheus/tests/UI/Morpheus_spec.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Morpheus/tests/UI/Morpheus_spec.js b/plugins/Morpheus/tests/UI/Morpheus_spec.js
index a6685d85ce..44f5de9302 100644
--- a/plugins/Morpheus/tests/UI/Morpheus_spec.js
+++ b/plugins/Morpheus/tests/UI/Morpheus_spec.js
@@ -18,13 +18,13 @@ describe("Morpheus", function () {
it("should show all UI components and CSS classes", async function() {
await page.goto(url);
- await page.waitFor('.progressbar img');
+ await page.waitForSelector('.progressbar img');
await page.evaluate(() => {
$('img[src~=loading],.progressbar img').each(function () {
$(this).hide();
});
});
- await page.waitFor(500); // wait for rendering
+ await page.waitForTimeout(500); // wait for rendering
expect(await page.screenshot({ fullPage: true })).to.matchImage('load');
});
});