Skip to content

Commit 6068ce8

Browse files
authored
Fix return type error (#22602)
1 parent 9cd8def commit 6068ce8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/e2e/pageobjects/ide/CheCodeLocatorLoader.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export class CheCodeLocatorLoader extends LocatorLoader {
4242
button: By.xpath('//div[@class="monaco-dialog-box"]//a[@class="monaco-button monaco-text-button"]')
4343
},
4444
ScmView: {
45-
actionConstructor: (title: string) => By.xpath(`.//a[@title='${title}']`)
45+
actionConstructor: (title: string): By => By.xpath(`.//a[@title="${title}"]`)
4646
}
4747
},
4848
extras: {

tests/e2e/specs/miscellaneous/WorkspaceIdleTimeout.spec.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ suite('"Check workspace idle timeout" test', function (): void {
5151
`oc get checluster/${cheClusterName} -o "jsonpath={.spec.devEnvironments.secondsOfInactivityBeforeIdling}"`
5252
)
5353
);
54-
54+
5555
// set spec.devEnvironments.secondsOfInactivityBeforeIdling to 60
5656
shellExecutor.executeCommand(
5757
`oc patch checluster ${cheClusterName} --type=merge -p '{"spec":{"devEnvironments":{"secondsOfInactivityBeforeIdling": 60}}}'`

0 commit comments

Comments
 (0)