Skip to content

Commit

Permalink
Merge branch 'main' into ws/v9-update
Browse files Browse the repository at this point in the history
  • Loading branch information
wswebcreation authored Aug 23, 2024
2 parents 34b105f + 6f8c534 commit 4e87cb9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/specs/app.forms.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ describe("WebdriverIO and Appium, when interacting with form elements,", () => {
it("should be able type in the input and validate the text", async () => {
const text = "Hello, this is a demo app";
await FormScreen.input.setValue(text);
await expect(await FormScreen.inputTextResult).toContain(text);
await expect(FormScreen.inputTextResult).toHaveText(
expect.stringContaining(text)
);

/**
* IMPORTANT!!
Expand Down

0 comments on commit 4e87cb9

Please sign in to comment.