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:
parent
b31f46d9f4
commit
dcaef64494
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user