diff options
author | Stefan Giehl <stefan@matomo.org> | 2022-05-30 16:48:26 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-30 16:48:26 +0300 |
commit | 3fcb8b915aba348e64cb8633222d5b62f4e2c29f (patch) | |
tree | b1a3a12bcbfc0aed82b941367e09993a62304450 /plugins/SegmentEditor/tests | |
parent | 59c2e64086d4180a7900bb252faa5f5f3e23568a (diff) |
Ensure refresh button is only shown where needed (#19292)
* Ensure refresh button is only shown where needed
* fix some deprecated method calls
* improve css
* updates expected UI files
* fix css
* updates expected UI files
Diffstat (limited to 'plugins/SegmentEditor/tests')
-rw-r--r-- | plugins/SegmentEditor/tests/UI/SegmentSelectorEditor_spec.js | 10 |
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(); |