mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[ui-tests] Surroud setText with step
GitOrigin-RevId: e826c527dd74397ee7d8b40cc56d6cc7c856e060
This commit is contained in:
committed by
intellij-monorepo-bot
parent
b78fcfb145
commit
770e6852d9
+4
-2
@@ -47,8 +47,10 @@ open class JEditorUiComponent(data: ComponentData) : UiComponent(data) {
|
||||
var text: String
|
||||
get() = document.getText()
|
||||
set(value) {
|
||||
driver.withWriteAction {
|
||||
document.setText(value)
|
||||
step("Set text '$value'") {
|
||||
driver.withWriteAction {
|
||||
document.setText(value)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user