@@ -39,12 +39,9 @@ class MarkDirectoryAsMagentoRootTest {
3939
4040 @BeforeEach
4141 fun setup () {
42- // Get the user's home directory in a platform-independent way
43- val userHomeDir = System .getProperty(" user.home" )
44-
4542 // Create a temporary directory inside the user's home directory
46- val tempDirPath = Paths .get(userHomeDir, " intellij-test-project" )
47- tempProjectDir = createDirectories(tempDirPath ).toFile().apply {
43+ val projectDir = Paths .get(" intellij-test-project" )
44+ tempProjectDir = createDirectories(projectDir ).toFile().apply {
4845 // Ensure the temporary directory is deleted and recreated
4946 if (exists()) {
5047 deleteRecursively()
@@ -77,20 +74,20 @@ class MarkDirectoryAsMagentoRootTest {
7774 @Video
7875 fun testMarkDirectoryAsMagentoRoot (remoteRobot : RemoteRobot ) = with (remoteRobot) {
7976 // temporary workaround until we get license for CI
80- if (System .getenv(" GITHUB_ACTIONS" ) == " true" ) {
81- val startTrial = find<ContainerFixture >(byXpath(" //div[@visible_text='Start trial']" ))
82- startTrial.click()
83- val startTrialFree = find<ContainerFixture >(byXpath(" //div[@class='s']" ))
84- startTrialFree.click()
85- val dialog = find<DialogFixture >(byXpath(" //div[@class='MyDialog']" ))
86- dialog.button(" Close" ).click()
87- Thread .sleep(10_000 )
88- closeBrowser()
89- } else {
90- val dialog = find<DialogFixture >(byXpath(" //div[@class='MyDialog']" ))
91- dialog.button(" Activate" ).click()
92- dialog.button(" Close" ).click()
93- }
77+ // if (System.getenv("GITHUB_ACTIONS") == "true") {
78+ // val startTrial = find<ContainerFixture>(byXpath("//div[@visible_text='Start trial']"))
79+ // startTrial.click()
80+ // val startTrialFree = find<ContainerFixture>(byXpath("//div[@class='s']"))
81+ // startTrialFree.click()
82+ // val dialog = find<DialogFixture>(byXpath("//div[@class='MyDialog']"))
83+ // dialog.button("Close").click()
84+ // Thread.sleep(10_000)
85+ // closeBrowser()
86+ // } else {
87+ // val dialog = find<DialogFixture>(byXpath("//div[@class='MyDialog']"))
88+ // dialog.button("Activate").click()
89+ // dialog.button("Close").click()
90+ // }
9491 // end temporary workaround
9592
9693 welcomeFrame {
0 commit comments