Skip to content

Conversation

@NeSmogPridymatNick
Copy link

No description provided.

Copy link
Collaborator

@zmenka zmenka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Все отлично, добавить только побольше кейсов

// values you need to put in here in order to connect to these services.
//
user: 'Acedia123',
key: 'd41bb58c-1476-449a-897c-1d1578155ad2',
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Лучше свои токены положить в переменные окружения

.click('input[placeholder="Search"]')
.keys('usb')
.click('button[type="submit"]')
chai.assert.equal('USB Stick (Green),USB Stick (Leaf),USB Stick',browser.getText('div.col-md-5 > h3'));
Copy link
Collaborator

@zmenka zmenka May 19, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Еще бы количество товаров проверить тогда. Или не отталкиваться от конкретных товаров, а проверить, что у всех найденных строка поиска в названии есть

.click('button[type="submit"]')
chai.assert.equal('USB Stick (Green),USB Stick (Leaf),USB Stick',browser.getText('div.col-md-5 > h3'));
});
it('Хлебные крошки', () => {
Copy link
Collaborator

@zmenka zmenka May 19, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Еще есть хлебные крошки при поиске товаров, в корзине, при просмотре конкретного товара и на главное

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants