Skip to content

Commit

Permalink
Merge 79dcacd into 4846476
Browse files Browse the repository at this point in the history
  • Loading branch information
kiy0taka committed Aug 1, 2018
2 parents 4846476 + 79dcacd commit 8653a94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions codeception/_support/Page/Admin/LayoutEditPage.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ public function コンテキストメニューでセクションに移動($block
public function コンテキストメニューでコードプレビュー($blockName, $element = null, $timeout = 10)
{
$this->コンテキストメニューを開く($blockName);
$this->tester->scrollTo('//div[contains(@id, \'popover\')]/div[2]/div/a[4]', 0, 0);
$this->tester->waitForElementVisible(['xpath' => "//div[contains(@id, 'popover')]/div[2]/div/a[4]"]);
$this->tester->scrollTo(['xpath' => "//div[contains(@id, 'popover')]/div[2]/div/a[4]"], 0, 0);
$this->tester->wait(1);
$this->tester->click(['xpath' => "//div[contains(@id, 'popover')]/div[2]/div/a[4]"]);
$this->tester->waitForElementVisible(['id' => "codePreview"]);
if ($element) {
Expand Down

0 comments on commit 8653a94

Please sign in to comment.