Altinn / altinn-studio

Next generation open source Altinn platform and applications.
https://docs.altinn.studio
BSD 3-Clause "New" or "Revised" License
115 stars 70 forks source link

Error messages in setup script #14096

Open nkylstad opened 4 days ago

nkylstad commented 4 days ago

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:

  1. Go to altinn-studio folder
  2. 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.

Additional Information

Screenshot from error log above:

Image