Fix flaky test for managing lists

This commit is contained in:
Veljko
2021-01-20 11:31:59 +01:00
committed by wxa
parent a7aaa9eb49
commit b34b02b0db

View File

@@ -94,6 +94,8 @@ class ManageListsCest {
$i->waitForElementVisible('[data-automation-id="filters_trash"]');
$i->click('[data-automation-id="filters_trash"]');
$i->waitForElementVisible('[data-automation-id="filters_trash"]');
$i->reloadPage(); // just to clear all notifications from the above
$i->waitForText($editedListTitle);
$i->clickItemRowActionByItemName($editedListTitle, 'Delete permanently');
$i->waitForText('1 list was permanently deleted. Note that deleting a list does not delete its subscribers.');
$i->seeNoJSErrors();