-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Intelij: 2024.2 Update Test Automation in Windows and Linux #1067
Comments
SingleModLibertyLSTestCommon
|
SingleModNLTRestProjectTestCommon
|
SingleModJakartaLSTestCommon
|
SingleModMPLSTestCommon
|
SingleModMPProjectTestCommon
|
GHA Build Run : https://github.com/vaisakhkannan/liberty-tools-intellij/actions/runs/11723063340/job/32653929671 Found issue when try to access Run Menu upload-run-issue.mov |
Found an issue in GHA in closetab-issue.movSolution :Instead of trying to click the close button (X) on the file tab, just right-click on the file tab name and choose the 'Close' menu item. This will close the file tab. |
@TrevCraw , I found a behavioral difference between |
I found 2 common failures in GHA First one is
GHA Run link : https://github.com/vaisakhkannan/liberty-tools-intellij/actions/runs/11790595086/job/32841292475 The Second one is ,
GHA Run link : https://github.com/vaisakhkannan/liberty-tools-intellij/actions/runs/11790595086/job/32841292151 |
I resolved the above second issue successfully. For the first issue, I attempted various approaches, including adding delays and modifying the UI component class to access specific element. However, the issue persisted with the error: You can review the linux GHA results below: You can review the Windows GHA results below: |
I am attaching the video of above mentioned failure setup_recording_2024_18_11_11_05_06.movAs a workaround, I am thinking of refreshing the Liberty tool window before performing the Expand All action. Refreshing the Liberty tool window did not resolve the problem. Upon investigating further, I noticed in the video that during the initialization phase, the project frame opens with the build file displayed. Additionally, when importing the project, I made a change to the code to maximize the IDE window, which caused a modification in the open build file in the editor. To address this, I updated the cleanup() method in the parent class SingleModMPProjectTestCommon to close all tabs, and this resolved the issue. |
Videos of some tests running in IntelliJ IDEA version 2024.2. Linux test example : setup_recording_2024_18_11_16_08_51.movMac test example : testRunTestsActionUsingPopUpMenu_recording_2024_19_11_05_51_17.movWindows test example : setup_recording_2024_18_11_16_23_14.mov |
Windows test example based on the code in the LTI version 24.0.9: testDiagnosticInServerEnv_recording_2024_18_11_10_08_45.movAs part of comparing all three operating systems, I noticed that the Windows UI appears as if it is already in zoomed-in mode. I checked the current main UI test on Windows, and it also seems to be in a similar zoomed-in state. But, the IntelliJ 2024.2 UI is slightly wider in both the |
As a resolution, we can decrease the zoom level using the |
I was talking about compact mode: https://www.jetbrains.com/help/idea/new-ui.html#compact-mode |
@turkeylurkey Can you try checking the video on browser chrome?
Ok,So you suggesting to do compact mode on , right? |
I ran the GHA build today, with the updated UI changes along with Anusree's recent PR changes. Now, I can see that both unit and UI tests are passing on Linux, while on Windows, all unit tests are passing, but 2 UI tests failed. Test summary in windows:
Failed UI tests:
https://github.com/vaisakhkannan/liberty-tools-intellij/actions/runs/11951604250/attempts/1 |
Update UI test automation on Windows to support IntelliJ 2024.2.
The text was updated successfully, but these errors were encountered: