Skip to content

Commit

Permalink
Fix return type error (#22602)
Browse files Browse the repository at this point in the history
  • Loading branch information
artaleks9 authored Oct 13, 2023
1 parent 9cd8def commit 6068ce8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/e2e/pageobjects/ide/CheCodeLocatorLoader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export class CheCodeLocatorLoader extends LocatorLoader {
button: By.xpath('//div[@class="monaco-dialog-box"]//a[@class="monaco-button monaco-text-button"]')
},
ScmView: {
actionConstructor: (title: string) => By.xpath(`.//a[@title='${title}']`)
actionConstructor: (title: string): By => By.xpath(`.//a[@title="${title}"]`)
}
},
extras: {
Expand Down
2 changes: 1 addition & 1 deletion tests/e2e/specs/miscellaneous/WorkspaceIdleTimeout.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ suite('"Check workspace idle timeout" test', function (): void {
`oc get checluster/${cheClusterName} -o "jsonpath={.spec.devEnvironments.secondsOfInactivityBeforeIdling}"`
)
);

// set spec.devEnvironments.secondsOfInactivityBeforeIdling to 60
shellExecutor.executeCommand(
`oc patch checluster ${cheClusterName} --type=merge -p '{"spec":{"devEnvironments":{"secondsOfInactivityBeforeIdling": 60}}}'`
Expand Down

0 comments on commit 6068ce8

Please sign in to comment.