From 26211cf73b0151aead5afdc146b88243fc7132af Mon Sep 17 00:00:00 2001 From: Stefan Giehl Date: Mon, 8 Jun 2020 13:53:15 +0200 Subject: Minor npm updates & ui test fixes (#16034) * minor npm updates * fix ui test * submodule update * updates expected UI files --- plugins/SegmentEditor/tests/UI/SegmentSelectorEditor_spec.js | 4 ++-- .../SegmentSelectorEditorTest_6_segment_editor_different.png | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/SegmentEditor/tests') 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 -- cgit v1.2.3