Skip to content

Commit c54b46f

Browse files
committed
MAGETWO-60965: [Backport] - New attribute is not visible when create new address - for 2.0
1 parent 65dad66 commit c54b46f

File tree

2 files changed

+51
-12
lines changed

2 files changed

+51
-12
lines changed
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
<?php
2+
/**
3+
* Copyright © 2016 Magento. All rights reserved.
4+
* See COPYING.txt for license details.
5+
*/
6+
7+
namespace Magento\Customer\Test\Page;
8+
9+
use Magento\Mtf\Client\Locator;
10+
use Magento\Mtf\Factory\Factory;
11+
use Magento\Mtf\Page\Page;
12+
13+
/**
14+
* Customer Address Edit page.
15+
*/
16+
class CustomerAddressEdit extends Page
17+
{
18+
/**
19+
* URL for Customer Address Edit page.
20+
*/
21+
const MCA = 'customer/address/edit';
22+
23+
/**
24+
* Customer Address Edit form.
25+
*
26+
* @var string
27+
*/
28+
protected $editForm = '#form-validate';
29+
30+
/**
31+
* Init page. Set page url.
32+
*
33+
* @return void
34+
*/
35+
protected function initUrl()
36+
{
37+
$this->url = $_ENV['app_frontend_url'] . self::MCA;
38+
}
39+
40+
/**
41+
* Get Customer Address Edit form.
42+
*
43+
* @return \Magento\Customer\Test\Block\Address\Edit
44+
*/
45+
public function getEditForm()
46+
{
47+
return Factory::getBlockFactory()->getMagentoCustomerAddressEdit(
48+
$this->browser->find($this->editForm, Locator::SELECTOR_CSS)
49+
);
50+
}
51+
}

dev/tests/functional/tests/app/Magento/Customer/Test/Page/CustomerAddressEdit.xml

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)