-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CORE-550 Add acceptance test for add.
- Loading branch information
1 parent
e68f2b5
commit 3566c6e
Showing
2 changed files
with
51 additions
and
0 deletions.
There are no files selected for viewing
34 changes: 34 additions & 0 deletions
34
tests/Acceptance/Customer/Customer/Zed/CustomerAddCest.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<?php | ||
|
||
/** | ||
* Copyright © 2016-present Spryker Systems GmbH. All rights reserved. | ||
* Use of this software requires acceptance of the Evaluation License Agreement. See LICENSE file. | ||
*/ | ||
|
||
namespace Acceptance\Customer\Customer\Zed; | ||
|
||
use Acceptance\Customer\Customer\Zed\PageObject\CustomerAddPage; | ||
use Acceptance\Customer\Customer\Zed\Tester\CustomerTester; | ||
|
||
/** | ||
* @group Acceptance | ||
* @group Customer | ||
* @group Customer | ||
* @group Zed | ||
* @group CustomerAddCest | ||
*/ | ||
class CustomerAddCest | ||
{ | ||
|
||
/** | ||
* @param \Acceptance\Customer\Customer\Zed\Tester\CustomerTester $i | ||
* | ||
* @return void | ||
*/ | ||
public function showAddForm(CustomerTester $i) | ||
{ | ||
$i->amOnPage(CustomerAddPage::URL); | ||
$i->seeElement(CustomerAddPage::SELECTOR_TABLE); | ||
} | ||
|
||
} |
17 changes: 17 additions & 0 deletions
17
tests/Acceptance/Customer/Customer/Zed/PageObject/CustomerAddPage.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?php | ||
|
||
/** | ||
* Copyright © 2016-present Spryker Systems GmbH. All rights reserved. | ||
* Use of this software requires acceptance of the Evaluation License Agreement. See LICENSE file. | ||
*/ | ||
|
||
namespace Acceptance\Customer\Customer\Zed\PageObject; | ||
|
||
class CustomerAddPage | ||
{ | ||
|
||
const URL = '/customer/add'; | ||
|
||
const SELECTOR_TABLE = '#customer'; | ||
|
||
} |