Loading
test(e2e): fix-flaky-dashboard-ui-test-in-ci
Recently, there has been lot of flaky UI failure in CI because of slow backend. The finding from trace-viewer playwright were as follows:
- Sometime,dashboard is not fully rendered and when test moves to
plan meetingpage , it doesn't create a new meeting. - Test-timeout of 30000 (which is by default) is slow when there are lot of waiting in the test.
- Till now, to solve this (https://git.opentalk.dev/opentalk/frontend/web/web-app/-/issues/1692) , we use
await expect(guestLobbyRoomPage.nameInputField).toBeVisible();-i.e checking whether the field is visible. But this is not working because this field although is enabled will have input value as empty string (" ") and take some time for the username to be filled. When that is empty, test cannot go inside meetingroompage Thus, waiting is introduced until the name is fully displayed in the page so that ilt can open MeetingRoomPage.
Edited by Sabin Panta