Skip to content

Commit

Permalink
fix: reenable button for nav sequence
Browse files Browse the repository at this point in the history
  • Loading branch information
vobu committed Feb 22, 2022
1 parent e523e43 commit d66a982
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions examples/ui5-js-app/webapp/test/e2e/generated-methods.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
const { wdi5 } = require("wdio-ui5-service")

const Main = require("./pageObjects/Main")

describe("check the generated methods on the control -> ", () => {
Expand Down Expand Up @@ -27,7 +25,8 @@ describe("check the generated methods on the control -> ", () => {
const listSelector = {
selector: {
id: "PeopleList",
viewName: "test.Sample.view.Other"
viewName: "test.Sample.view.Other",
interaction: "root"
}
}

Expand All @@ -47,7 +46,6 @@ describe("check the generated methods on the control -> ", () => {
dateTimeSelector.forceSelect = true
dateTimeSelector.selector.interaction = "root"
listSelector.forceSelect = true
listSelector.selector.interaction = "root"
checkboxSelector.forceSelect = true
checkboxSelector.selector.interaction = "root"
}
Expand Down Expand Up @@ -115,6 +113,8 @@ describe("check the generated methods on the control -> ", () => {
expect(await button.getEnabled()).toBeTruthy()
await button.setEnabled(false)
expect(await button.getEnabled()).toBeFalsy()
// re-enable for later usage
await button.setEnabled(true)
})

it("sap.m.CheckBox APIs", async () => {
Expand Down

0 comments on commit d66a982

Please sign in to comment.