MOBILE-4350 quiz: Fix disabled clicks in summaries
parent
02918af512
commit
df5bbf33bc
|
@ -104,7 +104,7 @@
|
|||
<!-- List of questions of the summary table. -->
|
||||
<ng-container *ngFor="let question of summaryQuestions">
|
||||
<ion-item *ngIf="question.type !== 'description' && question.questionnumber"
|
||||
(click)="changePage(question.page, false, question.slot)"
|
||||
(click)="!isSequential && canReturn && changePage(question.page, false, question.slot)"
|
||||
[attr.aria-label]="'core.question.questionno' | translate:{$a: question.questionnumber}"
|
||||
[detail]="!isSequential && canReturn" [button]="!isSequential && canReturn">
|
||||
<ion-label>
|
||||
|
|
|
@ -132,6 +132,9 @@ Feature: Navigate through a quiz in the app
|
|||
And I should find "Not yet answered" within "2" "ion-item" in the app
|
||||
And I should find "Not yet answered" within "3" "ion-item" in the app
|
||||
|
||||
When I press "Not yet answered" within "3" "ion-item" in the app
|
||||
Then I should not find "Text of the third question" in the app
|
||||
|
||||
When I press "Submit all and finish" in the app
|
||||
Then I should find "Once you submit" in the app
|
||||
But I should not find "Questions without a response" in the app
|
||||
|
|
Loading…
Reference in New Issue