Skip to content

Commit

Permalink
investigating problem with menu on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
nizienko committed Nov 7, 2023
1 parent ff1d138 commit 5134cfa
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 15 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/runTest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,16 @@ jobs:
./gradlew :ui-test-example:test
url: http://127.0.0.1:8082
reportName: ui-test-fails-report-linux
- os: macOS-latest
runIde: ./gradlew :ui-test-example:runIdeForUiTests &
runTests: ./gradlew :ui-test-example:test
url: http://127.0.0.1:8082
reportName: ui-test-fails-report-mac
- os: windows-latest
runIde: start gradlew.bat :ui-test-example:runIdeForUiTests
runTests: ./gradlew :ui-test-example:test
url: http://localhost:8082
reportName: ui-test-fails-report-windows
# - os: macOS-latest
# runIde: ./gradlew :ui-test-example:runIdeForUiTests &
# runTests: ./gradlew :ui-test-example:test
# url: http://127.0.0.1:8082
# reportName: ui-test-fails-report-mac
# - os: windows-latest
# runIde: start gradlew.bat :ui-test-example:runIdeForUiTests
# runTests: ./gradlew :ui-test-example:test
# url: http://localhost:8082
# reportName: ui-test-fails-report-windows

runs-on: ${{ matrix.os }}
steps:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public void closeProject(final RemoteRobot remoteRobot) {
});
}

@Test
// @Test
@Video
void createCommandLineProject(final RemoteRobot remoteRobot) {
sharedSteps.createNewCommandLineProject();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ class CreateCommandLineKotlinTest {
}
}
idea {
runJs("""
component.getRootPane().getJMenuBar().setVisible(true)
""")
waitFor(ofMinutes(5)) { isDumbMode().not() }
step("Create App file") {
with(projectViewTree) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import java.time.Duration
@ExtendWith(RemoteRobotExtension::class)
class GlobalAndLocalMapExamplesTest {

@Test
// @Test
fun globalMap(remoteRobot: RemoteRobot) = with(remoteRobot) {
// Save message
runJs("global.put('greeting', 'Hello from Idea')")
Expand All @@ -21,7 +21,7 @@ class GlobalAndLocalMapExamplesTest {
assert(callJs<String>("global.get('greeting')") == "Hello from Idea")
}

@Test
// @Test
fun storeFunctions(remoteRobot: RemoteRobot) = with(remoteRobot) {
// Save JS object with functions
runJs(
Expand All @@ -44,7 +44,7 @@ class GlobalAndLocalMapExamplesTest {
println(version)
}

@Test
// @Test
fun local(remoteRobot: RemoteRobot) {
// local map is unique for each fixture even if two fixtures refers to the same component
val frame1 = remoteRobot.find<FrameFixture>(byXpath("//div[@class='FlatWelcomeFrame']"), Duration.ofSeconds(10))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class SayHelloKotlinTest {
StepsLogger.init()
}

@Test
// @Test
@Disabled
@Video
fun checkHelloMessage(remoteRobot: RemoteRobot) = with(remoteRobot) {
Expand Down

0 comments on commit 5134cfa

Please sign in to comment.