Skip to content

Commit

Permalink
Updated Unit Test HTML and formatting for #2747
Browse files Browse the repository at this point in the history
Signed-off-by: DCoomer <[email protected]>
  • Loading branch information
DCoomer committed Dec 31, 2024
1 parent 778bde6 commit e61ee57
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions test/unit-tests/click.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ describe(test_name, () => {
<input onclick="displayText('Click works with text as value.')" value="Text as value"/><br/>
<input onclick="displayText('Click works with text as type.')" type="Text as type"/><br/>
<span onclick="displayText('Click works with proximity selector.')">Click with proximity</span>
<span onclick="displayText('Click works with proximity selector and options object.')">Click with proximity and options object</span>
<div onclick="displayText('Click works with text accross element.')">
Text <span>accross</span> elements
</div>
Expand Down Expand Up @@ -154,16 +155,16 @@ describe(test_name, () => {
});
});

describe("With proximity selector and Options Object", () => {
describe("With proximity selector and options object", () => {
it("should click", async () => {
await click(
"Click with proximity",
"Click with proximity and options object",
{ waitForNavigation: true },
below("Proximity marker"),
);
expect(
await text(
"Click works with proximity selector and Options Object.",
"Click works with proximity selector and options object.",
).exists(),
).to.be.true;
});
Expand Down

0 comments on commit e61ee57

Please sign in to comment.