@@ -9,21 +9,21 @@ def test_swag_labs(self):
9
9
self .type ("#user-name" , "standard_user" )
10
10
self .type ("#password" , "secret_sauce\n " )
11
11
self .assert_element ("div.inventory_list" )
12
- self .assert_exact_text ("PRODUCTS " , "span.title" )
12
+ self .assert_exact_text ("Products " , "span.title" )
13
13
self .click ('button[name*="backpack"]' )
14
14
self .click ("#shopping_cart_container a" )
15
- self .assert_exact_text ("YOUR CART " , "span.title" )
15
+ self .assert_exact_text ("Your Cart " , "span.title" )
16
16
self .assert_text ("Backpack" , "div.cart_item" )
17
17
self .click ("button#checkout" )
18
18
self .type ("#first-name" , "SeleniumBase" )
19
19
self .type ("#last-name" , "Automation" )
20
20
self .type ("#postal-code" , "77123" )
21
21
self .click ("input#continue" )
22
- self .assert_text ("CHECKOUT: OVERVIEW " )
22
+ self .assert_text ("Checkout: Overview " )
23
23
self .assert_text ("Backpack" , "div.cart_item" )
24
24
self .assert_text ("29.99" , "div.inventory_item_price" )
25
25
self .click ("button#finish" )
26
- self .assert_exact_text ("THANK YOU FOR YOUR ORDER " , "h2" )
26
+ self .assert_exact_text ("Thank you for your order! " , "h2" )
27
27
self .assert_element ('img[alt="Pony Express"]' )
28
28
self .js_click ("a#logout_sidebar_link" )
29
29
self .assert_element ("div#login_button_container" )
0 commit comments