diff options
Diffstat (limited to 'plugins/Marketplace/tests/UI/Marketplace_spec.js')
-rw-r--r-- | plugins/Marketplace/tests/UI/Marketplace_spec.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Marketplace/tests/UI/Marketplace_spec.js b/plugins/Marketplace/tests/UI/Marketplace_spec.js index 00b0a29e10..b38dde471d 100644 --- a/plugins/Marketplace/tests/UI/Marketplace_spec.js +++ b/plugins/Marketplace/tests/UI/Marketplace_spec.js @@ -28,7 +28,7 @@ describe("Marketplace", function () { const elem = await page.waitForSelector('.card-title [piwik-plugin-name="' + pluginName + '"]'); await elem.click(); await page.waitForNetworkIdle(); - await page.waitFor('.ui-dialog .pluginDetails'); + await page.waitForSelector('.ui-dialog .pluginDetails'); } async function captureSelector(screenshotName, selector) @@ -205,7 +205,7 @@ describe("Marketplace", function () { await page.click('.marketplace-paid-intro'); // click outside so change event is triggered await page.click('#submit_license_key input'); await page.waitForNetworkIdle(); - await page.waitFor(200); + await page.waitForTimeout(200); await captureWithNotification(mode + '_invalid_license_key_entered'); }); |