diff options
author | Stefan Giehl <stefan@matomo.org> | 2021-09-08 04:18:14 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-08 04:18:14 +0300 |
commit | 748154c5f118f03c7d70a0428f9551b01a09f8f2 (patch) | |
tree | 5971d6d692b6a5f05368062490030983d62364f3 /plugins/SegmentEditor | |
parent | 7e82e80d7aa44714a412a0b6fd6cb53164b8ab6d (diff) |
Fix failing UI tests (#17970)
Diffstat (limited to 'plugins/SegmentEditor')
-rw-r--r-- | plugins/SegmentEditor/tests/UI/SegmentSelectorEditor_spec.js | 2 |
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'); }); |