@Test
@Ignore("Test ignored because failed on CI")
 public void should_download_help() throws Exception {

    Path expectedFile = widgetRepositoryPath.resolve("pbText/help.html");
    mockMvc
            .perform(get("/rest/widgets/pbText/help"))
            .andExpect(status().isOk())
            .andExpect(content().bytes(readAllBytes(expectedFile)))
            .andExpect(content().contentType(MediaType.TEXT_HTML))
            .andExpect(header().string("Content-Length", String.valueOf(expectedFile.toFile().length())))
            .andExpect(header().string("Content-Disposition", "inline; filename=\"help.html\""))
            .andExpect(content().encoding("UTF-8"));
}