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:
authorStefan Giehl <stefan@matomo.org>2021-09-08 04:18:14 +0300
committerGitHub <noreply@github.com>2021-09-08 04:18:14 +0300
commit748154c5f118f03c7d70a0428f9551b01a09f8f2 (patch)
tree5971d6d692b6a5f05368062490030983d62364f3 /plugins/SegmentEditor/tests
parent7e82e80d7aa44714a412a0b6fd6cb53164b8ab6d (diff)
Fix failing UI tests (#17970)
Diffstat (limited to 'plugins/SegmentEditor/tests')
-rw-r--r--plugins/SegmentEditor/tests/UI/SegmentSelectorEditor_spec.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/SegmentEditor/tests/UI/SegmentSelectorEditor_spec.js b/plugins/SegmentEditor/tests/UI/SegmentSelectorEditor_spec.js
index 35179aa6eb..ad988111e2 100644
--- a/plugins/SegmentEditor/tests/UI/SegmentSelectorEditor_spec.js
+++ b/plugins/SegmentEditor/tests/UI/SegmentSelectorEditor_spec.js
@@ -188,7 +188,7 @@ describe("SegmentSelectorEditorTest", function () {
var elem = await page.jQuery('.modal.open .modal-footer a:contains(Yes):visible');
await elem.click();
await page.waitForNetworkIdle();
- await page.click('.segmentationContainer');
+ await (await page.waitForSelector('.segmentationContainer')).click();
await page.waitForNetworkIdle();
expect(await page.screenshotSelector(selectorsToCapture)).to.matchImage('updated');
});