Skip to content

Commit

Permalink
add new test 5284
Browse files Browse the repository at this point in the history
  • Loading branch information
eroshenkoam committed Jul 8, 2024
1 parent 188bdb9 commit 3c29f52
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions src/test/java/io/qameta/allure/AuthTest.java
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("Проверяем что видим форму авторизации");
}

}

0 comments on commit 3c29f52

Please sign in to comment.