From d4d8c395009e8ace99eb8b6a42d578283e8c3888 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominic=20K=C3=B6nig?= Date: Mon, 14 Dec 2020 10:16:42 +0100 Subject: [PATCH] Edentest: fix some deprecated robot syntax --- VERSION | 2 +- tests/implementation/resources/base.robot | 4 ++-- tests/implementation/testsuites/smoke_tests/smoke_tests.robot | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/VERSION b/VERSION index 0f93e161e7..9edc425f47 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -nursix-dev-4280-g65a0f4edd (2020-12-14 10:16:06) +nursix-dev-4281-g0d7f5d9a1 (2020-12-14 10:16:42) diff --git a/tests/implementation/resources/base.robot b/tests/implementation/resources/base.robot index 51e7bedc9c..a9c3aee9bb 100644 --- a/tests/implementation/resources/base.robot +++ b/tests/implementation/resources/base.robot @@ -87,8 +87,8 @@ Check for ticket and catch exception # Log it ${passed}= Run Keyword and Return Status Should Not Be Empty ${Failed URL} - Run Keyword If ${passed} Log @{With Failed URL}[0] @{With Failed URL}[1] ERROR - Run Keyword Unless ${passed} Log @{Without Failed URL}[0] @{Without Failed URL}[1] ERROR + Run Keyword If ${passed} Log ${With Failed URL}[0] ${With Failed URL}[1] ERROR + Run Keyword Unless ${passed} Log ${Without Failed URL}[0] ${Without Failed URL}[1] ERROR # Return errors if the Failed URL is given Return From Keyword if ${passed} @{With Failed URL} diff --git a/tests/implementation/testsuites/smoke_tests/smoke_tests.robot b/tests/implementation/testsuites/smoke_tests/smoke_tests.robot index 7b1f61afff..8507a6c0c4 100644 --- a/tests/implementation/testsuites/smoke_tests/smoke_tests.robot +++ b/tests/implementation/testsuites/smoke_tests/smoke_tests.robot @@ -62,7 +62,7 @@ Check For Errors Return From Keyword If ${passed}==${1} ${1} ${passed}= Check For Ticket And Catch Exception ${Failed URL} - Run Keyword If ${passed}!=0 Append To File ${Log File} @{passed}[0]@{passed}[1] + Run Keyword If ${passed}!=0 Append To File ${Log File} ${passed}[0]${passed}[1] Login To Eden If Not Logged In ${VALID USER} ${VALID PASSWORD} Return From Keyword If ${passed}!=${0} ${1}