Skip to content

Commit fddfbc8

Browse files
committed
Show the receipt interface only when users visit /#/submission
1 parent 509b578 commit fddfbc8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

client/app/src/shared/services/utils.service.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ export class UtilsService {
220220
}
221221

222222
showWBLoginBox() {
223-
return this.appDataService.page === "submissionpage";
223+
return this.router.url.startsWith("/submission");
224224
}
225225

226226
showUserStatusBox() {

client/cypress/e2e/18-test-globaleaks-process.cy.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,8 @@ describe("globaleaks process", function () {
143143
cy.wait(6000);
144144
cy.get("#stop_recording").click();
145145
cy.get("#NextStepButton").click();
146-
cy.get("input[type='text']").eq(3).should("be.visible").type("abc");
147-
cy.get("input[type='text']").eq(4).should("be.visible").type("xyz");
146+
cy.get("input[type='text']").eq(2).should("be.visible").type("abc");
147+
cy.get("input[type='text']").eq(3).should("be.visible").type("xyz");
148148
cy.get("select").first().select(1);
149149
cy.get("#SubmitButton").should("be.visible");
150150
cy.get("#SubmitButton").click();

0 commit comments

Comments
 (0)