From 2ce93c6ae99de3098cbf5f4d88b097fd7a4736f8 Mon Sep 17 00:00:00 2001 From: Xiaofeng Wang Date: Mon, 3 Jun 2019 11:37:50 +0800 Subject: [PATCH] test: Click input box before Ctrl-V to make case more stable The export copy and paste case sometimes failed on Edge browser, add one more step before paste exported content --- test/end-to-end/specs/viewBlueprint.test.js | 1 + 1 file changed, 1 insertion(+) diff --git a/test/end-to-end/specs/viewBlueprint.test.js b/test/end-to-end/specs/viewBlueprint.test.js index e331f82e8..ac7e403b0 100644 --- a/test/end-to-end/specs/viewBlueprint.test.js +++ b/test/end-to-end/specs/viewBlueprint.test.js @@ -176,6 +176,7 @@ describe("View Blueprint Page", function() { // back to view blueprint page for pasting viewBlueprintPage.selectedComponentsTab.click(); // paste blueprint manifest here to test copy function + viewBlueprintPage.selectedComponentFilter.click(); viewBlueprintPage.selectedComponentFilter.setValue(["Control", "v"]); viewBlueprintPage.selectedComponentFilter.waitForValue(timeout); expect(viewBlueprintPage.selectedComponentFilter.getValue()).to.equal(blueprintManifest);