Extensive tests return 405 Method not allowed
dvitel opened this issue · comments
After merge #61 it happen that extensive tests are not working. Obtained diff file:
1,4c1,20
< <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
< <title>405 Method Not Allowed</title>
< <h1>Method Not Allowed</h1>
< <p>The method is not allowed for the requested URL.</p>
---
> Last Name,First Name,Email,Initial Score,Revised Score,Grade for Justifications,Grade for Participation,Likes Given,Likes Received,Total Score,Final Percentage
> 8,BB,student7@usf.edu,2,2,5,1,19,0,2.2 / 5.1,43.1%
...
Problems:
Lines 50 to 52 in 4fe1297
and
Line 787 in 4fe1297
have POST method, not specified in CURL in
EvoPIE/testing/Extensive Test/TestLib.sh
Lines 53 to 55 in 4fe1297
Also, after merge in order to complete file download,
additional request to endpoint /grades/{{ quiz.id }}/justificationGrade is necessary
EvoPIE/evopie/templates/quiz-grader.html
Lines 275 to 320 in 4fe1297
I did fix of TestLib.sh 8912c71
Now test returns data but different from expected - please see commit details.
@dvitel could you please apply the same fix to the "Easy labels" folder in tests as well?
Done "Easy labels" and merge a18de7f