Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
cheshi-mantu committed Sep 11, 2024
1 parent f730cb1 commit b4fcb59
Showing 1 changed file with 4 additions and 13 deletions.
17 changes: 4 additions & 13 deletions src/test/java/io/qameta/allure/IssuesRestTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,10 @@ public class IssuesRestTest {
@Microservice("Billing")
@JiraIssues({@JiraIssue("AE-1")})
@Tags({@Tag("api"), @Tag("smoke")})
// @DisplayName("Create issue via api")
@ParameterizedTest(name = "{displayName} ({argumentsWithNames})")
@DisplayName("Create issue via api")
@ParameterizedTest(name = "({argumentsWithNames})")
@ValueSource(strings = {"First Note", "Second Note"})
public void shouldCreateUserNote(@Param(value = "Title") String title) {
// parameter("owner", OWNER);
// parameter("repo", REPO);
// parameter("title", title);

steps.createIssueWithTitle(OWNER, REPO, title);
steps.shouldSeeIssueWithTitle(OWNER, REPO, title);
}
Expand All @@ -40,15 +36,10 @@ public void shouldCreateUserNote(@Param(value = "Title") String title) {
@Microservice("Repository")
@Tags({@Tag("api"), @Tag("regress")})
@JiraIssues({@JiraIssue("AE-2")})
// @DisplayName("Close issue via api")
// @ParameterizedTest(name = "Close issue via api")
@ParameterizedTest(name = "{displayName} ({argumentsWithNames})")
@DisplayName("Close issue via api")
@ParameterizedTest(name = "({argumentsWithNames})")
@ValueSource(strings = {"First Note", "Second Note"})
public void shouldDeleteUserNote(@Param(value = "Title") String title) {
// parameter("owner", OWNER);
// parameter("repo", REPO);
// parameter("title", title);

steps.createIssueWithTitle(OWNER, REPO, title);
steps.closeIssueWithTitle(OWNER, REPO, title);
}
Expand Down

0 comments on commit b4fcb59

Please sign in to comment.