Skip to content

Commit 798f3f5

Browse files
committed
1211: removed redundant commenting
1 parent 7f19fb8 commit 798f3f5

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

src/test/kotlin/com/magento/idea/magento2plugin/actions/content/MarkDirectoryAsMagentoRootTest.kt

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -74,20 +74,20 @@ class MarkDirectoryAsMagentoRootTest {
7474
@Video
7575
fun testMarkDirectoryAsMagentoRoot(remoteRobot: RemoteRobot) = with(remoteRobot) {
7676
// temporary workaround until we get license for CI
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-
// }
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+
}
9191
// end temporary workaround
9292

9393
welcomeFrame {

0 commit comments

Comments
 (0)