Skip to content

Commit c1dc94a

Browse files
author
Oleh Posyniak
committed
MAGETWO-42984: Remove Section from Customer Data
2 parents 9d31376 + 208cd1c commit c1dc94a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

dev/tests/functional/tests/app/Magento/Customer/Test/TestCase/UpdateCustomerFrontendEntityTest.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,15 +124,21 @@ public function test(
124124
'Magento\Customer\Test\TestStep\LoginCustomerOnFrontendStep',
125125
['customer' => $initialCustomer]
126126
)->run();
127+
$this->cmsIndex->getCmsPageBlock()->waitPageInit();
128+
sleep(3); // TODO: remove after resolving an issue with ajax on Frontend.
127129
$this->customerAccountIndex->getInfoBlock()->openEditContactInfo();
128130
$this->customerAccountEdit->getAccountInfoForm()->fill($customer);
129131
$this->customerAccountEdit->getAccountInfoForm()->submit();
132+
$this->cmsIndex->getCmsPageBlock()->waitPageInit();
130133

131134
\PHPUnit_Framework_Assert::assertThat($this->getName(), $assertCustomerInfoSuccessSavedMessage);
132135

133136
$this->cmsIndex->getCmsPageBlock()->waitPageInit();
134137
$this->customerAccountIndex->getDashboardAddress()->editBillingAddress();
135138
$this->customerAddressEdit->getEditForm()->fill($address);
136139
$this->customerAddressEdit->getEditForm()->saveAddress();
140+
$this->cmsIndex->getCmsPageBlock()->waitPageInit();
141+
$this->cmsIndex->getCmsPageBlock()->waitPageInit();
142+
sleep(3); // TODO: remove after resolving an issue with ajax on Frontend.
137143
}
138144
}

0 commit comments

Comments
 (0)