Skip to content

Commit 0a5dac6

Browse files
committed
Update click action to use specific point coordinates
Modified the `click()` method in `SharedSteps.kt` to include specific point coordinates, ensuring accurate interaction with the 'New Project' button. This change prevents potential misclicks and improves test reliability.
1 parent 8c93f94 commit 0a5dac6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/kotlin/com/magento/idea/magento2plugin/steps/SharedSteps.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class SharedSteps(private val remoteRobot: RemoteRobot) {
3535
ContainerFixture::class.java,
3636
byXpath("//div[@visible_text='New Project']")
3737
)
38-
newProjectButton.click()
38+
newProjectButton.click(Point(15, -15))
3939
Thread.sleep(2_000)
4040

4141
val jTextFieldFixture = find<JTextFieldFixture>(byXpath("//div[@class='TextFieldWithBrowseButton']"))

0 commit comments

Comments
 (0)