Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Хмелев Дмитрий #10

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

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