Files
piratepoet/tests/acceptance/FormsListingCest.php
Jan Jakeš 54b2048eb2 Remove forms table from acceptance dump
[MAILPOET-2209]
2019-08-22 10:24:37 -04:00

24 lines
431 B
PHP

<?php
namespace MailPoet\Test\Acceptance;
use MailPoet\Test\DataFactories\Form;
class FormsListingCest {
function formsListing(\AcceptanceTester $I) {
$form = new Form();
$form->withName('Test Form');
$form->create();
$I->wantTo('Open forms listings page');
$I->login();
$I->amOnMailpoetPage('Forms');
$I->waitForText('Test Form', 5, '.mailpoet_listing_table');
$I->seeNoJSErrors();
}
}