Skip to content

Commit

Permalink
Add video to the setup() for debugging
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Gooderham <turkeyonmarblerye@gmail.com>
  • Loading branch information
turkeylurkey committed Jan 9, 2025
1 parent 51fc882 commit bcd5910
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@
package io.openliberty.tools.intellij.it;

import com.automation.remarks.junit5.Video;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.*;

import java.nio.file.Paths;

/**
* Tests that use a single module non Liberty Tools compliant REST Gradle project.
*/
@TestMethodOrder(MethodOrderer.MethodName.class)
public class GradleSingleModNLTRestProjectTest extends SingleModNLTRestProjectTestCommon {

/**
Expand All @@ -33,7 +33,9 @@ public class GradleSingleModNLTRestProjectTest extends SingleModNLTRestProjectTe
/**
* Prepares the environment for test execution.
*/
@BeforeAll
@Test
@Video
@Order(1)
public static void setup() {
prepareEnv(PROJECTS_PATH, SM_NLT_REST_PROJECT_NAME);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,15 @@
*******************************************************************************/
package io.openliberty.tools.intellij.it;

import org.junit.jupiter.api.BeforeAll;
import com.automation.remarks.junit5.Video;
import org.junit.jupiter.api.*;

import java.nio.file.Paths;

/**
* Tests that use a single module non Liberty Tools compliant REST Maven project.
*/
@TestMethodOrder(MethodOrderer.MethodName.class)
public class MavenSingleModNLTRestProjectTest extends SingleModNLTRestProjectTestCommon {

/**
Expand All @@ -31,7 +33,9 @@ public class MavenSingleModNLTRestProjectTest extends SingleModNLTRestProjectTes
/**
* Prepares the environment for test execution.
*/
@BeforeAll
@Test
@Video
@Order(1)
public static void setup() {
prepareEnv(PROJECTS_PATH, SM_NLT_REST_PROJECT_NAME);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ public void setBuildFileName(String name) {
* options available through search everywhere panel.
*/
@Test
@Order(2)
@Video
public void testManualProjectAddRemoveActionUsingSearch() {
// Validate that the Liberty tool window project tree is not showing. No projects are expected.
Expand Down Expand Up @@ -188,6 +189,7 @@ public void testManualProjectAddRemoveActionUsingSearch() {
* - Detecting a project with a src/main/liberty/config/server.xml file only.
*/
@Test
@Order(3)
@Video
public void testsRefreshProjectWithServerXmlOnly() {
// Validate that the Liberty tool window project tree is not showing. No projects are expected.
Expand Down Expand Up @@ -231,6 +233,7 @@ public void testsRefreshProjectWithServerXmlOnly() {
* location of the Liberty Tools binary dependency.
*/
@Test
@Order(4)
@Video
public void testsRefreshProjectWithLTBuildCfgOnlyWithBldScriptBlock() {
testsRefreshProjectWithLTBuildCfgOnly(getBuildFileName());
Expand Down

0 comments on commit bcd5910

Please sign in to comment.