for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Page\Admin;
class ProductCsvUploadPage extends AbstractAdminPageStyleGuide
{
public static $完了メッセージ = 'div.c-container > div.c-contentsArea > div.alert-success';
/**
* ProductCsvUploadPage constructor.
*/
public function __construct(\AcceptanceTester $I)
parent::__construct($I);
}
public static function go($I)
$page = new ProductCsvUploadPage($I);
return $page->goPage('/product/product_csv_upload', '商品CSV登録商品管理');
public function 入力_CSVファイル($fileName)
$this->tester->attachFile(['id' => 'admin_csv_import_import_file'], $fileName);
return $this;
public function CSVアップロード()
$this->tester->click(['id' => 'upload-button']);
public function 雛形ダウンロード()
$this->tester->click('#download-button');