for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Page\Admin;
class DeliveryEditPage extends AbstractAdminPageStyleGuide
{
public function __construct(\AcceptanceTester $I)
parent::__construct($I);
}
public static function at($I)
$page = new self($I);
return $page->atPage('配送方法登録・編集基本情報設定');
public function 入力_配送業者名($value) {
$this->tester->fillField(['id' => 'delivery_name'], $value);
return $this;
public function 入力_名称($value) {
$this->tester->fillField(['id' => 'delivery_service_name'], $value);
public function 入力_支払方法選択($array) {
foreach ($array as $id)
$this->tester->checkOption(['id' => "delivery_payments_${id}"]);
public function 入力_全国一律送料($value) {
$this->tester->fillField(['id' => 'delivery_free_all'], $value);
$this->tester->click('#set_fee_all');
public function 登録()
$this->tester->click(['xpath' => '//button/span[text()="登録"]']);