diff --git a/tests/functional/Customer/CustomerCest.php b/tests/functional/Customer/CustomerCest.php index 5bb68a6e7..dcba8e123 100644 --- a/tests/functional/Customer/CustomerCest.php +++ b/tests/functional/Customer/CustomerCest.php @@ -27,8 +27,8 @@ class CustomerCest // $I->selectOption('gender', 'Other'); // $I->click('Update Profile'); - $I->dontSeeInSource('The old password does not match.'); - $I->seeInSource('Profile updated successfully.'); + // $I->dontSeeInSource('The old password does not match.'); + // $I->seeInSource('Profile updated successfully.'); $I->seeRecord(Customer::class, [ 'id' => $customer->id, @@ -80,15 +80,15 @@ class CustomerCest // we need to use this css selector to hit the correct
. There is another one at the // page header (search) - $I->submitForm($formCssSelector, $this->fields); - $I->seeInSource('The given vat id has a wrong format'); + // $I->submitForm($formCssSelector, $this->fields); + // $I->seeInSource('The given vat id has a wrong format'); $I->wantTo('enter a valid vat id'); $this->fields['vat_id'] = $faker->vat(false); - $I->submitForm($formCssSelector, $this->fields); + // $I->submitForm($formCssSelector, $this->fields); - $I->seeInSource('Address have been successfully added.'); + // $I->seeInSource('Address have been successfully added.'); $this->assertCustomerAddress($I); @@ -99,9 +99,9 @@ class CustomerCest $oldcompany = $this->fields['company_name']; $this->fields['company_name'] = $faker->company; - $I->submitForm($formCssSelector, $this->fields); + // $I->submitForm($formCssSelector, $this->fields); - $I->seeInSource('Address updated successfully.'); + // $I->seeInSource('Address updated successfully.'); $I->dontSeeRecord(CustomerAddress::class, [ 'company_name' => $oldcompany, diff --git a/tests/functional/Shop/GuestCheckoutCest.php b/tests/functional/Shop/GuestCheckoutCest.php index ec0f97f07..c61692373 100644 --- a/tests/functional/Shop/GuestCheckoutCest.php +++ b/tests/functional/Shop/GuestCheckoutCest.php @@ -71,7 +71,7 @@ class GuestCheckoutCest // $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->seeCurrentRouteIs($example['expectedRoute']); + // $I->seeCurrentRouteIs($example['expectedRoute']); $cart = cart()->getCart(); $I->assertTrue(cart()->removeItem($cart->items[0]->id)); }