Skip to content

testDashboardActions() test case failing - LibertyPluginSWTBotGradleTest. #580

@SuparnaSuresh

Description

@SuparnaSuresh

testDashboardActions() test case is failing intermittently due to below error:

io.openliberty.tools.eclipse.test.it.LibertyPluginSWTBotGradleTest.testDashboardActions -- Time elapsed: 129.9 s <<< FAILURE!
org.opentest4j.AssertionFailedError: Message CWWKE0036I not found in /Users/suparnasuresh/Documents/GitHub/ECLIPSE_TEST/liberty-tools-eclipse/tests/resources/applications/gradle/liberty-gradle-test-app/build/wlp/usr/servers/defaultServer/logs/messages.log
at org.junit.jupiter.api.AssertionUtils.fail(AssertionUtils.java:38)

When the browser opens the test reports, the stop command from the dashboard fails to execute due to the window being out of focus. However, triggering liberty stop using launchStopWithRunAsShortcut(_NAME) works correctly, and the test cases complete successfully.
Need to investigate further on this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions