FIX: select-box broken spec

Introduces a test helper for selectBox to simplify these cases.
This commit is contained in:
Joffrey JAFFEUX
2017-08-29 15:51:25 +02:00
committed by GitHub
parent cb4f690937
commit 1bcfa87d18
2 changed files with 7 additions and 1 deletions

View File

@ -51,7 +51,8 @@ QUnit.test("Updating the topic title and category", assert => {
click('#topic-title .d-icon-pencil');
fillIn('#edit-title', 'this is the new title');
selectDropdown('.category-combobox', 4);
selectBox('.title-wrapper .category-select-box', 'faq');
click('#topic-title .submit-edit');