fixed error of empty object catch on switching section to item tags

This commit is contained in:
Carlos Jimenez 2018-02-26 12:37:27 +01:00
parent 268f4b3463
commit fb6577bc01
1 changed files with 2 additions and 2 deletions

View File

@ -61,8 +61,8 @@ describe('edit item basic data path', () => {
it(`should confirm the item name was edited`, () => {
return nightmare
.click(selectors.itemTags.tagsButton)
.wait(selectors.itemTags.tagsButton)
.click(selectors.itemNiches.firstCodeInput)
.wait(selectors.itemNiches.firstCodeInput)
.waitToClick(selectors.itemBasicData.basicDataButton)
.wait(200)
.getInputValue(selectors.itemBasicData.nameInput)