File tree Expand file tree Collapse file tree 2 files changed +51
-12
lines changed
dev/tests/functional/tests/app/Magento/Customer/Test/Page Expand file tree Collapse file tree 2 files changed +51
-12
lines changed Original file line number Diff line number Diff line change
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
+ }
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments