This repository has been archived by the owner on Oct 23, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #422 from CSCfi/dev
Release v1.5.3
- Loading branch information
Showing
12 changed files
with
566 additions
and
729 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
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,17 @@ | ||
describe("Search filtering", () => { | ||
it("successfully loads", () => { | ||
cy.visit("/"); | ||
cy.get("#v2Switch").click(); | ||
cy.get('[data-testid="beaconListing"]').click(); | ||
cy.contains("Listing search"); | ||
}); | ||
it("can filter results", () => { | ||
cy.get('[data-testid="inInput"]').select("biosamples"); | ||
cy.get('[data-testid="searchTest"]').click(); | ||
cy.contains("Display 3 result(s)"); | ||
cy.contains("td", "myopia").parent("tr").children().first().click(); | ||
cy.contains("id: HP:0000545").click(); | ||
cy.get('[data-testid="filterButton"]').click(); | ||
cy.contains("Display 1 result(s)"); | ||
}); | ||
}); |
Oops, something went wrong.