Skip to content
This repository was archived by the owner on Oct 18, 2018. It is now read-only.

Conversation

@bahek091
Copy link

No description provided.


@Step("Элемент «{1}» должен содержать строку «{0}»")
public void strShouldBeInElement(String str, WebElement currElement){
assertThat("Строка в элементе должна совпадать с ожидаемой", currElement.getText(), is(str));
Copy link
Contributor

@gladnik gladnik May 28, 2016

Choose a reason for hiding this comment

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

Хотя в этом степе реализована не проверка на вхождение подстроки, по комментарию к степу или его названию этого не скажешь. И раз мы решили начинать названия проверок со слова should, то стоит так и делать

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants