File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
ui-tests/tst/software/aws/toolkits/jetbrains/uitests/fixtures Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -19,16 +19,17 @@ fun IdeaFrame.awsExplorer(
19
19
val locator = byXpath(" //div[@accessiblename='AWS Toolkit Tool Window']" )
20
20
21
21
step(" AWS toolkit tool window" ) {
22
- val explorer = try {
23
- find<AwsExplorer >(locator)
22
+ try {
23
+ find<ComponentFixture >(locator)
24
24
} catch (e: Exception ) {
25
25
step(" Open tool window" ) {
26
26
// Click the tool window stripe
27
27
find(ComponentFixture ::class .java, byXpath(" //div[@accessiblename='AWS Toolkit' and @class='StripeButton' and @text='AWS Toolkit']" )).click()
28
28
find(locator, timeout)
29
29
}
30
30
}
31
-
31
+ find<ComponentFixture >(byXpath(" //div[@class='TabContainer']//div[@text='Explorer']" )).click()
32
+ val explorer = find<AwsExplorer >(byXpath(" //div[@class='ExplorerToolWindow']" ))
32
33
explorer.apply (function)
33
34
}
34
35
}
You can’t perform that action at this time.
0 commit comments