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>2020-06-08 14:53:15 +0300
committerGitHub <noreply@github.com>2020-06-08 14:53:15 +0300
commit26211cf73b0151aead5afdc146b88243fc7132af (patch)
treedd465b27ee2b4e3551839cd29625f1a7d2d06d78 /plugins/SegmentEditor/tests
parent277c07b6e69ca9ae8b8a490d8c079301d13ce9b6 (diff)
Minor npm updates & ui test fixes (#16034)
* minor npm updates * fix ui test * submodule update * updates expected UI files
Diffstat (limited to 'plugins/SegmentEditor/tests')
-rw-r--r--plugins/SegmentEditor/tests/UI/SegmentSelectorEditor_spec.js4
-rw-r--r--plugins/SegmentEditor/tests/UI/expected-screenshots/SegmentSelectorEditorTest_6_segment_editor_different.png4
2 files changed, 4 insertions, 4 deletions
diff --git a/plugins/SegmentEditor/tests/UI/SegmentSelectorEditor_spec.js b/plugins/SegmentEditor/tests/UI/SegmentSelectorEditor_spec.js
index c0663b8ce1..eb402b1df7 100644
--- a/plugins/SegmentEditor/tests/UI/SegmentSelectorEditor_spec.js
+++ b/plugins/SegmentEditor/tests/UI/SegmentSelectorEditor_spec.js
@@ -57,7 +57,7 @@ describe("SegmentSelectorEditorTest", function () {
expect(await page.screenshotSelector(selectorsToCapture)).to.matchImage('3_segment_editor_edit_name');
});
- it("should show the egment editor's available segments dropdown", async function() {
+ it("should show the segment editor's available segments dropdown", async function() {
var elem = await page.$('.available_segments a.dropList');
await elem.hover();
await page.click('.available_segments a.dropList');
@@ -65,7 +65,7 @@ describe("SegmentSelectorEditorTest", function () {
});
it("should change segment when another available segment clicked in segment editor's available segments dropdown", async function() {
- await (await page.jQuery('.segmentationContainer a.add_new_segment')).click();
+ await (await page.jQuery('.ui-menu-item div:contains(Add new segment)')).click();
await page.waitForNetworkIdle();
expect(await page.screenshotSelector(selectorsToCapture)).to.matchImage('6_segment_editor_different');
});
diff --git a/plugins/SegmentEditor/tests/UI/expected-screenshots/SegmentSelectorEditorTest_6_segment_editor_different.png b/plugins/SegmentEditor/tests/UI/expected-screenshots/SegmentSelectorEditorTest_6_segment_editor_different.png
index 4abc9bba81..6cc1f6f045 100644
--- a/plugins/SegmentEditor/tests/UI/expected-screenshots/SegmentSelectorEditorTest_6_segment_editor_different.png
+++ b/plugins/SegmentEditor/tests/UI/expected-screenshots/SegmentSelectorEditorTest_6_segment_editor_different.png
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:17ff13a112db03b10033968831310fd9d225580733fa71d67e4004eb2b583cf9
-size 33770
+oid sha256:6a5fa4c865ec79d50ba214af6c89a80a6332da5feae310d97b0947602b3218da
+size 34213