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/SegmentEditor/tests/UI/SegmentSelectorEditor_spec.js')
-rw-r--r--plugins/SegmentEditor/tests/UI/SegmentSelectorEditor_spec.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/SegmentEditor/tests/UI/SegmentSelectorEditor_spec.js b/plugins/SegmentEditor/tests/UI/SegmentSelectorEditor_spec.js
index d11aaea225..738868ae90 100644
--- a/plugins/SegmentEditor/tests/UI/SegmentSelectorEditor_spec.js
+++ b/plugins/SegmentEditor/tests/UI/SegmentSelectorEditor_spec.js
@@ -117,7 +117,7 @@ describe("SegmentSelectorEditorTest", function () {
await page.evaluate(function (i) {
$(`.metricValueBlock input:eq(${i})`).val('value ' + i).change();
}, i);
- await page.waitFor(200);
+ await page.waitForTimeout(200);
}
await page.type('input.edit_segment_name', 'new segment');
@@ -165,10 +165,10 @@ describe("SegmentSelectorEditorTest", function () {
await page.evaluate(function (i) {
$(`.metricValueBlock input:eq(${i})`).val('new value ' + i).change();
}, i);
- await page.waitFor(200);
+ await page.waitForTimeout(200);
}
- await page.waitFor(200);
+ await page.waitForTimeout(200);
await page.evaluate(function () {
$('button.saveAndApply').click();
@@ -296,7 +296,7 @@ describe("SegmentSelectorEditorTest", function () {
$('.segmentRow1 .metricValueBlock input').val(complexValue).change();
});
- await page.waitFor(200);
+ await page.waitForTimeout(200);
await page.evaluate(function () {
$('button.saveAndApply').click();
@@ -340,7 +340,7 @@ describe("SegmentSelectorEditorTest", function () {
console.log(dialog.message());
});
- await page.waitFor(200);
+ await page.waitForTimeout(200);
await page.evaluate(function () {
$('button.saveAndApply').click();