Skip to content

Commit

Permalink
chore: add tests
Browse files Browse the repository at this point in the history
  • Loading branch information
TeodorTaushanov committed Nov 22, 2024
1 parent 7c86307 commit 8bf9aa7
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions packages/fiori/test/specs/NotificationList.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,20 @@ describe("Notification List Item Tests", () => {
// assert
assert.strictEqual(await clickInput.getProperty("value"), EXPECTED_RESULT_2,
"The itemClick has been fired.");

// act
await browser.keys("ArrowUp");
await browser.keys("Tab");
await browser.keys("Tab");

// menu button
await firstItem.keys("Enter");
// menu item
await firstItem.keys("Enter");

// assert
assert.strictEqual(await clickInput.getProperty("value"), EXPECTED_RESULT_2,
"The itemClick has not been fired.");
});

it("tests itemClose fired", async () => {
Expand Down

0 comments on commit 8bf9aa7

Please sign in to comment.