Skip to content

Commit 2cdea6f

Browse files
author
Michael Logvin
committed
MAGETWO-33053: MTF Configuration pull request
1 parent d3b3fcc commit 2cdea6f

File tree

1 file changed

+2
-1
lines changed
  • dev/tests/functional/tests/app/Magento/Customer/Test/Block/Adminhtml/Edit

1 file changed

+2
-1
lines changed

dev/tests/functional/tests/app/Magento/Customer/Test/Block/Adminhtml/Edit/CustomerForm.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ public function fillCustomer(FixtureInterface $customer, $address = null)
9494
public function updateCustomer(FixtureInterface $customer, $address = null)
9595
{
9696
$this->waitForm();
97+
$this->waitFields();
9798

9899
$isHasData = ($customer instanceof InjectableFixture) ? $customer->hasData() : true;
99100
if ($isHasData) {
@@ -117,6 +118,7 @@ public function updateCustomer(FixtureInterface $customer, $address = null)
117118
public function getDataCustomer(FixtureInterface $customer, $address = null)
118119
{
119120
$this->waitForm();
121+
$this->waitFields();
120122

121123
$data = ['customer' => $customer->hasData() ? parent::getData($customer) : parent::getData()];
122124
if (null !== $address) {
@@ -137,7 +139,6 @@ protected function waitForm()
137139
{
138140
$this->waitForElementNotVisible($this->spinner);
139141
$this->waitForElementVisible($this->activeFormTab);
140-
sleep(20);
141142
}
142143

143144
/**

0 commit comments

Comments
 (0)