Fix categories acceptance test as it stands. We need to choose a category type to pass validation, and we need to see the elemnt alert-danger, not the text, to make the test fail when it should. (#2289)

This commit is contained in:
Daniel Meltzer 2016-07-21 00:36:43 -04:00 committed by snipe
parent c2f6e0cfd8
commit df664bdc9d

View file

@ -23,6 +23,7 @@ $I->see('Create Category', 'h1.pull-left');
$I->dontSee('<span class="');
$I->fillField('name', 'testcategory');
$I->selectOption('form select[name=category_type]', 'Asset');
$I->click('Save');
$I->dontSee('<span class="');
$I->dontSee('.alert-danger');
$I->dontSeeElement('.alert-danger');