Increase timeout for segments and subscribers tests
[MAILPOET-3019]
This commit is contained in:
committed by
Pavel Dohnal
parent
fbb0fb749e
commit
6f5778c0fe
@@ -29,12 +29,12 @@ class DeleteTrashedSegmentCest {
|
|||||||
$i->click('[data-automation-id="dynamic-segments-tab"]');
|
$i->click('[data-automation-id="dynamic-segments-tab"]');
|
||||||
$i->waitForElement('[data-automation-id="filters_trash"]');
|
$i->waitForElement('[data-automation-id="filters_trash"]');
|
||||||
$i->click('[data-automation-id="filters_trash"]');
|
$i->click('[data-automation-id="filters_trash"]');
|
||||||
$i->waitForText($segmentTitle, 10, $listingAutomationSelector);
|
$i->waitForText($segmentTitle, 20, $listingAutomationSelector);
|
||||||
$i->clickItemRowActionByItemName($segmentTitle, 'Delete permanently');
|
$i->clickItemRowActionByItemName($segmentTitle, 'Delete permanently');
|
||||||
$i->waitForText('1 segment was permanently deleted.');
|
$i->waitForText('1 segment was permanently deleted.');
|
||||||
$i->dontSeeElement($listingAutomationSelector);
|
$i->dontSeeElement($listingAutomationSelector);
|
||||||
$i->seeNoJSErrors();
|
$i->seeNoJSErrors();
|
||||||
$i->waitForText($segmentTitle . '2');
|
$i->waitForText($segmentTitle . '2', 20);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function emptyTrash(\AcceptanceTester $i) {
|
public function emptyTrash(\AcceptanceTester $i) {
|
||||||
@@ -61,7 +61,7 @@ class DeleteTrashedSegmentCest {
|
|||||||
$i->click('[data-automation-id="dynamic-segments-tab"]');
|
$i->click('[data-automation-id="dynamic-segments-tab"]');
|
||||||
$i->waitForElement('[data-automation-id="filters_trash"]');
|
$i->waitForElement('[data-automation-id="filters_trash"]');
|
||||||
$i->click('[data-automation-id="filters_trash"]');
|
$i->click('[data-automation-id="filters_trash"]');
|
||||||
$i->waitForText($segmentTitle, 10, $listingAutomationSelector);
|
$i->waitForText($segmentTitle, 20, $listingAutomationSelector);
|
||||||
|
|
||||||
$i->click('[data-automation-id="empty_trash"]');
|
$i->click('[data-automation-id="empty_trash"]');
|
||||||
$i->waitForText('1 segment was permanently deleted.');
|
$i->waitForText('1 segment was permanently deleted.');
|
||||||
@@ -69,6 +69,6 @@ class DeleteTrashedSegmentCest {
|
|||||||
$i->seeNoJSErrors();
|
$i->seeNoJSErrors();
|
||||||
|
|
||||||
$i->click('[data-automation-id="filters_all"]');
|
$i->click('[data-automation-id="filters_all"]');
|
||||||
$i->waitForText($segmentTitle . '2');
|
$i->waitForText($segmentTitle . '2', 20);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -90,7 +90,7 @@ class SubscriberManagementCest {
|
|||||||
$i->waitForText($newSubscriberEmail);
|
$i->waitForText($newSubscriberEmail);
|
||||||
$i->clickItemRowActionByItemName($newSubscriberEmail, 'Restore');
|
$i->clickItemRowActionByItemName($newSubscriberEmail, 'Restore');
|
||||||
$i->amOnMailpoetPage('Subscribers');
|
$i->amOnMailpoetPage('Subscribers');
|
||||||
$i->waitForText($newSubscriberEmail);
|
$i->waitForText($newSubscriberEmail, 20);
|
||||||
$i->seeNoJSErrors();
|
$i->seeNoJSErrors();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -113,7 +113,7 @@ class SubscriberManagementCest {
|
|||||||
$i->waitForText('1 subscriber was permanently deleted.');
|
$i->waitForText('1 subscriber was permanently deleted.');
|
||||||
$i->dontSee($newSubscriberEmail);
|
$i->dontSee($newSubscriberEmail);
|
||||||
|
|
||||||
$i->waitForText($newSubscriberEmail2);
|
$i->waitForText($newSubscriberEmail2, 20);
|
||||||
$i->seeNoJSErrors();
|
$i->seeNoJSErrors();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -130,7 +130,7 @@ class SubscriberManagementCest {
|
|||||||
|
|
||||||
$i->waitForElement('[data-automation-id="filters_trash"]');
|
$i->waitForElement('[data-automation-id="filters_trash"]');
|
||||||
$i->click('[data-automation-id="filters_trash"]');
|
$i->click('[data-automation-id="filters_trash"]');
|
||||||
$i->waitForText($newSubscriberEmail);
|
$i->waitForText($newSubscriberEmail, 20);
|
||||||
|
|
||||||
$i->click('[data-automation-id="empty_trash"]');
|
$i->click('[data-automation-id="empty_trash"]');
|
||||||
|
|
||||||
@@ -138,7 +138,7 @@ class SubscriberManagementCest {
|
|||||||
$i->dontSee($newSubscriberEmail);
|
$i->dontSee($newSubscriberEmail);
|
||||||
$i->click('[data-automation-id="filters_all"]');
|
$i->click('[data-automation-id="filters_all"]');
|
||||||
|
|
||||||
$i->waitForText($newSubscriberEmail2);
|
$i->waitForText($newSubscriberEmail2, 20);
|
||||||
$i->seeNoJSErrors();
|
$i->seeNoJSErrors();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user