prestashop-automation 0.8.5 → 0.8.6
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/actions/general.rb +2 -4
- metadata +1 -1
data/lib/actions/general.rb
CHANGED
@@ -32,10 +32,8 @@ module PrestaShopAutomation
|
|
32
32
|
def login_to_front_office
|
33
33
|
visit @front_office_url
|
34
34
|
click 'a.login'
|
35
|
-
|
36
|
-
|
37
|
-
fill_in 'passwd', :with => @default_customer_password
|
38
|
-
end
|
35
|
+
find('#email').set @default_customer_email
|
36
|
+
find('#passwd').set @default_customer_password
|
39
37
|
click '#SubmitLogin'
|
40
38
|
expect_to have_selector('p.info-account')
|
41
39
|
@logged_in_to_front_office_as = {
|