Skip to content

Commit bc47cd0

Browse files
committed
Update the ReadMe
1 parent a74f187 commit bc47cd0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,8 @@ class TestMFALogin(BaseCase):
116116
self.type("#username", "demo_user")
117117
self.type("#password", "secret_pass")
118118
self.enter_mfa_code("#totpcode", "GAXG2MTEOR3DMMDG") # 6-digit
119-
self.assert_element("img#image1")
120119
self.assert_exact_text("Welcome!", "h1")
120+
self.assert_element("img#image1")
121121
self.click('a:contains("This Page")')
122122
self.save_screenshot_to_logs()
123123
```
@@ -130,8 +130,8 @@ def test_mfa_login(sb):
130130
sb.type("#username", "demo_user")
131131
sb.type("#password", "secret_pass")
132132
sb.enter_mfa_code("#totpcode", "GAXG2MTEOR3DMMDG") # 6-digit
133-
sb.assert_element("img#image1")
134133
sb.assert_exact_text("Welcome!", "h1")
134+
sb.assert_element("img#image1")
135135
sb.click('a:contains("This Page")')
136136
sb.save_screenshot_to_logs()
137137
```
@@ -146,8 +146,8 @@ Feature: SeleniumBase scenarios for the RealWorld App
146146
When Type "demo_user" into "#username"
147147
And Type "secret_pass" into "#password"
148148
And Do MFA "GAXG2MTEOR3DMMDG" into "#totpcode"
149-
Then Assert element "img#image1"
150-
And Assert exact text "Welcome!" in "h1"
149+
Then Assert exact text "Welcome!" in "h1"
150+
And Assert element "img#image1"
151151
And Click 'a:contains("This Page")'
152152
And Save screenshot to logs
153153
```

0 commit comments

Comments
 (0)