added wait to avoid extensions to break test run
This commit is contained in:
parent
dc43a8bced
commit
19b533aff0
|
@ -13,6 +13,7 @@ describe('Item Edit basic data path', () => {
|
||||||
|
|
||||||
it(`should edit the item basic data`, async () => {
|
it(`should edit the item basic data`, async () => {
|
||||||
const result = await nightmare
|
const result = await nightmare
|
||||||
|
.wait(selectors.itemBasicData.nameInput)
|
||||||
.clearInput(selectors.itemBasicData.nameInput)
|
.clearInput(selectors.itemBasicData.nameInput)
|
||||||
.type(selectors.itemBasicData.nameInput, 'Rose of Purity')
|
.type(selectors.itemBasicData.nameInput, 'Rose of Purity')
|
||||||
.waitToClick(selectors.itemBasicData.typeSelect)
|
.waitToClick(selectors.itemBasicData.typeSelect)
|
||||||
|
|
|
@ -13,6 +13,7 @@ describe('Item Create botanical path', () => {
|
||||||
|
|
||||||
it(`should create a new botanical for the item Mjolnir`, async () => {
|
it(`should create a new botanical for the item Mjolnir`, async () => {
|
||||||
const result = await nightmare
|
const result = await nightmare
|
||||||
|
.wait(selectors.itemBotanical.botanicalInput)
|
||||||
.type(selectors.itemBotanical.botanicalInput, 'Cicuta maculata')
|
.type(selectors.itemBotanical.botanicalInput, 'Cicuta maculata')
|
||||||
.waitToClick(selectors.itemBotanical.genusSelect)
|
.waitToClick(selectors.itemBotanical.genusSelect)
|
||||||
.waitToClick(selectors.itemBotanical.genusSelectOptionOne)
|
.waitToClick(selectors.itemBotanical.genusSelectOptionOne)
|
||||||
|
|
Loading…
Reference in New Issue