Skip to content

Commit

Permalink
mes-10288-adi3TestReportEndTestBug (#1883)
Browse files Browse the repository at this point in the history
* fixed a bug where the wrong end test function was being called in adi3/sc

* Removed default back buttons
  • Loading branch information
RLCorp authored Feb 20, 2025
1 parent 95ecdbe commit 70b6101
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
[ngClass]="{'toolbar-no-padding': isEndToEndPracticeMode || isExitSAMActivated}" mode="ios">
<test-flow-header
class="display-flex flex-direction-column"
[defaultBackButtonHref]="'WaitingRoomPage'"
[testCategory]="pageState.testCategory$ | async"
[shouldShowEscapeFromSamButton]="!isRekey && !isDelegated"
[pageName]="'candidate-licence-page'"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
[isPracticeMode]="isEndToEndPracticeMode"
(exitSamUsed)="onUsedExitSam()"
[isExitSAMActivated]="isExitSAMActivated"
(endTestButtonClicked)="onEndTestClick()"
(endTestButtonClicked)="onContinueClick()"
(onExitSAMActivatedChanged)="isSamActivatedChanged($event)">
Test report - {{pageState.candidateUntitledName$ | async}}
</test-flow-header>
Expand Down
1 change: 0 additions & 1 deletion src/app/pages/waiting-room/waiting-room.page.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
class="display-flex flex-direction-column"
[testCategory]="pageState.testCategory$ | async"
[isDelegatedRekey]="isDelegated"
[defaultBackButtonHref]="isEndToEndPracticeMode ? 'FakeJournalPage' : 'JournalPage'"
[shouldShowEscapeFromSamButton]="!isDelegated && !isRekey"
[pageName]="'waiting-room-page'"
[isPracticeMode]="isEndToEndPracticeMode"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export enum ExitSAMMethodUsed {
export class TestFlowHeaderComponent {
@Input() isPracticeMode = false;
@Input() shouldIncludeLanguageDirectiveOnTitle = false;
@Input() defaultBackButtonHref: string;
@Input() defaultBackButtonHref: string = null;
@Input() shouldShowRefreshButton = false;
@Input() shouldShowGenericEndTest = false;
@Input() shouldShowEndTestLink = true;
Expand Down

0 comments on commit 70b6101

Please # to comment.