@@ -78,14 +78,14 @@ class UITest {
7878 // open test project
7979 remoteRobot.welcomeFrame {
8080 openLink.click()
81- dialog( " Open File or Project " ) {
82- button(byXpath( " //div[@myicon='refresh.svg'] " )).click()
83- Thread .sleep( 500 )
84- val tree = find< JTreeFixture >(byXpath( " //div[@class='Tree'] " ) )
85- tree.expand(tree.getValueAtRow( 0 ), * demo.map { it.name }.toTypedArray( ))
86- tree.clickPath (tree.getValueAtRow(0 ), * demo.map { it.name }.toTypedArray(), fullMatch = true )
87- button( " OK " ).click( )
88- }
81+ }
82+ dialog( " Open File or Project " ) {
83+ button(byXpath( " //div[@myicon='refresh.svg'] " )).click( )
84+ Thread .sleep( 500 )
85+ val tree = find< JTreeFixture >(byXpath( " //div[@class='Tree'] " ))
86+ tree.expand (tree.getValueAtRow(0 ), * demo.map { it.name }.toTypedArray())
87+ tree.clickPath(tree.getValueAtRow( 0 ), * demo.map { it.name }.toTypedArray(), fullMatch = true )
88+ button( " OK " ).click()
8989 }
9090 Thread .sleep(1000 )
9191 // wait for indexing to finish
@@ -97,14 +97,6 @@ class UITest {
9797 @AfterAll
9898 @JvmStatic
9999 fun cleanUp () {
100- // CommonSteps(remoteRobot).closeProject()
101- // // remove the test project from recent
102- // remoteRobot.welcomeFrame {
103- // findText("demo").click(MouseButton.RIGHT_BUTTON)
104- // remoteRobot.actionMenuItem("Remove from Recent Projects…").click()
105- // button("Remove").click()
106- // }
107- // tmpDir.toFile().deleteRecursively()
108100 }
109101 }
110102
@@ -114,7 +106,7 @@ class UITest {
114106 with (projectViewTree) {
115107 findText(" ve" ).click(MouseButton .RIGHT_BUTTON )
116108 remoteRobot.actionMenuItem(" Set as Project Interpreter" ).click()
117- // findText("Updated SDK for project demo to:")
109+ findText(" Updated SDK for project demo to:" )
118110 // wait for indexing to finish
119111 waitFor(ofMinutes(1 )) { isDumbMode().not () }
120112 }
@@ -127,7 +119,7 @@ class UITest {
127119 with (projectViewTree) {
128120 findText(" ve" ).click(MouseButton .RIGHT_BUTTON )
129121 remoteRobot.actionMenuItem(" Set as Module Interpreter" ).click()
130- // findText("Updated SDK for module demo to:")
122+ findText(" Updated SDK for module demo to:" )
131123 // wait for indexing to finish
132124 waitFor(ofMinutes(1 )) { isDumbMode().not () }
133125 }
0 commit comments