Skip to content

Commit

Permalink
Add testing for an import error
Browse files Browse the repository at this point in the history
  • Loading branch information
radical-ube committed Jul 8, 2024
1 parent 4965242 commit 7cae76d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cypress/e2e/feeder-rss-import.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ describe("Feeder RSS Import", () => {

// wait for the import to find and create timings
cy.contains(".badge", "Created", { timeout: 60000 });
cy.contains(".badge", "Complete", { timeout: 60000 });
cy.get(".badge").contains("Complete", { timeout: 60000 });
cy.contains(".badge", "Error");
cy.contains("a", "S2 EP2 Glassware").click();
cy.contains("a", "Media Files").click();

Expand Down
1 change: 1 addition & 0 deletions cypress/samples/timings.csv
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
Title,Episodes Pubdate,The Guid,And The Midroll Breaks
Title,2023-07-05,prx_284_81888abe-4ae1-4708-ad50-7f99149cd710,"{8,12}"
S2 EP2 Glassware,2021-03-03,prx_284_b1a9ec50-cd9e-4dfd-8a63-1fe1986db1cb,{5}
Title,2023-07-05,notarealguid-4ae1-4708-ad50-7f99149cd710,"{8,12}"

0 comments on commit 7cae76d

Please sign in to comment.