for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Page\Admin;
class CategoryCsvUploadPage extends AbstractAdminPageStyleGuide
{
public static $完了メッセージ = '.c-container div.c-contentsArea > div.alert-success';
/**
* CategoryCsvUploadPage constructor.
*/
public function __construct(\AcceptanceTester $I)
parent::__construct($I);
}
public static function go($I)
$page = new self($I);
return $page->goPage('/product/category_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');