Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
import static org.junit.Assert.assertTrue;

import com.cloudbees.hudson.plugins.folder.Folder;
import hudson.Functions;
import hudson.model.Cause;
import hudson.model.Executor;
import hudson.model.FreeStyleBuild;
Expand Down Expand Up @@ -292,6 +293,10 @@ public void testWidgets() throws Exception {
final HtmlPage htmlPage = webClient.goTo("");
final String contentAsString = htmlPage.getWebResponse().getContentAsString();
assertThat(contentAsString, not(containsString("job/folder/job/job"))); // Fails while unfixed
if (Functions.isWindows()) {
// Wait several seconds so that files are closed before test cleanup
Thread.sleep(5000);
}
}

@Test
Expand Down