removed unused arguments for index search
gitea/salix/dev This commit looks good
Details
gitea/salix/dev This commit looks good
Details
This commit is contained in:
parent
f411b11de6
commit
9ef74bbf7a
|
@ -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');
|
||||
});
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue