Adjust acceptance test timeouts
[MAILPOET-1875]
This commit is contained in:
committed by
Pavel Dohnal
parent
4c82c24bf8
commit
e035c5131d
@@ -43,8 +43,8 @@ class ConfirmTitleAlignmentSettingsInALCBlockCest {
|
|||||||
$I->checkOption('[data-automation-id="title_above_excerpt"]');
|
$I->checkOption('[data-automation-id="title_above_excerpt"]');
|
||||||
|
|
||||||
// wait for xhr to finish loading
|
// wait for xhr to finish loading
|
||||||
$I->waitForJS("return $.active > 0;", 30);
|
$I->waitForJS("return $.active > 0;", 60);
|
||||||
$I->waitForJS("return $.active == 0;", 30);
|
$I->waitForJS("return $.active == 0;", 60);
|
||||||
$I->waitForText($post_title);
|
$I->waitForText($post_title);
|
||||||
|
|
||||||
// assert we have heading and text as a next sibling in a vertical block
|
// assert we have heading and text as a next sibling in a vertical block
|
||||||
@@ -54,8 +54,8 @@ class ConfirmTitleAlignmentSettingsInALCBlockCest {
|
|||||||
$I->checkOption('[data-automation-id="title_above_post"]');
|
$I->checkOption('[data-automation-id="title_above_post"]');
|
||||||
|
|
||||||
// wait for xhr to finish loading
|
// wait for xhr to finish loading
|
||||||
$I->waitForJS("return $.active > 0;", 30);
|
$I->waitForJS("return $.active > 0;", 60);
|
||||||
$I->waitForJS("return $.active == 0;", 30);
|
$I->waitForJS("return $.active == 0;", 60);
|
||||||
$I->waitForText($post_title);
|
$I->waitForText($post_title);
|
||||||
|
|
||||||
// assert no vertical element with two text block is present
|
// assert no vertical element with two text block is present
|
||||||
|
@@ -64,7 +64,7 @@ class ReceivePostNotificationCest {
|
|||||||
$I->waitForText('View history', 90);
|
$I->waitForText('View history', 90);
|
||||||
$selector = sprintf('[data-automation-id="history-%d"]', $newsletter->id());
|
$selector = sprintf('[data-automation-id="history-%d"]', $newsletter->id());
|
||||||
$I->click($selector);
|
$I->click($selector);
|
||||||
$I->waitForText('Sent to 1 of 1', 190);
|
$I->waitForText('Sent to 1 of 1', 90);
|
||||||
|
|
||||||
// confirm newsletter is received
|
// confirm newsletter is received
|
||||||
$I->amOnMailboxAppPage();
|
$I->amOnMailboxAppPage();
|
||||||
|
@@ -33,7 +33,7 @@ class ReceiveStandardEmailCest {
|
|||||||
$I->waitForElement('.mailpoet_progress_label', 90);
|
$I->waitForElement('.mailpoet_progress_label', 90);
|
||||||
//confirm newsletter is received
|
//confirm newsletter is received
|
||||||
$I->amOnMailboxAppPage();
|
$I->amOnMailboxAppPage();
|
||||||
$I->waitForText($newsletter_title, 190);
|
$I->waitForText($newsletter_title, 90);
|
||||||
$I->click(Locator::contains('span.subject', $newsletter_title));
|
$I->click(Locator::contains('span.subject', $newsletter_title));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user