diff --git a/atest/test/03_Waiting/promise_to.robot b/atest/test/03_Waiting/promise_to.robot index 1f95e32ed..acd806d6b 100644 --- a/atest/test/03_Waiting/promise_to.robot +++ b/atest/test/03_Waiting/promise_to.robot @@ -1,20 +1,19 @@ *** Settings *** Resource imports.resource -Test Setup New Page ${WAIT_URL} - +Test Setup New Page ${WAIT_URL} *** Test Cases *** Promise To With Type Conversion - ${promise}= Promise To Click id=victim button=left + ${promise} = Promise To Click id=victim button=left Select Options By id=dropdown value True enabled Click id=submit noWaitAfter=True - Wait For ${promise} + Wait For ${promise} Promise To Convert Type - ${promise}= Promise To Click id=clickWithOptions left clickCount=4 delay=200 ms - Go To ${LOGIN_URL} - Wait For ${promise} + ${promise} = Promise To Click id=clickWithOptions left clickCount=4 delay=200 ms + Go To ${LOGIN_URL} + Wait For ${promise} Get Text id=click_count == 4 Get Text id=mouse_delay_time validate int(value) > 100 and int(value) < 300 Get Text id=mouse_button == left @@ -23,8 +22,8 @@ Could Not Find Keyword W Promise To [Setup] NONE TRY Promise To Could Not Find Keyword - EXCEPT ValueError: Unknown keyword 'Could Not Find Keyword'! 'Promise To' can only be used with Browser keywords. AS ${e} - Log ${e} + EXCEPT ValueError: Unknown keyword 'Could Not Find Keyword'! 'Promise To' can only be used with Browser keywords. AS ${e} + Log ${e} ELSE FAIL Should have failed - END \ No newline at end of file + END diff --git a/atest/test/05_JS_Tests/jsextension.robot b/atest/test/05_JS_Tests/jsextension.robot index 06f1b343c..d9f6321f2 100644 --- a/atest/test/05_JS_Tests/jsextension.robot +++ b/atest/test/05_JS_Tests/jsextension.robot @@ -7,7 +7,7 @@ Force Tags no-iframe *** Test Cases *** Promise To Call Custom Js Keyword New Page - ${promise} Promise To My Funky keyword h1 + ${promise} = Promise To My Funky keyword h1 Go To ${LOGIN_URL} Wait For ${promise} Get Text h1 == Funk yeah!