-
Notifications
You must be signed in to change notification settings - Fork 313
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
Implement delivering client assets for custom elements in shared questions #9786
Conversation
All images
|
Do we have any automated tests for the |
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.
I don't think there is an easy solution to the questions I'm bringing here, we can discuss it in our meeting.
Co-authored-by: Jonatan Schroeder <jonatan@yorku.ca>
I'm getting a circular dependency error now:
This was brought about by the fact that I am now using Anyone have recommendations on fixing? I was surprised that |
What I've done in the past to fix these was to split a library in two.
I suggest moving the |
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.
Make sure you reformat these files to reorder imports once you resolve the merge conflicts!
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #9786 +/- ##
=======================================
Coverage 67.32% 67.33%
=======================================
Files 458 458
Lines 71419 71503 +84
Branches 5756 5770 +14
=======================================
+ Hits 48081 48144 +63
- Misses 22909 22921 +12
- Partials 429 438 +9 ☔ View full report in Codecov by Sentry. |
describe('Shared Question Previews Within a Course Instance', function () { | ||
const previewPageInfo = { | ||
siteUrl, | ||
baseUrl, | ||
questionBaseUrl: baseUrl + `/course_instance/2/instructor/question`, | ||
questionPreviewTabUrl: '/preview', | ||
isStudentPage: false, | ||
}; | ||
|
||
testQuestionPreviews(previewPageInfo, addNumbers, addVectors); | ||
|
||
testFileDownloads(previewPageInfo, downloadFile, false); | ||
|
||
testElementClientFiles(previewPageInfo, customElement); | ||
}); | ||
}); |
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.
In addition to resolving all the PR comments, the latest commits also added these few lines to test question previews under course_instance
urls, another thing we haven't had any tests for before now
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.
No blockers, but a number of nits that would be nice to address.
partial replacement for #9776
resolves part of #9397