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

Шельпяков Андрей #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Shancle
Copy link

@Shancle Shancle commented May 2, 2018

No description provided.

@Shancle
Copy link
Author

Shancle commented May 2, 2018

Видео с прохождением теста
+Хотелось бы узнать, плохо ли так делать тесты, ведь если бы я поменял порядок теста, то мой тест с профилем не прошёл(т.к. пришлось бы ещё логиниться на гите, что делается в 1 тесте)

@mrprovoker mrprovoker self-assigned this May 4, 2018
const browser = this.browser;

await browser.url('https://the-best-messenger.now.sh/');
await browser.click(PO.kilogram.signInBtn);

Choose a reason for hiding this comment

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

Сейчас тест не атомарный, его результат зависит от прохождения теста github-1
Если упадет предыдущий тест или его просто удалят - этот тест работать не будет.

Давай сделаем этот тест самостоятельным.

@mrprovoker
Copy link

плохо ли так делать тесты, ведь если бы я поменял порядок теста, то мой тест с профилем не прошёл

Да плохо. Тест должен проходить вне зависимости от других тестов

@sergeeva-a sergeeva-a closed this May 10, 2018
@mrprovoker mrprovoker reopened this May 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants