summaryrefslogtreecommitdiffstats
path: root/robot/resources/portal_interface.robot
diff options
context:
space:
mode:
authormrichomme <morgan.richomme@orange.com>2020-03-09 11:23:35 +0100
committermrichomme <morgan.richomme@orange.com>2020-04-05 11:05:58 +0200
commit3256fa2ce9d99ae4b94ab202f5c36339e0159cc8 (patch)
treec1285a287708e03ba3e279b78db88198dea3ab26 /robot/resources/portal_interface.robot
parent021a5ae19631c3e8e641c497ebd2783538d29c3e (diff)
Remove trailing spaces in robot scripts
warning raised when using robotframework-linter Issue-ID: INT-1478 Signed-off-by: mrichomme <morgan.richomme@orange.com> Change-Id: I8eb97ef9e3651c0d8f9de6647ebc917d1addf9d0 Signed-off-by: mrichomme <morgan.richomme@orange.com>
Diffstat (limited to 'robot/resources/portal_interface.robot')
-rw-r--r--robot/resources/portal_interface.robot13
1 files changed, 6 insertions, 7 deletions
diff --git a/robot/resources/portal_interface.robot b/robot/resources/portal_interface.robot
index 18ff966f..95b0de97 100644
--- a/robot/resources/portal_interface.robot
+++ b/robot/resources/portal_interface.robot
@@ -22,10 +22,10 @@ ${PORTAL_HOME_URL} ${PORTAL_GUI_ENDPOINT}${PORTAL_ENV}/applicatio
*** Keywords ***
Run Portal Health Check
[Documentation] Runs Portal Health check
- ${resp}= Run Portal Get Request ${PORTAL_HEALTH_CHECK_PATH}
+ ${resp}= Run Portal Get Request ${PORTAL_HEALTH_CHECK_PATH}
Should Be Equal As Strings ${resp.status_code} 200
Should Be Equal As Strings ${resp.json()['statusCode']} 200
-
+
Run Portal Get Request
[Documentation] Runs Portal Get request
[Arguments] ${data_path}
@@ -65,7 +65,7 @@ Run Portal Application Access Tests
${status} ${resp} Run Keyword And Ignore Error Run Portal Application Login Test demo demo123456! gridster-Policy-icon-link tabframe-Policy Policy Editor
Log Policy ${status} console=yes
Close All Browsers
- ${status} ${resp} Run Keyword And Ignore Error Run Portal Application Login Test demo demo123456! gridster-SO-Monitoring-icon-link tabframe-SO-Monitoring SO
+ ${status} ${resp} Run Keyword And Ignore Error Run Portal Application Login Test demo demo123456! gridster-SO-Monitoring-icon-link tabframe-SO-Monitoring SO
Log SO-Monitoring ${status} console=yes
Close All Browsers
@@ -92,12 +92,12 @@ Login To Portal GUI
Input Password xpath=//input[@ng-model='password'] ${password}
Click Element xpath=//a[@id='loginBtn']
Sleep 5s
- #Go To ${PORTAL_HOME_URL}
+ #Go To ${PORTAL_HOME_URL}
#Wait Until Page Contains Applications ${GLOBAL_SELENIUM_BROWSER_WAIT_TIMEOUT}
Wait Until Page Contains Applications 30
Log Logged in to ${PORTAL_ENDPOINT}${PORTAL_ENV}
Log ${loginId} SUCCESS
-
+
Logout From Portal GUI
[Documentation] Logs out of Portal GUI
Go To ${PORTAL_LOGIN_URL}
@@ -123,7 +123,7 @@ Run Portal Application Login Test
Input Password xpath=//input[@ng-model='password'] ${password}
Click Element xpath=//a[@id='loginBtn']
Sleep 5s
- #Go To ${PORTAL_HOME_URL}
+ #Go To ${PORTAL_HOME_URL}
Wait Until Page Contains Applications ${GLOBAL_SELENIUM_BROWSER_WAIT_TIMEOUT}
Log Logged in to ${PORTAL_ENDPOINT}${PORTAL_ENV}
Log ${loginId} SUCCESS
@@ -162,4 +162,3 @@ Input Text When Enabled
Wait Until Page Contains Element xpath=${xpath} ${timeout}
Wait Until Element Is Enabled xpath=${xpath} ${timeout}
Input Text xpath=${xpath} ${value}
-