added wait to avoid extensions to break test run

This commit is contained in:
Carlos Jimenez 2018-12-13 12:01:33 +01:00
parent dc43a8bced
commit 19b533aff0
2 changed files with 2 additions and 0 deletions

View File

@ -13,6 +13,7 @@ describe('Item Edit basic data path', () => {
it(`should edit the item basic data`, async () => {
const result = await nightmare
.wait(selectors.itemBasicData.nameInput)
.clearInput(selectors.itemBasicData.nameInput)
.type(selectors.itemBasicData.nameInput, 'Rose of Purity')
.waitToClick(selectors.itemBasicData.typeSelect)

View File

@ -13,6 +13,7 @@ describe('Item Create botanical path', () => {
it(`should create a new botanical for the item Mjolnir`, async () => {
const result = await nightmare
.wait(selectors.itemBotanical.botanicalInput)
.type(selectors.itemBotanical.botanicalInput, 'Cicuta maculata')
.waitToClick(selectors.itemBotanical.genusSelect)
.waitToClick(selectors.itemBotanical.genusSelectOptionOne)