Skip to content

Commit

Permalink
close #333 by "un-skipping" skipped e2e test (#334)
Browse files Browse the repository at this point in the history
* close #333 by "un-skipping" skipped e2e test

* delete duplicate `search-results.json` intercept
  • Loading branch information
hamirmahal committed Sep 26, 2021
1 parent a39bb4b commit 8e00507
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions cypress/integration/app_spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,6 @@ function setupServerMocks() {
fixture: "search-results.json",
}
);
cy.intercept(
"GET",
"https://freesound.org/apiv2/search/text/?fields=id%2Cname%2Cpreviews%2Cduration%2Cnum_downloads%2Cusername%2Cnum_ratings&page_size=10&page=1&query=hello",
{
fixture: "search-results.json",
}
);
cy.intercept(
"GET",
"https://freesound.org/apiv2/search/text/?fields=id%2Cname%2Cpreviews%2Cduration%2Cnum_downloads%2Cusername%2Cnum_ratings&page_size=10&page=2&query=hello",
Expand Down Expand Up @@ -73,7 +66,7 @@ describe("Pagination", () => {
setupServerMocks();
});

it.skip("should show the second page of search results", () => {
it("should show the second page of search results", () => {
cy.visit("/search?q=hello");
cy.get(`[data-e2e-id="SoundList-track-name"]`)
.first()
Expand Down

0 comments on commit 8e00507

Please sign in to comment.