diff --git a/e2e/paths/item-module/06_botanical.spec.js b/e2e/paths/item-module/06_botanical.spec.js index fd1e1bf1d..c17a7adc7 100644 --- a/e2e/paths/item-module/06_botanical.spec.js +++ b/e2e/paths/item-module/06_botanical.spec.js @@ -7,7 +7,7 @@ describe('Item Create botanical path', () => { beforeAll(() => { nightmare .loginAndModule('buyer', 'item') - .accessToSearchResult('Object5 Weapon 50 hasVisible:false') + .accessToSearchResult('Object5 Weapon 50') .accessToSection('item.card.botanical'); }); diff --git a/e2e/paths/item-module/08_create_and_clone.spec.js b/e2e/paths/item-module/08_create_and_clone.spec.js index 025c958b7..b5e33cc4a 100644 --- a/e2e/paths/item-module/08_create_and_clone.spec.js +++ b/e2e/paths/item-module/08_create_and_clone.spec.js @@ -95,7 +95,7 @@ describe('Item Create/Clone path', () => { it(`should search for the item Infinity Gauntlet`, async() => { const result = await nightmare - .write(selectors.itemsIndex.searchItemInput, 'Infinity Gauntlet hasVisible:false') + .write(selectors.itemsIndex.searchItemInput, 'Infinity Gauntlet') .waitToClick(selectors.itemsIndex.searchButton) .waitForNumberOfElements(selectors.itemsIndex.searchResult, 1) .countElement(selectors.itemsIndex.searchResult); @@ -117,7 +117,7 @@ describe('Item Create/Clone path', () => { it('should search for the item Infinity Gauntlet and find two', async() => { const result = await nightmare .waitToClick(selectors.itemTags.goToItemIndexButton) - .write(selectors.itemsIndex.searchItemInput, 'Infinity Gauntlet hasVisible:false') + .write(selectors.itemsIndex.searchItemInput, 'Infinity Gauntlet') .waitToClick(selectors.itemsIndex.searchButton) .waitForNumberOfElements(selectors.itemsIndex.searchResult, 2) .countElement(selectors.itemsIndex.searchResult);