@Test
public void should_delete_only_js_folder_for_page_artifact_when_page_exist() throws Exception {

    //Folder creation
    temporaryFolder.newFolderPath("pages","myPage","js");
    temporaryFolder.newFilePath("pages/myPage/myPage.json");
    workspace.cleanPageWorkspace();
    assertThat(temporaryFolder.toPath().resolve("pages").resolve("myPage")).exists();
    assertThat(temporaryFolder.toPath().resolve("pages").resolve("myPage").resolve("js")).doesNotExist();
}