IJPL-214109 rdct-test: Add tests for file-based settings sync

Also, replace PreCleanupType and postCleanupLauncher with PreRunHandler and PostRunHandler to allow executing custom code before the IDE process is started and after it's stopped in DistributedProjectTestBase.withServerAndClients.

GitOrigin-RevId: b307fa69006a8926f98927e4be51a837019d5b79
This commit is contained in:
Nikita Zaytsev
2026-02-06 15:03:48 +00:00
committed by intellij-monorepo-bot
parent 6980289e15
commit 35a0b8e5fa
2 changed files with 5 additions and 0 deletions
@@ -24,6 +24,9 @@ interface PathsProvider {
val configFolder: File
get() = launcherFolder.resolve("config")
val configBackupFolder: File
get() = launcherFolder.resolve("config-backup")
val systemFolder: File
get() = launcherFolder.resolve("system")
@@ -18,6 +18,8 @@ fun Finder.checkBox(@Language("xpath") xpath: String? = null) = x(xpath ?: "//di
fun Finder.checkBox(locator: QueryBuilder.() -> String) = x(JCheckBoxUi::class.java) {locator()}
fun Finder.checkBoxWithName(name: String) = x(JCheckBoxUi::class.java) { byAccessibleName(name) }
class JCheckBoxUi(data: ComponentData) : UiComponent(data) {
private val checkboxComponent by lazy { driver.cast(component, JCheckBox::class) }