Skip to content

Commit

Permalink
Add requestfailed listener
Browse files Browse the repository at this point in the history
  • Loading branch information
monsieurswag committed Nov 29, 2024
1 parent fadda69 commit f3dd0f9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions frontend/tests/functional/user-permissions.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ Object.entries(userGroups).forEach(([userGroup, userGroupData]) => {
mailer,
page
}) => {
console.log("EXPECTED TEST EXECUTED");
page.on('requestfailed', request => {
console.log(request.url() + ' ' + request.failure().errorText);
});
await usersPage.goto();
await usersPage.editItemButton(vars.user.email).click();
await usersPage.form.fill({
Expand Down

0 comments on commit f3dd0f9

Please sign in to comment.