Skip to content

Commit 82a551d

Browse files
authored
Fix timeout (#76)
1 parent ca379e0 commit 82a551d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

steps/steps.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def check_page_is_not_served(context):
9696
if row['property'] == 'wait':
9797
wait = int(row['value'])
9898
if row['property'] == 'timeout':
99-
timeout = row['value']
99+
timeout = float(row['value'])
100100
if row['property'] == 'expected_phrase':
101101
expected_phrase = row['value']
102102
if row['property'] == 'path':
@@ -142,7 +142,7 @@ def check_page_is_served(context):
142142
if row['property'] == 'wait':
143143
wait = int(row['value'])
144144
if row['property'] == 'timeout':
145-
timeout = row['value']
145+
timeout = float(row['value'])
146146
if row['property'] == 'expected_phrase':
147147
expected_phrase = row['value']
148148
if row['property'] == 'path':

0 commit comments

Comments
 (0)