From 118eea2b30c598d8335e78563bc65eea01beae5e Mon Sep 17 00:00:00 2001 From: eh552t Date: Wed, 6 Sep 2017 16:51:14 +0200 Subject: [PATCH] Modify tests to be able to add Holmes Change-Id: Ifee8c7351be96103ed6968068b54242baca6aebc Signed-off-by: eh552t Issue-Id: CLAMP-34 --- test/csit/tests/clamp/TCA/{test1.robot => 01__TCA.robot} | 1 - ...est1_create_template.robot => 01__Create_template.robot} | 13 ++++++------- .../{test2_create_Model.robot => 02__Create_model.robot} | 1 - 3 files changed, 6 insertions(+), 9 deletions(-) rename test/csit/tests/clamp/TCA/{test1.robot => 01__TCA.robot} (99%) rename test/csit/tests/clamp/UIs/{test1_create_template.robot => 01__Create_template.robot} (85%) rename test/csit/tests/clamp/UIs/{test2_create_Model.robot => 02__Create_model.robot} (98%) diff --git a/test/csit/tests/clamp/TCA/test1.robot b/test/csit/tests/clamp/TCA/01__TCA.robot similarity index 99% rename from test/csit/tests/clamp/TCA/test1.robot rename to test/csit/tests/clamp/TCA/01__TCA.robot index b1fb0f440..45f20f248 100644 --- a/test/csit/tests/clamp/TCA/test1.robot +++ b/test/csit/tests/clamp/TCA/01__TCA.robot @@ -3,7 +3,6 @@ Library Collections Library RequestsLibrary Library OperatingSystem Library json -Library HttpLibrary.HTTP *** Test Cases *** diff --git a/test/csit/tests/clamp/UIs/test1_create_template.robot b/test/csit/tests/clamp/UIs/01__Create_template.robot similarity index 85% rename from test/csit/tests/clamp/UIs/test1_create_template.robot rename to test/csit/tests/clamp/UIs/01__Create_template.robot index 008b13d2a..d740ac987 100644 --- a/test/csit/tests/clamp/UIs/test1_create_template.robot +++ b/test/csit/tests/clamp/UIs/01__Create_template.robot @@ -3,7 +3,6 @@ Library Collections Library RequestsLibrary Library OperatingSystem Library json -Library HttpLibrary.HTTP Library Selenium2Library Library XvfbRobot @@ -42,15 +41,15 @@ Create Template from Menu Click Element xpath=//*[@id="navbar"]/ul/li[1]/a Wait Until Element Is Visible locator=Create Template timeout=60 Click Element locator=Create Template - Input Text locator=modelName text=template1 + Input Text locator=modelName text=template Click Button locator=OK Drag and Drop Boxes for template - Wait Until Element Is Visible xpath=//*[@id="js-canvas"]/div/div/div[4]/div[1]/div/div[2] timeout=60 - Drag And Drop By Offset xpath=//*[@id="js-canvas"]/div/div/div[4]/div[1]/div/div[2] 280 280 - Drag And Drop By Offset xpath=//*[@id="js-canvas"]/div/div/div[4]/div[1]/div/div[4] 550 280 - Drag And Drop By Offset xpath=//*[@id="js-canvas"]/div/div/div[4]/div[1]/div/div[5] 800 280 - Drag And Drop By Offset xpath=//*[@id="js-canvas"]/div/div/div[4]/div[1]/div/div[6] 1000 280 + Wait Until Element Is Visible xpath=//*[@class="entry icon-collector-node"] timeout=60 + Drag And Drop By Offset xpath=//*[@class="entry icon-collector-node"] 280 280 + Drag And Drop By Offset xpath=//*[@class="entry icon-tca-node"] 550 280 + Drag And Drop By Offset xpath=//*[@class="entry icon-policy-node"] 800 280 + Drag And Drop By Offset xpath=//*[@class="entry icon-end-event-none"] 1000 280 Drag and Drop Connectors for template Click Element xpath=//*[starts-with(@data-element-id, "StartEvent_")] diff --git a/test/csit/tests/clamp/UIs/test2_create_Model.robot b/test/csit/tests/clamp/UIs/02__Create_model.robot similarity index 98% rename from test/csit/tests/clamp/UIs/test2_create_Model.robot rename to test/csit/tests/clamp/UIs/02__Create_model.robot index e8de881bb..979a9802e 100644 --- a/test/csit/tests/clamp/UIs/test2_create_Model.robot +++ b/test/csit/tests/clamp/UIs/02__Create_model.robot @@ -3,7 +3,6 @@ Library Collections Library RequestsLibrary Library OperatingSystem Library json -Library HttpLibrary.HTTP Library Selenium2Library Library XvfbRobot -- 2.16.6