OpenLiberty / liberty-tools-intellij

IntelliJ IDEA extension for Liberty
https://plugins.jetbrains.com/plugin/14856-open-liberty-tools
Eclipse Public License 2.0
14 stars 26 forks source link

Support UI tests for IntelliJ IDEA 2024.3 on Windows and Linux. #1127

Open vaisakhkannan opened 1 week ago

vaisakhkannan commented 1 week ago

As part of supporting IntelliJ IDEA 2024.3 version on Windows and Linux, Found some changes in the Ui components , Need to change the ui code to support those changes.

vaisakhkannan commented 1 week ago

Code based on 2024.2 Support Update:

This is the GHA build link: https://github.com/vaisakhkannan/liberty-tools-intellij/actions/runs/11951604250 Linux: Passed Windows: Only 1 failure (known issue)

2024.3 Support Update: ( By just updating the intellij version 2024.3 in gradle.properties)

This is the GHA build link: https://github.com/vaisakhkannan/liberty-tools-intellij/actions/runs/11956935813 Linux: 40 failures Windows: 48 failures

vaisakhkannan commented 1 week ago

2 common build failures that I have seen in build https://github.com/vaisakhkannan/liberty-tools-intellij/actions/runs/11956935813

com.intellij.remoterobot.utils.WaitForConditionTimeoutException: Exceeded timeout (PT16S) for condition function (Menu items containing the Edit Configurations... text were not found)

During my investigation what I found that , there is a change in the text that is usage of dots (.).

Screenshot 2024-11-22 at 3 19 24 PM

com.intellij.remoterobot.utils.WaitForConditionTimeoutException: Exceeded timeout (PT10S) for condition function (Failed to find 'ComponentFixture' by '//div[@class='ActionMenu' and @text='Run']' in 10s)

vaisakhkannan commented 1 week ago

Recent Run with the updated changes to support 2024.3 : https://github.com/vaisakhkannan/liberty-tools-intellij/actions/runs/11971437896/attempts/1

NOTE: Windows Passed

Inprogress Build with 2 more os added :https://github.com/vaisakhkannan/liberty-tools-intellij/actions/runs/11974516627