Skip to content

Commit

Permalink
CORE-550 Add acceptance test for add.
Browse files Browse the repository at this point in the history
  • Loading branch information
dereuromark committed Sep 20, 2016
1 parent e68f2b5 commit 3566c6e
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 0 deletions.
34 changes: 34 additions & 0 deletions tests/Acceptance/Customer/Customer/Zed/CustomerAddCest.php
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);
}

}
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';

}

0 comments on commit 3566c6e

Please sign in to comment.