Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
weiquu committed Nov 28, 2023
1 parent d4467ac commit f4b3a12
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -467,9 +467,9 @@ private String getAdditionalInfo(int questionNum) {

private WebElement getGivenResponseField(int questionNum, String receiver) {
WebElement questionResponsesSection = getQuestionResponsesSection(questionNum);
throw new AssertionError("Recipient not found: " + questionResponsesSection.getText());
// throw new AssertionError("Recipient not found: " + questionResponsesSection.getText());

/*

WebElement givenResponses = questionResponsesSection.findElement(By.className("given-responses"));

List<WebElement> recipients = givenResponses.findElements(By.className("response-recipient"));
Expand All @@ -488,7 +488,7 @@ private WebElement getGivenResponseField(int questionNum, String receiver) {
// }
}
throw new AssertionError("Recipient not found: " + receiver);
*/


// int recipientIndex = getGivenRecipientIndex(questionNum, receiver);
// return getQuestionResponsesSection(questionNum)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<strong>Other responses (to you): </strong>Responses are not visible to you.
</div>
</ng-template>
<div class="given-responses" class="mt-4" *ngIf="question.responsesFromSelf.length">
<div class="given-responses mt-4" *ngIf="question.responsesFromSelf.length">
<strong>Your own responses (to others):</strong>
<div *ngFor="let responseFromSelf of question.responsesFromSelf">
<tm-student-view-responses [responses]="[responseFromSelf]" [isSelfResponses]="true" [feedbackQuestion]="question.feedbackQuestion" [timezone]="session.timeZone" [statistics]="question.questionStatistics"></tm-student-view-responses>
Expand Down

0 comments on commit f4b3a12

Please sign in to comment.