Skip to content

Commit c4b17eb

Browse files
committed
Add delay before clicking enable support link in test
A 5-second delay was introduced to ensure proper loading of the UI before the enable support link is clicked during the test. This helps prevent timing issues and improves test stability.
1 parent 9ea2092 commit c4b17eb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/test/kotlin/com/magento/idea/magento2plugin/actions/content/MarkDirectoryAsMagentoRootTest.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ class MarkDirectoryAsMagentoRootTest {
9898
idea {
9999
step("Enable Magento Integration") {
100100
waitFor(ofMinutes(1)) { isDumbMode().not() }
101+
Thread.sleep(5_000)
101102
enableSupportLink.click(java.awt.Point(1, 1))
102103
waitFor(ofMinutes(1)) { isDumbMode().not() }
103104

0 commit comments

Comments
 (0)