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
[#12048] Migrate FeedbackMsqQuestionE2ETest #12904
[#12048] Migrate FeedbackMsqQuestionE2ETest #12904
Conversation
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.
hey @dishenggg, looks good so far but I think the test needs to be added to src/e2e/resources/testng-e2e-sql.xml
for it to run + data should be loaded into a separate json (see tele msg)
src/e2e/java/teammates/e2e/cases/sql/FeedbackMsqQuestionE2ETest.java
Outdated
Show resolved
Hide resolved
@dishenggg can take a look and see why it's failing? thanks! |
@weiquu The questions were not sorted properly, fixed it! |
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.
LGTM, thanks! good catches on the bugs
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.
LGTM
Part of #12048
Outline of Solution
Update E2E test to use Sql entities
Edit:
Update
FeedbackMsqQuestion.makeDeepCopy()
to useFeedbackMsqQuestionDetails.getDeepCopy()
Update
FeedbackQuestionLogic.getFeedbackQuestionsForStudents()
to sort the questions by question number