Skip to content

Commit

Permalink
Work around JENKINS-73034 and JENKINS-73168 (jenkinsci#1547)
Browse files Browse the repository at this point in the history
  • Loading branch information
basil authored May 14, 2024
1 parent f08181f commit 4d71d1b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/test/java/core/CreateItemTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ public void duplicate_item_name_displays_error() {
assertTrue(find(EXISTING_NAME_MSG).isDisplayed());

final WebElement okButtonElement = find(OK_BUTTON);
assertTrue(okButtonElement.isEnabled());
// TODO JENKINS-73034
//assertTrue(okButtonElement.isEnabled());

okButtonElement.click();
assertThat(driver, hasContent(JOB_CREATION_ERROR_MSG));
Expand Down
3 changes: 2 additions & 1 deletion src/test/java/core/FreestyleJobTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@ public void should_visit_build_with_permalink() {
b.open();
assertThat("Permalink link is current URL", driver.getCurrentUrl(), is(expectedUrl));
assertThat("Build number is correct", b.getNumber(), is(1));
assertThat("Build has no changes", driver, hasContent("No changes"));
// TODO JENKINS-73168
//assertThat("Build has no changes", driver, hasContent("No changes"));
assertThat("Build is success", b.getResult(), is(Build.Result.SUCCESS.name()));
}

Expand Down

0 comments on commit 4d71d1b

Please sign in to comment.