[E2E] Do not hardcode admin id (#31576) (#31577)
We're trying to minimize the amount of hard coded IDs (or any other data) in E2E tests. This change doesn't assume admin's ID is always going to be 1. It fetches the id from the current user instead.
This should make test more resilient to change.
Co-authored-by:
Nemanja Glumac <31325167+nemanjaglumac@users.noreply.github.com>
Please register or sign in to comment