Skip to content

Commit 3139960

Browse files
committed
Added regex to handle any order on cookies
1 parent 822a862 commit 3139960

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

atest/acceptance/keywords/cookies.robot

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ Library DateTime
99
*** Test Cases ***
1010
Get Cookies
1111
${cookies}= Get Cookies
12-
Should Be Equal As Strings ${cookies}
13-
... another=value; test=seleniumlibrary; far_future=timemachine
12+
Should Match Regexp ${cookies}
13+
... (?=.*another=value)(?=.*test=seleniumlibrary)(?=.*far_future=timemachine)
1414

1515
Get Cookies As Dict
1616
${cookies}= Get Cookies as_dict=True

0 commit comments

Comments
 (0)