Skip to content

Commit

Permalink
feat: fix e2e test
Browse files Browse the repository at this point in the history
  • Loading branch information
suschneider committed Jul 12, 2024
1 parent 1c7a981 commit 8cb50c6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ describe('Punchout MyAccount Functionality', () => {
page.submit();
});
at(PunchoutOverviewPage, page => {
page.selectOciTab();
page.userList.should('contain', `${_.punchoutUser2.login}`);
page.userList.should('not.contain', `Inactive`);
page.successMessage.message.should('contain', 'created');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
<h2 class="mt-1">
{{ 'account.punchout.user.list.heading' | translate : { '0': selectedType } }}
<a
[routerLink]="['/account/punchout/create', { format: selectedType }]"
[routerLink]="['/account/punchout/create']"
[queryParams]="{ format: selectedType }"
class="btn btn-secondary"
data-testing-id="add-user-button"
>
Expand Down

0 comments on commit 8cb50c6

Please sign in to comment.