Completed
Push — 4.0 ( 87d096...bcc1be )
by Kiyotaka
05:44 queued 11s
created

_support/Page/Admin/ShippingCsvUploadPage.php (1 issue)

Upgrade to new PHP Analysis Engine

These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more

1
<?php
2
3
/*
4
 * This file is part of EC-CUBE
5
 *
6
 * Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
7
 *
8
 * http://www.ec-cube.co.jp/
9
 *
10
 * For the full copyright and license information, please view the LICENSE
11
 * file that was distributed with this source code.
12
 */
13
14
namespace Page\Admin;
15
16 View Code Duplication
class ShippingCsvUploadPage extends AbstractAdminPageStyleGuide
17
{
18
    public static $完了メッセージ = 'div.alert-primary';
19
20
    public function __construct(\AcceptanceTester $I)
21
    {
22
        parent::__construct($I);
23
    }
24
25
    /**
26
     * @param \AcceptanceTester $I
27
     */
28
    public static function go($I)
29
    {
30
        $page = new ProductCsvUploadPage($I);
31
32
        return $page->goPage('/order/shipping_csv_upload', '出荷CSV登録受注管理');
0 ignored issues
show
The method goPage() cannot be called from this context as it is declared protected in class Page\Admin\AbstractAdminPage.

This check looks for access to methods that are not accessible from the current context.

If you need to make a method accessible to another context you can raise its visibility level in the defining class.

Loading history...
33
    }
34
35
    public function 入力_CSVファイル($fileName)
36
    {
37
        $this->tester->attachFile(['id' => 'admin_csv_import_import_file'], $fileName);
38
39
        return $this;
40
    }
41
42
    public function CSVアップロード()
43
    {
44
        $this->tester->click(['id' => 'upload-button']);
45
46
        return $this;
47
    }
48
49
    public function 雛形ダウンロード()
50
    {
51
        $this->tester->click(['id' => 'download-button']);
52
53
        return $this;
54
    }
55
}
56