From 534e13bd121d783dd546e1954333748f2598f341 Mon Sep 17 00:00:00 2001 From: Bill Smith Date: Tue, 20 Aug 2019 14:03:21 -0700 Subject: [PATCH] SHIBUI-1382 Fixed SHIBUI-950 test. test was producing an error stating that `attachFile` should be used to set the filename for a file upload element. This seems to work for the commandline runner, but there is no such command in the IDE. --- backend/src/integration/resources/SHIBUI-950.side | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/backend/src/integration/resources/SHIBUI-950.side b/backend/src/integration/resources/SHIBUI-950.side index 0410a5155..3d33b2ded 100644 --- a/backend/src/integration/resources/SHIBUI-950.side +++ b/backend/src/integration/resources/SHIBUI-950.side @@ -113,15 +113,9 @@ }, { "id": "e5d771f5-57e2-4f11-af50-124c2121d36b", "comment": "", - "command": "type", + "command": "attachFile", "target": "id=fileInput", - "targets": [ - ["id=fileInput", "id"], - ["name=file", "name"], - ["css=#fileInput", "css:finder"], - ["xpath=//input[@id='fileInput']", "xpath:attributes"], - ["xpath=//div[2]/div/input", "xpath:position"] - ], + "targets": [], "value": "${SHIBUI950}" }, { "id": "67ad4a51-7c15-41e1-bc34-62a9f3e83b46",