From 19b533aff0c40744ea1cbb3d5db9ee24b2e65bca Mon Sep 17 00:00:00 2001 From: Carlos Jimenez <=> Date: Thu, 13 Dec 2018 12:01:33 +0100 Subject: [PATCH] added wait to avoid extensions to break test run --- e2e/paths/item-module/02_edit_item_basic_data.spec.js | 1 + e2e/paths/item-module/06_create_item_botanical.spec.js | 1 + 2 files changed, 2 insertions(+) diff --git a/e2e/paths/item-module/02_edit_item_basic_data.spec.js b/e2e/paths/item-module/02_edit_item_basic_data.spec.js index ca108ac40..3cd383115 100644 --- a/e2e/paths/item-module/02_edit_item_basic_data.spec.js +++ b/e2e/paths/item-module/02_edit_item_basic_data.spec.js @@ -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) diff --git a/e2e/paths/item-module/06_create_item_botanical.spec.js b/e2e/paths/item-module/06_create_item_botanical.spec.js index c3790d287..d52c877d4 100644 --- a/e2e/paths/item-module/06_create_item_botanical.spec.js +++ b/e2e/paths/item-module/06_create_item_botanical.spec.js @@ -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)