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]
This commit is contained in:
Ján Mikláš
2019-08-15 14:50:42 +02:00
committed by M. Shull
parent 951caf5a0c
commit 1a0f9975bb
2 changed files with 0 additions and 4 deletions

View File

@@ -6,13 +6,11 @@ class ListsListingCest {
function listsListing(\AcceptanceTester $I) {
$I->wantTo('Open lists listings page');
$I->deactivateWooCommerce();
$I->login();
$I->amOnMailpoetPage('Lists');
$I->waitForText('WordPress Users', 5, '[data-automation-id="listing_item_1"]');
$I->dontSee('WooCommerce Customers', '[data-automation-id="listing_item_2"]');
$I->see('My First List', '[data-automation-id="listing_item_3"]');
$I->seeNoJSErrors();
}

View File

@@ -13,7 +13,6 @@ class ReinstallFromScratchCest {
function reinstallFromScratch(\AcceptanceTester $I) {
$I->wantTo('Reinstall from scratch');
$I->deactivateWooCommerce();
$I->login();
// Step 1 - create email, form, list and subscribers
@@ -54,7 +53,6 @@ class ReinstallFromScratchCest {
// Check lists
$I->amOnMailpoetPage('Lists');
$I->waitForText('WordPress Users', 30, '[data-automation-id="listing_item_1"]');
$I->dontSee('WooCommerce Customers', '[data-automation-id="listing_item_2"]');
$I->see('My First List', '[data-automation-id="listing_item_3"]');
$I->seeNumberOfElements('[data-automation-id^=listing_item_]', 2);
// Check subscribers