Skip to content

Commit

Permalink
タイムアウトで E2E テストが落ちるのを改善
Browse files Browse the repository at this point in the history
  • Loading branch information
nanasess committed Jan 7, 2020
1 parent beb010d commit 87ebfd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion codeception/_support/Page/Admin/PluginStoreInstallPage.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public static function at($I)
public function インストール($message = 'インストールが完了しました。')
{
$this->tester->click(['css' => '#plugin-list > div.card-body > div:nth-child(2) > div > button.btn.btn-primary']);
$this->tester->waitForElementVisible(['id' => 'installBtn']);
$this->tester->waitForElementVisible(['id' => 'installBtn'], 60);
$this->tester->click(['id' => 'installBtn']);
$this->tester->waitForElementVisible(['css' => '#installModal > div > div > div.modal-footer > a'], 60);
$this->tester->see($message, ['css' => '#installModal > div > div > div.modal-body > p']);
Expand Down

0 comments on commit 87ebfd4

Please sign in to comment.