Files
piratepoet/tests/acceptance/ListsListingCest.php
Ján Mikláš 1a0f9975bb Fix flaky tests
Now, that we are hiding WooCommerce Users list, there is no easy way to tell if that list is shown or not. The list is tested in different WooCommerce related tests, so it's not necessary to test it in these places.

[MAILPOET-2188]
2019-08-21 07:05:07 -04:00

19 lines
403 B
PHP

<?php
namespace MailPoet\Test\Acceptance;
class ListsListingCest {
function listsListing(\AcceptanceTester $I) {
$I->wantTo('Open lists listings page');
$I->login();
$I->amOnMailpoetPage('Lists');
$I->waitForText('WordPress Users', 5, '[data-automation-id="listing_item_1"]');
$I->see('My First List', '[data-automation-id="listing_item_3"]');
$I->seeNoJSErrors();
}
}