test: add wait timeout after room creation for stability in tests

This commit is contained in:
Carlos Santos 2025-08-04 12:13:00 +02:00
parent e7794e7aaa
commit acc3fffaf7

View File

@ -37,6 +37,7 @@ test.describe('Room Functionality Tests', () => {
await tempPage.waitForSelector('.create-room');
await tempPage.fill('#room-id-prefix', testRoomPrefix);
await tempPage.click('.create-room-btn');
await tempPage.waitForTimeout(1000);
await tempPage.waitForSelector(`#${testRoomPrefix}`);
await tempPage.close();