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

Refactor the way of checking if copy text is presented in UI test

This commit is contained in:
Alex Plate 2025-03-11 20:19:53 +02:00
parent b31f46d9f4
commit dcaef64494
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 generateDialog.single().hasText("Path With Line Number")
return@waitFor hasText("Path With Line Number")
}
return@waitFor false
}