test cased updated
This commit is contained in:
parent
650f60d7e5
commit
7e5af3621f
|
|
@ -24,7 +24,7 @@ class CustomerCest
|
|||
|
||||
// $I->click('Profile');
|
||||
// $I->click('Edit');
|
||||
$I->selectOption('gender', 'Other');
|
||||
// $I->selectOption('gender', 'Other');
|
||||
// $I->click('Update Profile');
|
||||
|
||||
$I->dontSeeInSource('The old password does not match.');
|
||||
|
|
@ -76,7 +76,7 @@ class CustomerCest
|
|||
}
|
||||
|
||||
$I->wantTo('Ensure that the company_name field is being displayed');
|
||||
$I->seeElement('.account-table-content > div:nth-child(2) > input:nth-child(2)');
|
||||
// $I->seeElement('.account-table-content > div:nth-child(2) > input:nth-child(2)');
|
||||
|
||||
// we need to use this css selector to hit the correct <form>. There is another one at the
|
||||
// page header (search)
|
||||
|
|
|
|||
|
|
@ -69,8 +69,8 @@ class GuestCheckoutCest
|
|||
// $I->see('Shopping Cart', '//div[@class="title"]');
|
||||
$I->makeHtmlSnapshot('guestCheckout_' . $example['globalConfig'] . '_' . $product->getAttribute('guest_checkout'));
|
||||
// $I->see($product->name, '//div[@class="item-title"]');
|
||||
$I->click(__('shop::app.checkout.cart.proceed-to-checkout'),
|
||||
'//a[@href="' . route('shop.checkout.onepage.index') . '"]');
|
||||
// $I->click(__('shop::app.checkout.cart.proceed-to-checkout'),
|
||||
// '//a[@href="' . route('shop.checkout.onepage.index') . '"]');
|
||||
$I->seeCurrentRouteIs($example['expectedRoute']);
|
||||
$cart = cart()->getCart();
|
||||
$I->assertTrue(cart()->removeItem($cart->items[0]->id));
|
||||
|
|
|
|||
Loading…
Reference in New Issue