Skip to content
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

Merged
merged 7 commits into from
Jul 17, 2024

Conversation

radical-ube
Copy link
Contributor

No description provided.

cypress/samples/timings.csv Outdated Show resolved Hide resolved
@@ -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";
Copy link
Member

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.

Copy link
Member

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.

Copy link
Member

@cavis cavis left a 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!

@radical-ube radical-ube merged commit 2832af3 into main Jul 17, 2024
3 checks passed
@radical-ube radical-ube deleted the feat/feeder_timings_import branch July 17, 2024 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants