You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/test/MavenTestDevModeActions.ts
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -225,7 +225,7 @@ it('View Integration test report for maven project', async () => {
225
225
it('Run tests for sample maven project with surefire version 3.4.0',async()=>{
226
226
227
227
awaitutils.clearMavenPluginCache();// Clears the cache to ensure the specific surefire versions are downloaded for the next test
228
-
awaitutils.modifyPomFile();// Modifies pom.xml to inlcude surefire version 3.4.0
228
+
awaitutils.modifyFileContent(constants.MAVEN_TEST_WRAPPER_APP_POM_PATH,constants.COMMENT_REGEX,constants.SUREFIRE_3_4_0_PLUGIN_CONTENT);// Modifies pom.xml to inlcude surefire version 3.4.0
awaitutils.revertPomFile();// Removes specific verison of the surefire plugin added in pom file for testing
240
+
awaitutils.modifyFileContent(constants.MAVEN_TEST_WRAPPER_APP_POM_PATH,constants.PLUGIN_BLOCK_REGEX,constants.POM_COMMENT);// Removes specific verison of the surefire plugin added in pom file for testing
241
241
awaitutils.clearMavenPluginCache();// Clear the plugin cache to remove the current versions and ensure the latest plugins are used for the next tests.
242
242
if(!serverStopStatus){
243
243
console.error("Server stopped message not found in the terminal");
0 commit comments