Skip to content

Commit

Permalink
devonfw#1454 adjusted test
Browse files Browse the repository at this point in the history
added test description
adjusted assert to check for full text
  • Loading branch information
jan-vcapgemini committed Mar 3, 2023
1 parent 258a63f commit 81175fd
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@ public void testGetAllTemplateSetsAdapted() throws Exception {

}

/**
* Tests if a selected template set can be installed (template-set class jar file gets added to
* template-sets/downloaded folder) and UNINSTALLED text changes to INSTALLED
*
* @throws Exception Test fails
*/
@Test
public void testGetAllTemplateSetsDownloaded() throws Exception {

Expand Down Expand Up @@ -82,7 +88,7 @@ public void testGetAllTemplateSetsDownloaded() throws Exception {

assertThat(downloaded.toPath().resolve("crud-java-server-app-2021.12.007.jar")).exists();

assertThat(installStatustext.getText()).contains("INSTALLED");
assertThat(installStatustext.getText()).isEqualTo("INSTALLED");
});

}
Expand Down

0 comments on commit 81175fd

Please sign in to comment.