Skip to content

Commit 2b80756

Browse files
author
Michael Logvin
committed
Merge branch 'MAGETWO-31478' of https://github.corp.ebay.com/magento-firedrakes/magento2ce into MAGETWO-31478
2 parents 955de57 + 27a0f48 commit 2b80756

File tree

2 files changed

+1
-13
lines changed

2 files changed

+1
-13
lines changed

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

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,6 @@ class CustomerForm extends FormTabs
5151
*/
5252
protected $fieldWrapperControl = './/*[contains(@class, "form__field")]/*[contains(@class,"control")]';
5353

54-
/**
55-
* Table with customer information
56-
*
57-
* @var string
58-
*/
59-
protected $dataTable = '.data-table';
60-
6154
// @codingStandardsIgnoreStart
6255
/**
6356
* Field wrapper with absent control block on form.
@@ -101,7 +94,6 @@ public function fillCustomer(FixtureInterface $customer, $address = null)
10194
public function updateCustomer(FixtureInterface $customer, $address = null)
10295
{
10396
$this->waitForm();
104-
$this->waitForElementVisible($this->dataTable);
10597

10698
$isHasData = ($customer instanceof InjectableFixture) ? $customer->hasData() : true;
10799
if ($isHasData) {
@@ -125,7 +117,6 @@ public function updateCustomer(FixtureInterface $customer, $address = null)
125117
public function getDataCustomer(FixtureInterface $customer, $address = null)
126118
{
127119
$this->waitForm();
128-
$this->waitForElementVisible($this->dataTable);
129120

130121
$data = ['customer' => $customer->hasData() ? parent::getData($customer) : parent::getData()];
131122
if (null !== $address) {
@@ -146,6 +137,7 @@ protected function waitForm()
146137
{
147138
$this->waitForElementNotVisible($this->spinner);
148139
$this->waitForElementVisible($this->activeFormTab);
140+
sleep(10); //@todo MAGETWO-33615
149141
}
150142

151143
/**

dev/tests/functional/tests/app/Magento/Customer/Test/Constraint/AssertCustomerForm.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,6 @@ public function processAssert(
7171
$pageCustomerIndex->open();
7272
$pageCustomerIndex->getCustomerGridBlock()->searchAndOpen($filter);
7373

74-
/** @var \Magento\Mtf\System\Event\EventManagerInterface $eventManager */
75-
$eventManager = $this->objectManager->get('Magento\Mtf\System\Event\EventManagerInterface');
76-
$eventManager->dispatchEvent(['exception'], [var_export($data, true)]);
77-
7874
$dataForm = $pageCustomerIndexEdit->getCustomerForm()->getDataCustomer($customer, $address);
7975
$dataDiff = $this->verify($data, $dataForm);
8076
\PHPUnit_Framework_Assert::assertTrue(

0 commit comments

Comments
 (0)