Showing
2 changed files
with
12 additions
and
12 deletions
@@ -53,7 +53,7 @@ Login | @@ -53,7 +53,7 @@ Login | ||
53 | Pre Login | 53 | Pre Login |
54 | [Arguments] @{ARGUMENTS} | 54 | [Arguments] @{ARGUMENTS} |
55 | [Documentation] | 55 | [Documentation] |
56 | - ... ${ARGUMENTS[0]} == username | 56 | + ... ${ARGUMENTS[0]} == username |
57 | ${login}= Get Broker Property By Username ${ARGUMENTS[0]} login | 57 | ${login}= Get Broker Property By Username ${ARGUMENTS[0]} login |
58 | ${password}= Get Broker Property By Username ${ARGUMENTS[0]} password | 58 | ${password}= Get Broker Property By Username ${ARGUMENTS[0]} password |
59 | Wait Until Page Contains Element name=siteLogin 10 | 59 | Wait Until Page Contains Element name=siteLogin 10 |
@@ -51,9 +51,9 @@ Set Suite Variable With Default Value | @@ -51,9 +51,9 @@ Set Suite Variable With Default Value | ||
51 | Get Broker Property | 51 | Get Broker Property |
52 | [Arguments] ${broker_name} ${property} | 52 | [Arguments] ${broker_name} ${property} |
53 | [Documentation] | 53 | [Documentation] |
54 | - ... This keyword returns a property of specified broker | ||
55 | - ... if that property exists, otherwise, it returns a | ||
56 | - ... default value. | 54 | + ... This keyword returns a property of specified broker |
55 | + ... if that property exists, otherwise, it returns a | ||
56 | + ... default value. | ||
57 | ${status}= Run Keyword And Return Status Should Contain ${BROKERS['${broker_name}']} ${property} | 57 | ${status}= Run Keyword And Return Status Should Contain ${BROKERS['${broker_name}']} ${property} |
58 | Return From Keyword If ${status} ${BROKERS['${broker_name}'].${property}} | 58 | Return From Keyword If ${status} ${BROKERS['${broker_name}'].${property}} |
59 | # If broker doesn't have that property, fall back to default value | 59 | # If broker doesn't have that property, fall back to default value |
@@ -62,9 +62,9 @@ Get Broker Property | @@ -62,9 +62,9 @@ Get Broker Property | ||
62 | 62 | ||
63 | Get Broker Property By Username | 63 | Get Broker Property By Username |
64 | [Documentation] | 64 | [Documentation] |
65 | - ... This keyword gets the corresponding broker name | ||
66 | - ... for a specified username and then calls | ||
67 | - ... "Get Broker Property" | 65 | + ... This keyword gets the corresponding broker name |
66 | + ... for a specified username and then calls | ||
67 | + ... "Get Broker Property" | ||
68 | [Arguments] ${username} ${property} | 68 | [Arguments] ${username} ${property} |
69 | ${broker_name}= Get Variable Value ${USERS.users['${username}'].broker} | 69 | ${broker_name}= Get Variable Value ${USERS.users['${username}'].broker} |
70 | Run Keyword And Return Get Broker Property ${broker_name} ${property} | 70 | Run Keyword And Return Get Broker Property ${broker_name} ${property} |
@@ -101,8 +101,8 @@ Get Broker Property By Username | @@ -101,8 +101,8 @@ Get Broker Property By Username | ||
101 | Дочекатись синхронізації з майданчиком | 101 | Дочекатись синхронізації з майданчиком |
102 | [Arguments] ${username} | 102 | [Arguments] ${username} |
103 | [Documentation] | 103 | [Documentation] |
104 | - ... Get ${wait_timeout} for specified user and wait | ||
105 | - ... until that timeout runs out. | 104 | + ... Get ${wait_timeout} for specified user and wait |
105 | + ... until that timeout runs out. | ||
106 | ${now}= Get Current Date | 106 | ${now}= Get Current Date |
107 | ${delta}= Subtract Date From Date ${now} ${TENDER['LAST_MODIFICATION_DATE']} | 107 | ${delta}= Subtract Date From Date ${now} ${TENDER['LAST_MODIFICATION_DATE']} |
108 | ${timeout_on_wait}= Get Broker Property By Username ${username} timeout_on_wait | 108 | ${timeout_on_wait}= Get Broker Property By Username ${username} timeout_on_wait |
@@ -162,9 +162,9 @@ Get Broker Property By Username | @@ -162,9 +162,9 @@ Get Broker Property By Username | ||
162 | 162 | ||
163 | Викликати для учасника | 163 | Викликати для учасника |
164 | [Documentation] | 164 | [Documentation] |
165 | - ... Cause sometimes keyword SHOULD fail to pass the testcase, | ||
166 | - ... this keyword takes "shouldfail" argument as first one in @{arguments} | ||
167 | - ... and switches the behaviour of keyword and "shouldfail" | 165 | + ... Cause sometimes keyword SHOULD fail to pass the testcase, |
166 | + ... this keyword takes "shouldfail" argument as first one in @{arguments} | ||
167 | + ... and switches the behaviour of keyword and "shouldfail" | ||
168 | [Arguments] ${username} ${command} @{arguments} | 168 | [Arguments] ${username} ${command} @{arguments} |
169 | Log ${username} | 169 | Log ${username} |
170 | Log ${command} | 170 | Log ${command} |
Please
register
or
login
to post a comment