-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#3442: Add client side test for number of pending approval reports
- Loading branch information
1 parent
8fd3c72
commit 6a6b1ee
Showing
2 changed files
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import { expect } from "chai" | ||
import Home from "../pages/home.page" | ||
|
||
describe("When checking the home page tiles", () => { | ||
it("Should see correct number of pendingApprovalOf reports count when logged in as Arthur", () => { | ||
Home.openAsAdminUser() | ||
Home.homeTilesContainer.waitForExist() | ||
Home.homeTilesContainer.waitForDisplayed() | ||
// Depends on test data | ||
expect(Home.pendingMyApprovalOfCount.getText()).to.eq("2") | ||
}) | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters