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]
19 lines
403 B
PHP
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();
|
|
}
|
|
|
|
}
|