[ui-tests] Surroud setText with step

GitOrigin-RevId: e826c527dd74397ee7d8b40cc56d6cc7c856e060
This commit is contained in:
Maxim.Kolmakov
2025-02-06 02:43:51 +00:00
committed by intellij-monorepo-bot
parent b78fcfb145
commit 770e6852d9
@@ -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)
}
}
}