-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
188bdb9
commit 3c29f52
Showing
1 changed file
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
package io.qameta.allure; | ||
|
||
import org.junit.jupiter.api.DisplayName; | ||
import org.junit.jupiter.api.Test; | ||
|
||
import static io.qameta.allure.Allure.step; | ||
|
||
@Feature("Auth") | ||
@Story("External Auth") | ||
@Owner("artem.eroshenko@qameta.io") | ||
public class AuthTest { | ||
|
||
@Test | ||
@AllureId("5284") | ||
@DisplayName("Деавторизция через Яндекс") | ||
public void testYandex() { | ||
step("Открываем главную страницу"); | ||
step("Авторизуемся через Яндекс", () -> { | ||
step("Нажиманем кнопку Войти"); | ||
step("Выбираем авторизацию Яндекс"); | ||
step("Вводим логин random-user@yandex.ru"); | ||
step("Вводим пароль random-pass"); | ||
step("Нажимаем кнопку Войти"); | ||
}); | ||
step("Проверяем что авторизовались"); | ||
step("Разлогиниваемся"); | ||
step("Проверяем что видим форму авторизации"); | ||
} | ||
|
||
} |