Skip to content

Commit

Permalink
#9658 user invitation cypress tests
Browse files Browse the repository at this point in the history
  • Loading branch information
withanage committed Dec 13, 2024
1 parent 0e68ad4 commit 5c6eaa0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public function acceptHandle(Request $request): void
'pageTitleDescription' => __('invitation.wizard.pageTitleDescription'),
]);
$templateMgr->assign([
'pageComponent' => 'PageOJS',
'pageComponent' => 'Page',
]);
$templateMgr->display('invitation/acceptInvitation.tpl');
}
Expand Down
2 changes: 1 addition & 1 deletion cypress/support/commands_new_workflow.js
Original file line number Diff line number Diff line change
Expand Up @@ -958,7 +958,7 @@ Cypress.Commands.add('confirmationByUser', user => {
cy.get('#acceptUserDetails-familyName-control-fr_CA').type(user.familyName);
cy.get('#acceptUserDetails-affiliation-control-fr_CA').type(user.country);
cy.get('.pkpButton').contains('Save and continue').click();
cy.get('.pkpButton').contains('Accept And Continue to OJS').click();
cy.get('.pkpButton').contains('Accept And Continue to').click();
cy.get('.pkpButton').contains('View All Submissions').click();
});

Expand Down
2 changes: 1 addition & 1 deletion pages/invitation/InvitationHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ public function invite(array $args, Request $request): void
: __('invitation.wizard.pageTitleDescription'),
]);
$templateMgr->assign([
'pageComponent' => 'PageOJS',
'pageComponent' => 'Page',
'breadcrumbs' => $breadcrumbs,
'pageWidth' => TemplateManager::PAGE_WIDTH_FULL,
]);
Expand Down

0 comments on commit 5c6eaa0

Please sign in to comment.