test(e2e): refactor wait for guestlink function

refactoring wait for guest link to reduce waiting time

approach with waitForFunction doesn't seem to work because it seems page.locator is not possible to use inside waitForFunction, see https://stackoverflow.com/questions/78553896/why-cant-i-use-page-locator-in-a-page-waitforfunction

Edited by Ghost User

Merge request reports

Loading
Loading