Skip to content

Commit

Permalink
Merge pull request #4046 from okazy/fix-test-for-news
Browse files Browse the repository at this point in the history
お知らせ変更に対応
  • Loading branch information
yuka-kakiuchi authored Dec 12, 2018
2 parents 2a96a59 + 1a4c364 commit 6693703
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion codeception/acceptance/EA01TopCest.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public function top_001(\AcceptanceTester $I)

// お知らせの記事をクリックすると設定されたURLに遷移することを確認
$I->switchToIFrame('information');
$I->click(['css' => '.news_area .link_list .tableish a:nth-child(1)']);
$I->click(['css' => '.news_area .link_list .tableish a:nth-child(2)']);
$I->switchToNewWindow();
$I->assertRegExp('/^https?:\/\/www.ec-cube.net\/.*$/', $I->executeJS('return location.href'), '公式サイトが開く');
$I->switchToWindow();
Expand Down

0 comments on commit 6693703

Please sign in to comment.