The setup script for our application (development/setup.js) generates a lot of error messages when trying to add a user to teams via the Gitea API.
See this log for examples, although this seems to be happening quite consistently.
The errors do not seem to affect the script outcome or the results of the playwright test runs that rely on running the setup script. So not sure if they are true errors or just some issue in handling the api responses.
Either way we should look into it and fix the errors.
Steps To Reproduce
To reproduce locally:
Go to altinn-studio folder
run node ./development/setup.js or yarn setup and observe the error messages in the log. Also observe that the script finishes without issues.
Or just navigate to any recent run of the Playwright workflow and look at the "Run setup.js script" job.
Description of the bug
The setup script for our application (
development/setup.js
) generates a lot of error messages when trying to add a user to teams via the Gitea API. See this log for examples, although this seems to be happening quite consistently.The errors do not seem to affect the script outcome or the results of the playwright test runs that rely on running the setup script. So not sure if they are true errors or just some issue in handling the api responses. Either way we should look into it and fix the errors.
Steps To Reproduce
To reproduce locally:
node ./development/setup.js
oryarn setup
and observe the error messages in the log. Also observe that the script finishes without issues.Or just navigate to any recent run of the Playwright workflow and look at the "Run setup.js script" job.
Additional Information
Screenshot from error log above: