Skip to content

Commit

Permalink
fix(test) use a more random room name generator
Browse files Browse the repository at this point in the history
  • Loading branch information
saghul committed Sep 5, 2024
1 parent da7454f commit ffb0999
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spot-webdriver/user/spot-session.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
const crypto = require('crypto');
const constants = require('./../constants');

const QUERY_PARAM_TEST_BACKEND_REFRESH_TOKEN = 'testBackendRefreshToken';
Expand Down Expand Up @@ -88,7 +89,7 @@ class SpotSession {

await remoteControlPage.waitForVisible();

const testMeetingName = meetingName ? meetingName : `ui-test-${Date.now()}`;
const testMeetingName = meetingName ? meetingName : `ui-test-${crypto.randomUUID()}`;
const meetingInput = await remoteControlPage.getMeetingInput();

await meetingInput.submitMeetingName(testMeetingName);
Expand Down

0 comments on commit ffb0999

Please sign in to comment.