-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add timings import test to the rss test suite #14
Conversation
@@ -37,6 +37,29 @@ describe("Feeder RSS Import", () => { | |||
cy.contains(".badge", "Complete", { timeout: 60000 }); | |||
cy.contains("00:00:10"); | |||
|
|||
// test timings import | |||
const timingsFile = "cypress/samples/timings.csv"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Given the nature of this data, I wonder if it would be worthwhile in this test to also test some invalid data to ensure that is handled as expected also.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is some error handling built into the timings importer ... I think if you just add a line to the CSV with a guid that doesn't exist in the database, you'll get an EpisodeImport in status = error.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 looks good to me!
No description provided.