Skip to content

Commit

Permalink
add new test #6635
Browse files Browse the repository at this point in the history
  • Loading branch information
eroshenkoam committed Aug 28, 2024
1 parent 6add645 commit e1fc87b
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions src/test/java/io/qameta/allure/AuthTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,33 @@ public void testYandex() {
});
}

@Test
@AllureId("6635")
@DisplayName("Авторизация через Google")
@Tag("web")
@Story("External Auth")
@Owner("artem.eroshenko@qameta.io")
@Feature("Auth")
public void testGoogle() {
step("Открываем главную страницу");
step("Авторизация через Яндекс", () -> {
step("Нажимаем кнопку Log In");
step("Выбираем способ авторизации через Яндекс");
step("Вводим логин eroshenkoam@yandex.ru");
step("Вводим пароль 1239812983123");
step("Нажимаем кнопку Войти");
});
step("Проверяем что авторизовались", () -> {
step("Expected Result", () -> {
step("В левом нижнем углу видим иконку пользотваеля");
});
});
step("Проверяем что данные пользователя обновились из Яндекса", () -> {
step("Expected Result", () -> {
step("Email = eroshenkoam@yandex.ru");
step("Name = Artem Eroshenko");
});
});
}

}

0 comments on commit e1fc87b

Please sign in to comment.