This commit is contained in:
Gerard 2018-12-13 12:17:20 +01:00
commit aa0c127533
3 changed files with 4 additions and 2 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

@ -11,8 +11,9 @@ describe('Item Create botanical path', () => {
.accessToSection('item.card.botanical');
});
it(`should create a new botanical for the item with id Mjolnir`, async () => {
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)