Completed
Push — 4.0 ( d47428...a1c143 )
by Kiyotaka
06:47 queued 10s
created

InstallPage::go()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
nc 1
nop 1
dl 0
loc 6
rs 10
c 0
b 0
f 0
1
<?php
2
3
/*
4
 * This file is part of EC-CUBE
5
 *
6
 * Copyright(c) LOCKON CO.,LTD. All Rights Reserved.
7
 *
8
 * http://www.lockon.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\Install;
15
16
class InstallPage extends AbstractInstallPage
17
{
18
    public static $STEP1_タイトル = '#main > div > div > div > div > div > div.page-header > h1';
19
    public static $STEP1_次へ = '//*[@id="form1"]/ul/li/button';
20
21
    public static $STEP2_タイトル = '#main > div > div > div.page-header > h1';
22
    public static $STEP2_テキストエリア = '#main > div > div > div.container-fluid > div > div > textarea';
23
24
    public static function go(\AcceptanceTester $I)
25
    {
26
        $page = new self($I);
27
28
        return $page->goPage('');
29
    }
30
31
    public function step1_次へボタンをクリック()
32
    {
33
        $this->tester->click(self::$STEP1_次へ);
34
35
        return $this;
36
    }
37
38
    public function step2_リロード()
39
    {
40
        $this->tester->reloadPage();
41
42
        return $this;
43
    }
44
}
45