1
0
mirror of https://github.com/chylex/IntelliJ-IdeaVim.git synced 2025-04-23 04:15:46 +02:00

Use a different approach for UI tests

This commit is contained in:
Alex Plate 2025-03-12 10:08:15 +02:00
parent dcaef64494
commit 90b530e6db
No known key found for this signature in database
GPG Key ID: 0B97153C8FFEC09F

View File

@ -291,7 +291,7 @@ class UiTests {
waitFor {
val generateDialog = findAll<ComponentFixture>(byXpath("//div[@class='EngravedLabel']"))
if (generateDialog.size == 1) {
return@waitFor hasText("Path With Line Number")
return@waitFor generateDialog.single().hasText("Copy")
}
return@waitFor false
}