mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-23 11:43:47 -08:00
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:
parent
c2f6e0cfd8
commit
df664bdc9d
|
@ -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');
|
||||
|
|
Loading…
Reference in a new issue