diff options
Diffstat (limited to 'plugins/SegmentEditor/tests/UI/SegmentSelectorEditor_spec.js')
-rw-r--r-- | plugins/SegmentEditor/tests/UI/SegmentSelectorEditor_spec.js | 4 |
1 files changed, 2 insertions, 2 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'); }); |