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

Бородин Георгий #16

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

Conversation

BorodinGeorgy
Copy link

No description provided.

@Zhigalov Zhigalov self-assigned this May 19, 2017
.url('/');
});

it('should show 0 product for ""', () => {
Copy link
Contributor

Choose a reason for hiding this comment

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

for "" -> for empty string
А то я сначала подумал что это какой-то шаблонный тест

В интеграционных тестах принято проверять успешные сценарии
Проверь что по заданному слову будут искаться товары

let allComments = browser.getText('div.col-lg-12>div');
const date = browser.getText('.media-heading small')[allComments.length - 1];

assert(moment(date, 'MMMM Do YYYY, h:m:s a').isValid());
Copy link
Contributor

Choose a reason for hiding this comment

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

В этом тесте не хватает проверки на время

assert.equal(crumbs[0], 'Home');
assert.equal(crumbs[1], 'Stickers');
assert.equal(crumbs[2], 'Leaf Sticker');
});
Copy link
Contributor

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