mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[remote-driver] add ProjectWindowsUiTest
GitOrigin-RevId: cde44515dcbeadf121f763ceb3d56daace08e62e
This commit is contained in:
committed by
intellij-monorepo-bot
parent
cbc5e8cd2d
commit
c30a950b9d
+5
@@ -21,6 +21,10 @@ class JScrollBarUi(data: ComponentData): UiComponent(data) {
|
||||
fun scrollToMinimum() {
|
||||
fixture.scrollToMinimum()
|
||||
}
|
||||
|
||||
fun scrollBlockDown(times: Int) {
|
||||
fixture.scrollBlockDown(times)
|
||||
}
|
||||
}
|
||||
|
||||
@Remote("javax.swing.JScrollBar")
|
||||
@@ -32,4 +36,5 @@ interface JScrollBarComponent {
|
||||
interface JScrollBarFixture {
|
||||
fun scrollToMaximum(): JScrollBarFixture
|
||||
fun scrollToMinimum(): JScrollBarFixture
|
||||
fun scrollBlockDown(times: Int): JScrollBarFixture
|
||||
}
|
||||
+3
@@ -24,4 +24,7 @@ class WelcomeScreenUI(data: ComponentData) : UiComponent(data) {
|
||||
fun clickCustomize() = leftItems.clickPath("Customize")
|
||||
fun clickPlugins() = leftItems.clickPath("Plugins")
|
||||
fun clickLearn() = leftItems.clickPath("Learn")
|
||||
fun clickRecentProject(projectName: String) {
|
||||
x { byClass("CardLayoutPanel") }.waitOneText(projectName).click()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user