File tree Expand file tree Collapse file tree 1 file changed +14
-14
lines changed
src/test/kotlin/com/magento/idea/magento2plugin/actions/content Expand file tree Collapse file tree 1 file changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -74,20 +74,20 @@ class MarkDirectoryAsMagentoRootTest {
74
74
@Video
75
75
fun testMarkDirectoryAsMagentoRoot (remoteRobot : RemoteRobot ) = with (remoteRobot) {
76
76
// 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
+ }
91
91
// end temporary workaround
92
92
93
93
welcomeFrame {
You can’t perform that action at this time.
0 commit comments