2021-11-26 02:23:58 +08:00
|
|
|
// Common
|
2022-01-13 23:11:17 +08:00
|
|
|
exports.actions = 'button[data-test="actionsButton"]';
|
2022-12-31 05:49:18 +08:00
|
|
|
exports.actionsItem = 'div[id="actions-dropdown-menu"] ul li';
|
2021-11-26 02:23:58 +08:00
|
|
|
exports.pollMenuButton = 'div[data-test="pollMenuButton"]';
|
2021-12-23 03:06:42 +08:00
|
|
|
exports.optionsButton = 'button[data-test="optionsButton"]';
|
2021-11-30 21:42:57 +08:00
|
|
|
exports.settings = 'li[data-test="settings"]';
|
|
|
|
exports.modalConfirmButton = 'button[data-test="modalConfirmButton"]';
|
|
|
|
exports.screenshareConnecting = 'div[data-test="screenshareConnecting"]';
|
|
|
|
exports.screenShareVideo = 'video[id="screenshareVideo"]';
|
2022-01-20 21:03:18 +08:00
|
|
|
exports.modalDismissButton = 'button[data-test="modalDismissButton"]';
|
|
|
|
exports.closeModal = 'button[data-test="closeModal"]';
|
2021-12-01 01:14:03 +08:00
|
|
|
exports.isSharingScreen = 'div[data-test="isSharingScreen"]';
|
2021-12-01 13:36:20 +08:00
|
|
|
exports.pdfFileName = '100PagesFile.pdf';
|
2023-07-25 05:07:51 +08:00
|
|
|
exports.reactionsButton = 'button[data-test="reactionsButton"]';
|
|
|
|
exports.raiseHandBtn = 'div[data-test="raiseHandBtn"]';
|
|
|
|
exports.lowerHandBtn = 'div[data-test="lowerHandBtn"]';
|
2023-02-04 04:04:45 +08:00
|
|
|
exports.raiseHandRejection = 'button[data-test="raiseHandRejection"]';
|
2021-12-15 01:10:44 +08:00
|
|
|
exports.meetingEndedModal = 'div[data-test="meetingEndedModal"]';
|
|
|
|
exports.logout = 'li[data-test="logout"]';
|
|
|
|
exports.rating = 'div[data-test="rating"]';
|
2022-02-21 22:50:29 +08:00
|
|
|
exports.errorScreenMessage = 'h1[data-test="errorScreenMessage"]';
|
2022-06-08 02:52:22 +08:00
|
|
|
exports.errorMessageLabel = 'span[id="error-message"]';
|
2023-07-12 19:55:49 +08:00
|
|
|
exports.shareCameraAsContent = 'li[data-test="shareCameraAsContent"]';
|
|
|
|
|
2021-12-10 21:30:29 +08:00
|
|
|
// Accesskey
|
2022-01-20 21:03:18 +08:00
|
|
|
exports.chatButtonKey = 'div[accesskey="P"]';
|
|
|
|
exports.userListButton = 'button[accesskey="U"]';
|
2021-11-26 02:23:58 +08:00
|
|
|
|
2021-11-03 00:45:52 +08:00
|
|
|
// Audio
|
2021-11-30 21:42:57 +08:00
|
|
|
exports.joinAudio = 'button[data-test="joinAudio"]';
|
2022-03-01 03:46:13 +08:00
|
|
|
exports.audioModal = 'div[data-test="audioModal"]';
|
2022-07-02 04:55:32 +08:00
|
|
|
exports.audioSettingsModal = 'div[data-test="audioSettingsModal"]';
|
2022-01-20 21:03:18 +08:00
|
|
|
exports.listenOnlyButton = 'button[data-test="listenOnlyBtn"]';
|
2022-07-02 04:55:32 +08:00
|
|
|
exports.testSpeakerButton = 'button[data-test="testSpeakerButton"]';
|
|
|
|
exports.stopHearingButton = 'button[data-test="stopHearingButton"]';
|
|
|
|
exports.joinEchoTestButton = 'button[data-test="joinEchoTestButton"]';
|
|
|
|
exports.establishingAudioLabel = 'span[data-test="establishingAudioLabel"]';
|
|
|
|
exports.leaveListenOnly = 'button[data-test="leaveListenOnly"]';
|
|
|
|
exports.leaveAudio = 'li[data-test="leaveAudio"]';
|
|
|
|
exports.audioDropdownMenu = 'button[data-test="audioDropdownMenu"]';
|
2022-07-16 04:54:16 +08:00
|
|
|
exports.defaultInputAudioDevice = 'li[data-test="audioinput-1"]';
|
|
|
|
exports.secondInputAudioDevice = 'li[data-test="audioinput-2"]';
|
2022-03-01 03:46:13 +08:00
|
|
|
exports.microphoneButton = 'button[data-test="microphoneBtn"]';
|
2022-01-20 21:03:18 +08:00
|
|
|
exports.echoYesButton = 'button[data-test="echoYesBtn"]';
|
2021-12-15 01:10:44 +08:00
|
|
|
exports.connectingToEchoTest = 'span[data-test="connectingToEchoTest"]';
|
2022-07-16 04:54:16 +08:00
|
|
|
exports.hasVolumeEchoTest = 'span[data-test="hasVolume"]';
|
|
|
|
exports.hasNoVolumeEchoTest = 'span[data-test="hasNoVolume"]';
|
2022-01-20 21:03:18 +08:00
|
|
|
exports.isTalking = 'button[data-test="isTalking"]';
|
2022-07-16 04:54:16 +08:00
|
|
|
exports.wasTalking = 'button[data-test="wasTalking"]';
|
2022-01-20 21:03:18 +08:00
|
|
|
exports.talkingIndicator = 'div[data-test="talkingIndicator"]';
|
2022-07-02 04:55:32 +08:00
|
|
|
exports.unmuteMicButton = 'button[data-test="unmuteMicButton"]';
|
|
|
|
exports.muteMicButton = 'button[data-test="muteMicButton"]';
|
2023-07-01 04:16:22 +08:00
|
|
|
exports.speechRecognition = 'select[id="speechSelect"]';
|
|
|
|
exports.speechRecognitionUnsupported = 'div[data-test="speechRecognitionUnsupported"]';
|
2021-11-30 21:42:57 +08:00
|
|
|
|
|
|
|
// Breakout
|
|
|
|
exports.createBreakoutRooms = 'li[data-test="createBreakoutRooms"]';
|
2022-01-20 21:03:18 +08:00
|
|
|
exports.randomlyAssign = 'button[data-test="randomlyAssign"]';
|
2022-09-10 00:54:50 +08:00
|
|
|
exports.resetAssignments = 'button[data-test="resetAssignments"]'
|
2022-01-20 21:03:18 +08:00
|
|
|
exports.breakoutRoomsItem = 'div[data-test="breakoutRoomsItem"]';
|
|
|
|
exports.alreadyConnected = 'span[data-test="alreadyConnected"]';
|
|
|
|
exports.askJoinRoom1 = 'button[data-test="askToJoinRoom1"]';
|
|
|
|
exports.joinRoom1 = 'button[data-test="joinRoom1"]';
|
2021-12-01 22:16:37 +08:00
|
|
|
exports.allowChoiceRoom = 'input[id="freeJoinCheckbox"]';
|
|
|
|
exports.labelGeneratingURL = 'span[data-test="labelGeneratingURL"]';
|
|
|
|
exports.endBreakoutRoomsButton = 'button[data-test="endBreakoutRoomsButton"]';
|
2022-09-10 00:54:50 +08:00
|
|
|
exports.durationTime = 'input[data-test="durationTime"]';
|
2023-07-21 03:59:53 +08:00
|
|
|
exports.minimumDurationWarnBreakout = 'span[data-test="minimumDurationWarnBreakout"]';
|
2022-09-10 00:54:50 +08:00
|
|
|
exports.selectNumberOfRooms = 'select[id="numberOfRooms"]';
|
2022-09-23 04:17:15 +08:00
|
|
|
exports.roomGrid = 'div[data-test="roomGrid"] >> input';
|
2022-09-10 00:54:50 +08:00
|
|
|
exports.breakoutBox0 = 'div[id="breakoutBox-0"]';
|
|
|
|
exports.breakoutBox1 = 'div[id="breakoutBox-1"]';
|
2022-09-30 19:17:15 +08:00
|
|
|
exports.breakoutBox2 = 'div[id="breakoutBox-2"]';
|
2022-09-16 02:31:10 +08:00
|
|
|
exports.breakoutOptionsMenu = 'button[data-test="breakoutOptionsMenu"]';
|
|
|
|
exports.openUpdateBreakoutUsersModal = 'li[data-test="openUpdateBreakoutUsersModal"]';
|
2023-11-29 04:10:46 +08:00
|
|
|
exports.attendeeNotAssigned = 'div[id="breakoutBox-0"] >> p:nth-child(2)';
|
2022-09-30 19:17:15 +08:00
|
|
|
exports.moveUser = 'div[id="breakoutBox-1"] >> p:nth-child(1)';
|
2022-09-16 02:31:10 +08:00
|
|
|
exports.openBreakoutTimeManager = 'li[data-test="openBreakoutTimeManager"]';
|
|
|
|
exports.inputSetTimeSelector = 'input[id="inputSetTimeSelector"]';
|
|
|
|
exports.sendButtonDurationTime = 'button[data-test="sendButtonDurationTime"]';
|
|
|
|
exports.breakoutRemainingTime = 'span[data-test="breakoutRemainingTime"]';
|
2022-09-30 19:17:15 +08:00
|
|
|
exports.roomNameInput = 'input[data-test="roomName-1"]';
|
|
|
|
exports.roomName1Test = 'span[data-test="Room 1Test"]';
|
|
|
|
exports.userNameBreakoutRoom = 'div[data-test="userNameBreakoutRoom-Room 1"]';
|
|
|
|
exports.userNameBreakoutRoom2 = 'div[data-test="userNameBreakoutRoom-Room 2"]';
|
|
|
|
exports.userNameBreakoutRoom7 = 'div[data-test="userNameBreakoutRoom-Room 7"]';
|
2022-09-16 02:31:10 +08:00
|
|
|
exports.endAllBreakouts = 'li[data-test="endAllBreakouts"]';
|
2022-09-30 19:17:15 +08:00
|
|
|
exports.breakoutRoomList = 'div[data-test="breakoutRoomList"]';
|
|
|
|
exports.warningNoUserAssigned = 'span[data-test="warningNoUserAssigned"]';
|
2022-10-06 04:35:19 +08:00
|
|
|
exports.timeRemaining = 'span[data-test="timeRemaining"]';
|
2022-12-31 05:49:18 +08:00
|
|
|
exports.captureBreakoutSharedNotes = 'input[id="captureNotesBreakoutCheckbox"]';
|
|
|
|
exports.captureBreakoutWhiteboard = 'input[id="captureSlidesBreakoutCheckbox"]';
|
2023-02-14 23:11:55 +08:00
|
|
|
exports.roomOption = 'option[data-test="roomOption"]';
|
2021-11-03 00:45:52 +08:00
|
|
|
|
|
|
|
// Chat
|
2022-01-20 21:03:18 +08:00
|
|
|
exports.chatBox = 'textarea[id="message-input"]';
|
2023-09-07 02:18:13 +08:00
|
|
|
exports.partnerDisconnectedMessage = 'span[data-test="partnerDisconnected"]';
|
|
|
|
exports.chatButton = 'button[data-test="chatButton"]';
|
2021-11-03 00:45:52 +08:00
|
|
|
exports.sendButton = 'button[data-test="sendMessageButton"]';
|
2023-09-12 00:37:23 +08:00
|
|
|
exports.chatPollMessageText = 'div[data-test="chatPollMessageText"]';
|
2023-09-16 03:38:43 +08:00
|
|
|
exports.chatMessages = 'div[data-test="chatMessages"]';
|
2021-11-03 00:45:52 +08:00
|
|
|
exports.chatOptions = 'button[data-test="chatOptionsMenu"]';
|
|
|
|
exports.chatClear = 'li[data-test="chatClear"]';
|
|
|
|
exports.chatSave = 'li[data-test="chatSave"]';
|
2021-12-01 04:10:38 +08:00
|
|
|
exports.chatCopy = 'li[data-test="chatCopy"]';
|
2022-06-08 02:52:22 +08:00
|
|
|
exports.chatTitle = 'header[data-test="chatTitle"]';
|
2022-01-20 21:03:18 +08:00
|
|
|
exports.startPrivateChat = 'li[data-test="startPrivateChat"]';
|
|
|
|
exports.publicChat = 'div[data-test="publicChat"]';
|
2023-09-07 02:18:13 +08:00
|
|
|
exports.privateChat = 'div[data-test="messageContent"] p>>nth=1';
|
2022-02-04 02:44:48 +08:00
|
|
|
exports.hidePublicChat = 'button[data-test="hidePublicChat"]';
|
2022-01-20 21:03:18 +08:00
|
|
|
exports.hidePrivateChat = 'button[data-test="hidePrivateChat"]';
|
2022-02-05 03:26:35 +08:00
|
|
|
exports.closePrivateChat = 'button[data-test="closePrivateChat"]';
|
2022-01-13 23:11:17 +08:00
|
|
|
exports.typingIndicator = 'span[data-test="typingIndicator"]';
|
2023-09-07 02:18:13 +08:00
|
|
|
exports.errorTypingIndicator = 'div[data-test="errorTypingIndicator"]';
|
|
|
|
exports.chatUserMessageText = 'div[data-test="messageContent"] p';
|
2022-12-01 19:19:03 +08:00
|
|
|
exports.secondChatUserMessageText = 'p[data-test="chatUserMessageText"]>>nth=1';
|
2023-09-26 01:40:11 +08:00
|
|
|
exports.chatWelcomeMessageText = 'div[data-test="welcomeMessage"]';
|
2022-10-11 01:47:44 +08:00
|
|
|
exports.waitingUsersLobbyMessage = 'div[data-test="lobbyMessage"] >> textarea';
|
|
|
|
exports.sendLobbyMessage = 'div[data-test="lobbyMessage"] >> button';
|
|
|
|
exports.lobbyMessage = 'div[data-test="lobbyMessage"] >> p';
|
|
|
|
exports.positionInWaitingQueue = 'div[id="positionInWaitingQueue"]';
|
|
|
|
exports.allowEveryone = 'button[data-test="allowEveryone"]';
|
|
|
|
exports.denyEveryone = 'button[data-test="denyEveryone"]';
|
|
|
|
exports.guestMessage = 'p[data-test="guestMessage"]';
|
|
|
|
exports.privateMessageGuest = 'button[data-test="privateMessageGuest"]';
|
|
|
|
exports.acceptGuest = 'button[data-test="acceptGuest"]';
|
|
|
|
exports.denyGuest = 'button[data-test="denyGuest"]';
|
|
|
|
exports.inputPrivateLobbyMesssage = 'div[data-test="privateLobbyMessage"] >> textarea';
|
|
|
|
exports.sendPrivateLobbyMessage = 'div[data-test="privateLobbyMessage"] >> button';
|
|
|
|
exports.rememberCheckboxId = 'input[id="rememberCheckboxId"]';
|
|
|
|
exports.welcomeMessage = 'h1[id="welcome-message"]';
|
2022-08-30 20:28:34 +08:00
|
|
|
// Emoji picker
|
|
|
|
exports.emojiPickerButton = 'button[data-test="emojiPickerButton"]';
|
|
|
|
exports.frequentlyUsedEmoji = '👍';
|
|
|
|
exports.emojiSent = 'section[aria-label="Frequently Used"] button[title="+1"] span';
|
|
|
|
// Auto Convert Emoji
|
|
|
|
exports.autoConvertEmojiMessage = ':)';
|
|
|
|
exports.convertedEmojiMessage = '😊';
|
2021-12-01 13:36:20 +08:00
|
|
|
// Messages
|
|
|
|
exports.message = 'Hello World!';
|
2022-01-29 03:52:22 +08:00
|
|
|
exports.testMessage = 'Just a test';
|
2021-12-01 13:36:20 +08:00
|
|
|
exports.message1 = 'Hello User2';
|
|
|
|
exports.message2 = 'Hello User1';
|
|
|
|
exports.publicMessage1 = 'This is a Public Message from User1';
|
|
|
|
exports.publicMessage2 = 'This is a Public Message from User2';
|
2022-03-29 21:53:07 +08:00
|
|
|
exports.uniqueCharacterMessage = 'A';
|
2022-01-13 23:11:17 +08:00
|
|
|
|
2021-12-15 01:10:44 +08:00
|
|
|
// CustomParameters
|
2022-01-20 21:03:18 +08:00
|
|
|
exports.audioOptionsButtons = 'span[data-test="audioModalOptions"] > button';
|
2021-12-15 01:10:44 +08:00
|
|
|
exports.userListContent = 'div[data-test="userListContent"]';
|
2022-01-20 21:03:18 +08:00
|
|
|
exports.brandingAreaLogo = 'div[data-test="brandingArea"]';
|
|
|
|
exports.toolbarToolsList = 'div[data-test="toolbarToolsList"]';
|
|
|
|
exports.notificationBannerBar = 'div[data-test="notificationBannerBar"]';
|
2023-05-11 03:51:05 +08:00
|
|
|
exports.reconnectingBar = '//div[@data-test="notificationBannerBar" and contains(text(), "Connecting ...")]';
|
2022-01-20 21:03:18 +08:00
|
|
|
exports.zoomInBtn = 'button[data-test="zoomInBtn"]';
|
|
|
|
exports.recordingIndicator = 'div[data-test="recordingIndicator"]';
|
2021-12-15 01:10:44 +08:00
|
|
|
exports.webcamMirroredVideoContainer = 'video[data-test="mirroredVideoContainer"]';
|
2023-04-25 04:52:47 +08:00
|
|
|
exports.usersList = 'div[data-test="userList"]';
|
2023-02-08 02:12:20 +08:00
|
|
|
exports.selectCameraQualityId = 'select[id="setQuality"]';
|
2023-02-22 02:28:53 +08:00
|
|
|
exports.virtualBackgrounds = 'div[data-test="virtualBackground"]';
|
|
|
|
exports.learningDashboard = 'li[data-test="learningDashboard"]';
|
2021-11-03 00:45:52 +08:00
|
|
|
|
2023-10-24 20:56:36 +08:00
|
|
|
// Timer
|
2023-10-26 04:29:52 +08:00
|
|
|
exports.timerStopwatchFeature = 'li[data-test="timerStopWatchFeature"]';
|
2023-10-24 20:56:36 +08:00
|
|
|
exports.timerCurrent = 'span[data-test="timerCurrent"]';
|
|
|
|
exports.startStopTimer = 'button[data-test="startStopTimer"]';
|
2023-10-26 04:29:52 +08:00
|
|
|
exports.resetTimerStopwatch = 'button[data-test="resetTimerStopWatch"]';
|
2023-10-24 20:56:36 +08:00
|
|
|
exports.timerButton = 'button[data-test="timer"]';
|
|
|
|
exports.timerIndicator = 'div[data-test="timeIndicator"]';
|
|
|
|
exports.stopwatch = 'button[data-test="stopwatch"]';
|
|
|
|
exports.hoursInput = 'input[data-test="hoursInput"]';
|
|
|
|
exports.minutesInput = 'input[data-test="minutesInput"]';
|
|
|
|
exports.secondsInput = 'input[data-test="secondsInput"]';
|
|
|
|
|
2021-11-30 02:39:52 +08:00
|
|
|
// Notes
|
|
|
|
exports.sharedNotes = 'div[data-test="sharedNotes"]';
|
2022-03-01 03:46:13 +08:00
|
|
|
exports.hideNotesLabel = 'button[data-test="hideNotesLabel"]';
|
2022-02-18 19:41:44 +08:00
|
|
|
exports.etherpadFrame = 'iframe[title="pad"]';
|
2022-01-29 03:52:22 +08:00
|
|
|
exports.etherpadOuter = 'iframe[title="Ether"]';
|
|
|
|
exports.etherpadInner = 'iframe[title="pad"]';
|
|
|
|
exports.etherpadEditable = 'body[id="innerdocbody"]';
|
2022-11-12 02:35:14 +08:00
|
|
|
exports.sendNotesToWhiteboard = 'li[data-test="moveNotesToWhiteboard"]';
|
2022-11-08 00:18:52 +08:00
|
|
|
exports.presentationUploadProgressToast = 'div[data-test="presentationUploadProgressToast"]';
|
2022-11-22 21:44:28 +08:00
|
|
|
exports.sharedNotesViewingMode = 'iframe[title="shared notes viewing mode"]';
|
2022-11-08 00:18:52 +08:00
|
|
|
exports.currentSlideText = 'span[id="currentSlideText"]';
|
2022-11-12 02:35:14 +08:00
|
|
|
exports.notesOptions = 'button[data-test="notesOptionsMenu"]';
|
2023-02-10 02:10:50 +08:00
|
|
|
exports.showMoreSharedNotesButton = 'span[class="show-more-icon-btn"]'
|
2023-05-13 02:02:27 +08:00
|
|
|
exports.exportSharedNotesButton = 'li[data-key="import_export"] button';
|
|
|
|
exports.exportPlainButton = 'a[id="exportplaina"] span';
|
2023-02-10 02:10:50 +08:00
|
|
|
exports.pinNotes = 'li[data-test="pinNotes"]';
|
|
|
|
exports.unpinNotes = 'button[data-test="unpinNotes"]';
|
|
|
|
exports.exportetherpad = 'span[id="exportetherpad"]';
|
|
|
|
exports.exporthtml = 'span[id="exporthtml"]';
|
2021-11-30 02:39:52 +08:00
|
|
|
|
2021-11-27 03:04:28 +08:00
|
|
|
// Notifications
|
|
|
|
exports.smallToastMsg = 'div[data-test="toastSmallMsg"]';
|
2023-07-21 03:59:53 +08:00
|
|
|
exports.closeToastBtn = 'i[data-test="closeToastBtn"]';
|
2023-02-14 21:59:46 +08:00
|
|
|
const currentPresentationToast = 'div[data-test="currentPresentationToast"]';
|
|
|
|
exports.currentPresentationToast = currentPresentationToast
|
2021-12-01 13:36:20 +08:00
|
|
|
exports.notificationsTab = 'span[id="notificationTab"]';
|
2022-01-20 21:03:18 +08:00
|
|
|
exports.chatPopupAlertsBtn = 'input[data-test="chatPopupAlertsBtn"]';
|
2023-09-26 01:40:11 +08:00
|
|
|
exports.hasUnreadMessages = 'div[data-test="unreadMessages"]';
|
2022-01-20 21:03:18 +08:00
|
|
|
exports.userJoinPushAlerts = 'input[data-test="userJoinPopupAlerts"]';
|
|
|
|
exports.toastContainer = 'div[data-test="toastContainer"]';
|
2022-06-08 02:52:22 +08:00
|
|
|
exports.presentationStatusInfo = 'span[data-test="presentationStatusInfo"]';
|
2022-08-03 07:37:16 +08:00
|
|
|
exports.noButton = 'button[aria-label="No"]';
|
|
|
|
exports.yesButton = 'button[aria-label="Yes"]';
|
2022-01-20 03:57:13 +08:00
|
|
|
// Toasts
|
|
|
|
exports.savedSettingsToast = 'Settings have been saved';
|
2021-12-01 13:36:20 +08:00
|
|
|
exports.publicChatToast = 'New Public Chat message';
|
|
|
|
exports.privateChatToast = 'New Private Chat message';
|
|
|
|
exports.joinAudioToast = 'You have joined the audio conference';
|
|
|
|
exports.pollPublishedToast = 'Poll results were published';
|
|
|
|
exports.startScreenshareToast = 'Screenshare has started';
|
|
|
|
exports.endScreenshareToast = 'Screenshare has ended';
|
2022-01-20 03:50:59 +08:00
|
|
|
exports.joiningMessageToast = 'You have joined the audio conference';
|
|
|
|
exports.attendeeJoinedToast = 'Attendee joined the session';
|
2022-01-20 03:57:13 +08:00
|
|
|
exports.raisingHandToast = 'You have raised your hand';
|
2022-03-01 03:46:13 +08:00
|
|
|
exports.loweringHandToast = 'Your hand has been lowered';
|
2022-08-03 07:37:16 +08:00
|
|
|
exports.noActiveMicrophoneToast = 'No active microphone. Share your microphone to add audio to this recording.';
|
2022-01-20 04:00:40 +08:00
|
|
|
// Icons
|
|
|
|
const baseBbbIcon = 'i.icon-bbb-';
|
|
|
|
exports.unmuteIcon = `${baseBbbIcon}unmute`;
|
|
|
|
exports.listenOnlyIcon = `${baseBbbIcon}listen`;
|
2022-07-16 04:54:16 +08:00
|
|
|
exports.checkedIcon = `${baseBbbIcon}check`;
|
2021-11-27 03:04:28 +08:00
|
|
|
|
2021-11-26 02:23:58 +08:00
|
|
|
// Polling
|
2022-01-20 21:03:18 +08:00
|
|
|
exports.pollQuestion = 'Are we good ?';
|
|
|
|
exports.answerMessage = 'All good!';
|
|
|
|
exports.questionSlideFileName = 'mockPollSlide.pdf';
|
2021-11-26 02:23:58 +08:00
|
|
|
exports.polling = 'li[data-test="polling"]';
|
|
|
|
exports.startPoll = 'button[data-test="startPoll"]';
|
|
|
|
exports.restartPoll = 'button[data-test="restartPoll"]';
|
|
|
|
exports.hidePollDesc = 'button[data-test="hidePollDesc"]';
|
2023-02-24 01:45:23 +08:00
|
|
|
exports.pollingContainer = 'aside[data-test="pollingContainer"]';
|
2022-01-20 21:03:18 +08:00
|
|
|
exports.pollLetterAlternatives = 'button[data-test="pollLetterAlternatives"]';
|
2023-02-14 21:59:46 +08:00
|
|
|
const pollOptionItem = 'input[data-test="pollOptionItem"]';
|
|
|
|
exports.pollOptionItem1 = `${pollOptionItem}>>nth=0`;
|
|
|
|
exports.pollOptionItem2 = `${pollOptionItem}>>nth=1`;
|
|
|
|
exports.pollOptionItem = pollOptionItem;
|
2022-01-20 21:03:18 +08:00
|
|
|
exports.anonymousPoll = 'input[data-test="anonymousPollBtn"]';
|
2022-11-30 23:50:43 +08:00
|
|
|
const pollAnswerOptionBtn = 'button[data-test="publishPollingLabel"]';
|
|
|
|
exports.publishPollingLabel = pollAnswerOptionBtn;
|
2021-11-26 02:23:58 +08:00
|
|
|
exports.pollAnswerOptionBtn = 'button[data-test="pollAnswerOption"]';
|
|
|
|
exports.receivedAnswer = 'td[data-test="receivedAnswer"]';
|
2022-01-20 21:03:18 +08:00
|
|
|
exports.quickPoll = 'button[data-test="quickPollBtn"]';
|
2021-11-26 02:23:58 +08:00
|
|
|
exports.pollQuestionArea = 'textarea[data-test="pollQuestionArea"]';
|
2022-01-20 21:03:18 +08:00
|
|
|
exports.userResponseBtn = 'button[data-test="userResponseBtn"]';
|
2021-11-26 02:23:58 +08:00
|
|
|
exports.pollAnswerOptionInput = 'input[data-test="pollAnswerOption"]';
|
|
|
|
exports.pollSubmitAnswer = 'button[data-test="submitAnswer"]';
|
|
|
|
exports.addPollItem = 'button[data-test="addPollItem"]';
|
|
|
|
exports.deletePollOption = 'button[data-test="deletePollOption"]';
|
|
|
|
exports.cancelPollBtn = 'button[data-test="cancelPollLabel"]';
|
2022-01-20 21:03:18 +08:00
|
|
|
exports.pollYesNoAbstentionBtn = 'button[data-test="pollYesNoAbstentionBtn"]';
|
2022-10-26 04:12:59 +08:00
|
|
|
exports.noPresentation = 'h4[data-test="noPresentation"]';
|
|
|
|
exports.autoOptioningPollBtn = 'input[data-test="autoOptioningPollBtn"]';
|
|
|
|
exports.currentPollQuestion = 'span[data-test="currentPollQuestion"]';
|
2023-02-14 21:59:46 +08:00
|
|
|
exports.allowMultiple = 'div[data-test="allowMultiple"] input[type="checkbox"]';
|
2023-05-09 20:41:08 +08:00
|
|
|
const pollAnswerOptionDesc = 'div[data-test="optionsAnswers"]';
|
|
|
|
exports.firstPollAnswerDescOption = `${pollAnswerOptionDesc} input:nth-child(1)`;
|
2023-02-14 21:59:46 +08:00
|
|
|
exports.secondPollAnswerDescOption = `${pollAnswerOptionDesc}>>nth=1`;
|
2022-10-26 04:12:59 +08:00
|
|
|
exports.submitAnswersMultiple = 'button[data-test="submitAnswersMultiple"]';
|
2023-03-03 03:57:02 +08:00
|
|
|
exports.numberVotes = 'div[data-test="numberOfVotes"]';
|
2022-10-26 04:12:59 +08:00
|
|
|
exports.answer1 = 'div[data-test="numberOfVotes"]>>nth=0';
|
|
|
|
exports.answer2 = 'div[data-test="numberOfVotes"]>>nth=1';
|
|
|
|
exports.errorNoValueInput = 'div[data-test="errorNoValueInput"]';
|
2022-11-11 04:40:37 +08:00
|
|
|
exports.smartSlides1 = 'smartSlidesPresentation.pdf';
|
2022-10-26 04:12:59 +08:00
|
|
|
exports.responsePollQuestion = 'div[data-test="pollQuestion"]';
|
2023-02-14 21:59:46 +08:00
|
|
|
const pollAnswersOption = 'div[data-test="optionsAnswers"]';
|
|
|
|
exports.firstPollAnswerOptionBtn = `${pollAnswersOption}>>nth=0`;
|
|
|
|
exports.secondPollAnswerOptionBtn = `${pollAnswersOption}>>nth=1`;
|
|
|
|
exports.firstCheckboxInput = `${pollAnswersOption}`;
|
2023-03-09 04:34:54 +08:00
|
|
|
exports.closePollingBtn = 'button[data-test="closePolling"]';
|
2023-05-25 23:58:44 +08:00
|
|
|
exports.yesNoOption = 'button[data-test="yesNoQuickPoll"]';
|
|
|
|
exports.yesNoAbstentionOption = 'li[role="menuitem"]>>nth=1';
|
|
|
|
exports.pollAnswerOptionE = 'button[data-test="pollAnswerOption"]>>nth=4';
|
|
|
|
exports.answerE = 'div[data-test="numberOfVotes"]>>nth=4';
|
2021-11-26 02:23:58 +08:00
|
|
|
// Presentation
|
2024-01-20 00:42:01 +08:00
|
|
|
exports.currentSlideImg = '[id="whiteboard-element"] [class="tl-image"]';
|
2022-01-20 21:03:18 +08:00
|
|
|
exports.uploadPresentationFileName = 'uploadTest.png';
|
2023-08-01 21:32:53 +08:00
|
|
|
exports.presentationPPTX = 'BBB.pptx';
|
|
|
|
exports.presentationTXT = 'helloWorld.txt';
|
2022-06-08 02:52:22 +08:00
|
|
|
exports.presentationPlaceholderLabel = 'There is no currently active presentation';
|
2022-06-21 07:02:10 +08:00
|
|
|
exports.noPresentationLabel = 'There is no currently active presentation';
|
2021-11-30 21:42:57 +08:00
|
|
|
exports.startScreenSharing = 'button[data-test="startScreenShare"]';
|
2021-12-01 13:36:20 +08:00
|
|
|
exports.stopScreenSharing = 'button[data-test="stopScreenShare"]';
|
2022-01-20 21:03:18 +08:00
|
|
|
exports.managePresentations = 'li[data-test="managePresentations"]';
|
2024-01-20 00:42:01 +08:00
|
|
|
exports.presentationFileUpload = 'div#upload-modal input[type="file"]';
|
2022-01-20 21:03:18 +08:00
|
|
|
exports.presentationToolbarWrapper = 'div[id="presentationToolbarWrapper"]';
|
|
|
|
exports.nextSlide = 'button[data-test="nextSlide"]';
|
|
|
|
exports.prevSlide = 'button[data-test="prevSlide"]';
|
|
|
|
exports.skipSlide = 'select[data-test="skipSlide"]';
|
2023-07-04 23:10:38 +08:00
|
|
|
exports.presentationOptionsDownloadBtn = 'button[data-test="presentationOptionsDownload"]';
|
2021-11-27 03:04:28 +08:00
|
|
|
exports.confirmManagePresentation = 'button[data-test="confirmManagePresentation"]';
|
|
|
|
exports.toastDownload = 'a[data-test="toastDownload"]';
|
|
|
|
exports.presentationDownloadBtn = 'button[data-test="presentationDownload"]';
|
|
|
|
exports.removePresentation = 'button[data-test="removePresentation"]';
|
2022-03-01 03:46:13 +08:00
|
|
|
exports.presentationPlaceholder = 'div[data-test="presentationPlaceholder"]';
|
|
|
|
exports.presentationContainer = 'div[data-test="presentationContainer"]';
|
2022-01-20 21:03:18 +08:00
|
|
|
exports.minimizePresentation = 'button[data-test="minimizePresentation"]';
|
|
|
|
exports.restorePresentation = 'button[data-test="restorePresentation"]';
|
|
|
|
exports.shareExternalVideoBtn = 'li[data-test="shareExternalVideo"]';
|
2021-11-27 03:04:28 +08:00
|
|
|
exports.videoModalInput = 'input[id="video-modal-input"]';
|
2022-01-20 21:03:18 +08:00
|
|
|
exports.startShareVideoBtn = 'button[data-test="startNewVideo"]';
|
2021-11-27 03:04:28 +08:00
|
|
|
exports.videoPlayer = 'div[data-test="videoPlayer"]';
|
2022-01-20 21:03:18 +08:00
|
|
|
exports.presentationTitle = 'h1[data-test="presentationTitle"]';
|
2022-06-21 07:02:10 +08:00
|
|
|
exports.fitToWidthButton = 'button[data-test="fitToWidthButton"]';
|
2022-08-30 19:16:09 +08:00
|
|
|
exports.presentationsList = 'div[id="upload-modal"] tbody';
|
2023-07-04 23:10:38 +08:00
|
|
|
exports.enableOriginalPresentationDownloadBtn = 'li[data-test="enableOriginalPresentationDownload"]';
|
|
|
|
exports.disableOriginalPresentationDownloadBtn = 'li[data-test="disableOriginalPresentationDownload"]';
|
|
|
|
exports.sendPresentationInCurrentStateBtn = 'li[data-test="sendCurrentStateDocument"]';
|
2023-09-16 00:38:20 +08:00
|
|
|
exports.downloadPresentation = 'div[data-test="downloadPresentationContainer"] > a';
|
2022-11-08 22:32:55 +08:00
|
|
|
exports.downloadPresentationToast = 'div[data-test="downloadPresentationToast"]';
|
2022-11-22 23:01:09 +08:00
|
|
|
exports.whiteboardOptionsButton = 'button[data-test="whiteboardOptionsButton"]';
|
|
|
|
exports.presentationFullscreen = 'li[data-test="presentationFullscreen"]';
|
|
|
|
exports.presentationSnapshot = 'li[data-test="presentationSnapshot"]';
|
2023-04-20 00:24:30 +08:00
|
|
|
exports.toolVisibility = 'li[data-test="toolVisibility"]';
|
2021-11-27 03:04:28 +08:00
|
|
|
// YouTube frame
|
|
|
|
exports.youtubeLink = 'https://www.youtube.com/watch?v=Hso8yLzkqj8&ab_channel=BigBlueButton';
|
2022-06-25 07:03:17 +08:00
|
|
|
// The title we match for here is the title of the test video specified by youtubeLink
|
2023-09-16 00:38:20 +08:00
|
|
|
exports.youtubeFrame = 'div[data-test="videoPlayer"]';
|
2021-11-27 03:04:28 +08:00
|
|
|
exports.ytFrameTitle = 'a[class^="ytp-title-link"]';
|
2022-01-20 21:03:18 +08:00
|
|
|
// Toasts
|
|
|
|
exports.statingUploadPresentationToast = 'To be uploaded ...';
|
|
|
|
exports.convertingPresentationFileToast = 'Converting file';
|
|
|
|
exports.presentationUploadedToast = 'Current presentation';
|
2021-11-26 02:23:58 +08:00
|
|
|
|
2022-02-03 08:05:26 +08:00
|
|
|
// Settings
|
|
|
|
exports.languageSelector = 'select[id="langSelector"]';
|
2022-02-04 02:44:48 +08:00
|
|
|
exports.messageTitle = 'h2[data-test="messageTitle"]';
|
|
|
|
exports.notesTitle = 'h2[data-test="notesTitle"]';
|
2022-06-21 08:22:14 +08:00
|
|
|
exports.dataSavingsTab = 'span[id="dataSaving"]';
|
2022-02-03 08:05:26 +08:00
|
|
|
|
2021-11-03 00:45:52 +08:00
|
|
|
// User
|
2023-09-16 03:38:43 +08:00
|
|
|
const userAvatar = 'div[data-test-avatar="userAvatar"]';
|
2022-06-30 23:01:00 +08:00
|
|
|
const networkDataContainer = 'div[data-test="networkDataContainer"]';
|
2022-04-08 02:34:25 +08:00
|
|
|
exports.userAvatar = userAvatar;
|
2022-02-08 02:01:47 +08:00
|
|
|
exports.moderatorAvatar = 'div[data-test="moderatorAvatar"]';
|
|
|
|
exports.viewerAvatar = 'div[data-test="viewerAvatar"]';
|
2022-04-08 02:34:25 +08:00
|
|
|
exports.applauseIcon = `${userAvatar} > div > i[class="icon-bbb-applause"]`;
|
|
|
|
exports.awayIcon = `${userAvatar} > div > i[class="icon-bbb-time"]`;
|
2022-02-04 22:13:42 +08:00
|
|
|
exports.setStatus = 'li[data-test="setStatus"]';
|
2022-01-20 21:03:18 +08:00
|
|
|
exports.away = 'li[data-test="away"]';
|
|
|
|
exports.applaud = 'li[data-test="applause"]';
|
2023-09-14 04:11:15 +08:00
|
|
|
exports.userListItem = 'div[data-test="userListItem"]';
|
2022-03-02 04:11:45 +08:00
|
|
|
exports.currentUser = 'div[data-test="userListItemCurrent"]';
|
2021-11-23 05:51:16 +08:00
|
|
|
exports.multiWhiteboardTool = 'span[data-test="multiWhiteboardTool"]';
|
2021-11-30 21:42:57 +08:00
|
|
|
exports.manageUsers = 'button[data-test="manageUsers"]';
|
2021-12-01 22:16:37 +08:00
|
|
|
exports.presenterClassName = 'presenter--';
|
2022-02-08 03:22:48 +08:00
|
|
|
exports.userListToggleBtn = 'button[data-test="toggleUserList"]';
|
2021-12-10 21:30:29 +08:00
|
|
|
exports.mobileUser = 'span[data-test="mobileUser"]';
|
|
|
|
exports.connectionStatusBtn = 'button[data-test="connectionStatusButton"]';
|
2022-03-01 03:46:13 +08:00
|
|
|
exports.connectionStatusModal = 'div[data-test="connectionStatusModal"]';
|
2022-06-21 08:22:14 +08:00
|
|
|
exports.copyStats = 'span[data-test="copyStats"]';
|
2021-12-10 21:30:29 +08:00
|
|
|
exports.dataSavingScreenshare = 'input[data-test="dataSavingScreenshare"]';
|
2022-01-20 21:03:18 +08:00
|
|
|
exports.screenshareLocked = 'button[data-test="screenshareLocked"]';
|
2023-07-19 01:49:34 +08:00
|
|
|
exports.connectionStatusItemEmpty = 'li[data-test="connectionStatusItemEmpty"]';
|
2022-11-26 03:54:32 +08:00
|
|
|
exports.connectionStatusTab2 = 'li[id="react-tabs-2"]';
|
2023-07-25 03:44:31 +08:00
|
|
|
exports.connectionStatusItemUser = 'li[data-test="connectionStatusItemUser"]';
|
2022-06-30 23:01:00 +08:00
|
|
|
exports.connectionStatusLinkToSettings = `${networkDataContainer} span[role="button"]`;
|
2021-12-10 21:30:29 +08:00
|
|
|
exports.dataSavingWebcams = 'input[data-test="dataSavingWebcams"]';
|
|
|
|
exports.connectionStatusOfflineUser = 'div[data-test="offlineUser"]';
|
2022-09-13 01:10:57 +08:00
|
|
|
exports.videoUploadRateData = 'div[data-test="videoUploadRateData"]';
|
2022-06-30 23:01:00 +08:00
|
|
|
exports.connectionDataContainer = networkDataContainer;
|
2021-12-10 21:30:29 +08:00
|
|
|
exports.avatarsWrapperAvatar = 'div[data-test="avatarsWrapperAvatar"]';
|
|
|
|
exports.guestPolicyLabel = 'li[data-test="guestPolicyLabel"]';
|
2022-03-21 23:04:43 +08:00
|
|
|
exports.downloadUserNamesList = 'li[data-test="downloadUserNamesList"]';
|
2021-12-10 21:30:29 +08:00
|
|
|
exports.waitingUsersBtn = 'div[data-test="waitingUsersBtn"]';
|
|
|
|
exports.joinMeetingDemoPage = 'div[class^="join-meeting"]';
|
|
|
|
exports.askModerator = 'button[data-test="askModerator"]';
|
|
|
|
exports.alwaysAccept = 'button[data-test="alwaysAccept"]';
|
|
|
|
exports.alwaysDeny = 'button[data-test="alwaysDeny"]';
|
2023-05-19 21:11:24 +08:00
|
|
|
exports.deniedMessageElement = 'p[class="error-message"]';
|
2022-02-04 22:13:42 +08:00
|
|
|
exports.selectRandomUser = 'li[data-test="selectRandomUser"]';
|
|
|
|
exports.noViewersSelectedMessage = 'div[data-test="noViewersSelectedMessage"]';
|
|
|
|
exports.selectedUserName = 'div[data-test="selectedUserName"]';
|
|
|
|
exports.selectAgainRadomUser = 'button[data-test="selectAgainRadomUser"]';
|
2022-02-08 02:01:47 +08:00
|
|
|
exports.promoteToModerator = 'li[data-test="promoteToModerator"]';
|
|
|
|
exports.demoteToViewer = 'li[data-test="demoteToViewer"]';
|
2022-02-08 02:45:42 +08:00
|
|
|
exports.makePresenter = 'li[data-test="makePresenter"]';
|
|
|
|
exports.takePresenter = 'li[data-test="takePresenter"]';
|
2022-12-14 02:42:11 +08:00
|
|
|
exports.muteAll = 'li[data-test="muteAll"]';
|
|
|
|
exports.muteAllExceptPresenter = 'li[data-test="muteAllExceptPresenter"]';
|
2022-11-26 03:54:32 +08:00
|
|
|
exports.error403removedLabel = 'You have been removed from the meeting';
|
2023-01-13 19:16:49 +08:00
|
|
|
exports.removeUser = 'li[data-test="removeUser"]';
|
|
|
|
exports.removeUserConfirmationBtn = 'button[data-test="removeUserConfirmation"]';
|
|
|
|
exports.confirmationCheckbox = 'input[id="confirmationCheckbox"]';
|
2023-08-23 04:25:50 +08:00
|
|
|
exports.userBannedMessage1 = 'div[id="app"] >> div >> div:nth-child(1)';
|
|
|
|
exports.userBannedMessage2 = 'div[id="app"] >> div >> div:nth-child(2)';
|
2023-01-13 19:16:49 +08:00
|
|
|
exports.meetingEndedModalTitle = 'h1[data-test="meetingEndedModalTitle"]';
|
2023-06-22 20:21:10 +08:00
|
|
|
exports.unmuteUser = 'li[data-test="unmuteUser"]';
|
|
|
|
exports.ejectCamera = 'li[data-test="ejectCamera"]';
|
2022-12-22 02:30:08 +08:00
|
|
|
|
2022-01-29 03:52:22 +08:00
|
|
|
// Lock Viewers
|
|
|
|
exports.lockViewersButton = 'li[data-test="lockViewersButton"]';
|
2022-02-03 08:45:23 +08:00
|
|
|
exports.unlockUserButton = 'li[data-test="unlockUserButton"]';
|
2022-11-26 03:54:32 +08:00
|
|
|
exports.applyLockSettings = 'button[data-test="applyLockSettings"]';
|
2022-01-29 03:52:22 +08:00
|
|
|
exports.lockShareWebcam = 'input[data-test="lockShareWebcam"]';
|
|
|
|
exports.lockSeeOtherViewersWebcam = 'input[data-test="lockSeeOtherViewersWebcam"]';
|
|
|
|
exports.lockShareMicrophone = 'input[data-test="lockShareMicrophone"]';
|
|
|
|
exports.lockPublicChat = 'input[data-test="lockPublicChat"]';
|
|
|
|
exports.lockPrivateChat = 'input[data-test="lockPrivateChat"]';
|
|
|
|
exports.lockEditSharedNotes = 'input[data-test="lockEditSharedNotes"]';
|
|
|
|
exports.lockUserList = 'input[data-test="lockUserList"]';
|
2023-07-03 21:01:05 +08:00
|
|
|
exports.hideViewersAnnotation = 'input[data-test="hideViewersAnnotation"]';
|
|
|
|
exports.hideViewersCursor = 'input[data-test="hideViewersCursor"]';
|
2023-07-05 21:05:57 +08:00
|
|
|
exports.whiteboardCursorIndicator = 'div[data-test="whiteboardCursorIndicator"]';
|
2021-11-16 00:42:29 +08:00
|
|
|
|
2023-01-10 21:39:18 +08:00
|
|
|
// Closed Captions
|
|
|
|
exports.writeClosedCaptions = 'li[data-test="writeClosedCaptions"]';
|
|
|
|
exports.startWritingClosedCaptions = 'button[data-test="startWritingClosedCaptions"]';
|
2023-01-11 00:59:08 +08:00
|
|
|
exports.startViewingClosedCaptionsBtn = 'button[data-test="startViewingClosedCaptionsBtn"]';
|
2023-01-10 21:39:18 +08:00
|
|
|
exports.startViewingClosedCaptions = 'button[data-test="startViewingClosedCaptions"]';
|
2023-01-11 00:59:08 +08:00
|
|
|
exports.liveCaptions = 'div[data-test="liveCaptions"]';
|
2023-01-10 21:39:18 +08:00
|
|
|
|
2021-11-16 00:42:29 +08:00
|
|
|
// Locales
|
|
|
|
exports.locales = ['af', 'ar', 'az', 'bg-BG', 'bn', 'ca', 'cs-CZ', 'da', 'de',
|
|
|
|
'dv', 'el-GR', 'en', 'eo', 'es', 'es-419', 'es-ES', 'es-MX', 'et', 'eu',
|
|
|
|
'fa-IR', 'fi', 'fr', 'gl', 'he', 'hi-IN', 'hr', 'hu-HU', 'hy', 'id', 'it-IT',
|
|
|
|
'ja', 'ka', 'km', 'kn', 'ko-KR', 'lo-LA', 'lt-LT', 'lv', 'ml', 'mn-MN',
|
|
|
|
'nb-NO', 'nl', 'oc', 'pl-PL', 'pt', 'pt-BR', 'ro-RO', 'ru', 'sk-SK', 'sl',
|
|
|
|
'sr', 'sv-SE', 'ta', 'te', 'th', 'tr-TR', 'uk-UA', 'vi-VN', 'zh-CN', 'zh-TW'
|
|
|
|
];
|
2021-11-23 01:06:59 +08:00
|
|
|
|
2021-11-27 04:01:41 +08:00
|
|
|
// Webcam
|
|
|
|
exports.joinVideo = 'button[data-test="joinVideo"]';
|
|
|
|
exports.leaveVideo = 'button[data-test="leaveVideo"]';
|
|
|
|
exports.videoPreview = 'video[data-test="videoPreview"]';
|
|
|
|
exports.startSharingWebcam = 'button[data-test="startSharingWebcam"]';
|
|
|
|
exports.webcamConnecting = 'div[data-test="webcamConnecting"]';
|
2022-02-03 08:05:26 +08:00
|
|
|
exports.webcamContainer = 'video[data-test="videoContainer"]';
|
|
|
|
exports.webcamVideoItem = 'div[data-test="webcamVideoItem"]';
|
2022-09-13 01:10:57 +08:00
|
|
|
exports.videoDropdownMenu = 'button[data-test="videoDropdownMenu"]';
|
2023-03-29 22:16:47 +08:00
|
|
|
exports.advancedVideoSettingsBtn = 'li[data-test="advancedVideoSettingsButton"]';
|
2022-09-13 01:10:57 +08:00
|
|
|
exports.mirrorWebcamBtn = 'li[data-test="mirrorWebcamBtn"]';
|
|
|
|
exports.focusWebcamBtn = 'li[data-test="focusWebcamBtn"]';
|
|
|
|
exports.pinWebcamBtn = 'li[data-test="pinWebcamBtn"]';
|
2023-03-29 22:16:47 +08:00
|
|
|
exports.webcamFullscreenButton = 'button[data-test="webcamFullscreenButton"]';
|
2022-09-13 01:10:57 +08:00
|
|
|
exports.selectDefaultBackground = 'button[data-test="selectDefaultBackground"]';
|
|
|
|
exports.selectCustomBackground = 'button[data-test="selectCustomBackground"]';
|
|
|
|
exports.removeCustomBackground = 'button[data-test="removeCustomBackground"]';
|
|
|
|
exports.inputBackgroundButton = 'button[data-test="inputBackgroundButton"]';
|
|
|
|
exports.noneBackgroundButton = 'button[data-test="noneBackgroundButton"]';
|
2023-04-26 05:20:48 +08:00
|
|
|
exports.dropAreaBottom = 'div[data-test="dropArea-contentLeft"]';
|
|
|
|
exports.dropAreaLeft = 'div[data-test="dropArea-contentLeft"]';
|
|
|
|
exports.dropAreaRight = 'div[data-test="dropArea-contentRight"]';
|
|
|
|
exports.dropAreaTop = 'div[data-test="dropArea-contentTop"]';
|
|
|
|
exports.dropAreaSidebarBottom = 'div[data-test="dropArea-sidebarContentBottom"]';
|
2023-10-03 19:47:50 +08:00
|
|
|
exports.selfViewDisableBtn = 'li[data-test="selfViewDisableBtn"]';
|
2022-02-03 08:05:26 +08:00
|
|
|
|
2022-09-13 01:10:57 +08:00
|
|
|
exports.videoQualitySelector = 'select[id="setQuality"]';
|
2021-11-27 04:01:41 +08:00
|
|
|
exports.webcamItemTalkingUser = 'div[data-test="webcamItemTalkingUser"]';
|
2022-01-20 21:03:18 +08:00
|
|
|
exports.webcamSettingsModal = 'div[data-test="webcamSettingsModal"]';
|
2022-01-29 03:52:22 +08:00
|
|
|
exports.dropdownWebcamButton = 'div[data-test="dropdownWebcamButton"]';
|
2021-12-15 01:10:44 +08:00
|
|
|
exports.webcamMirroredVideoPreview = 'video[data-test="mirroredVideoPreview"]';
|
2021-11-27 04:01:41 +08:00
|
|
|
|
2021-11-23 01:06:59 +08:00
|
|
|
// Whiteboard
|
2023-12-06 02:15:25 +08:00
|
|
|
exports.whiteboard = 'div[data-testid="canvas"]';
|
2022-07-02 04:55:32 +08:00
|
|
|
exports.wbLayer = 'div[data-testid="layer"]';
|
2023-12-06 02:15:25 +08:00
|
|
|
exports.wbToolbar = 'div[class="tlui-toolbar__tools"]';
|
|
|
|
exports.wbShapesButton = 'button[data-testid="tools.more"]';
|
|
|
|
exports.wbRectangleShape = 'span[data-testid="tools.more.rectangle"]';
|
|
|
|
exports.wbEllipseShape = 'span[data-testid="tools.more.ellipse"]';
|
|
|
|
exports.wbTriangleShape = 'span[data-testid="tools.more.triangle"]';
|
|
|
|
exports.wbLineShape = 'span[data-testid="tools.more.line"]';
|
|
|
|
exports.wbPencilShape = 'button[data-testid="tools.draw"]';
|
|
|
|
exports.wbStickyNoteShape = 'button[data-testid="tools.note"]';
|
|
|
|
exports.wbTextShape = 'button[data-testid="tools.text"]';
|
2022-07-02 04:55:32 +08:00
|
|
|
exports.wbTypedText = 'div[data-shape="text"]';
|
2023-02-14 21:59:46 +08:00
|
|
|
exports.wbTypedStickyNote = 'div[data-shape="sticky"]';
|
2024-02-01 00:39:51 +08:00
|
|
|
exports.wbDrawnRectangle = 'div[data-shape-type="geo"]';
|
2022-07-02 04:55:32 +08:00
|
|
|
exports.wbDrawnLine = 'div[data-shape="draw"]';
|
|
|
|
exports.multiUsersWhiteboardOn = 'button[data-test="turnMultiUsersWhiteboardOn"]';
|
|
|
|
exports.multiUsersWhiteboardOff = 'button[data-test="turnMultiUsersWhiteboardOff"]';
|
2021-11-23 05:51:16 +08:00
|
|
|
exports.whiteboardViewBox = 'svg g[clip-path="url(#viewBox)"]';
|
2021-12-04 01:01:36 +08:00
|
|
|
exports.changeWhiteboardAccess = 'li[data-test="changeWhiteboardAccess"]';
|
2022-01-20 21:03:18 +08:00
|
|
|
exports.pencil = 'button[data-test="pencilTool"]';
|
2023-03-08 23:33:05 +08:00
|
|
|
exports.resetZoomButton = 'button[data-test="resetZoomButton"]';
|
|
|
|
exports.zoomInButton = 'button[data-test="zoomInBtn"]';
|
|
|
|
exports.zoomOutButton = 'button[data-test="zoomOutBtn"]';
|
|
|
|
exports.wbPan = 'button[data-test="panButton"]';
|
|
|
|
exports.wbEraser = 'button[id="TD-PrimaryTools-Eraser"]';
|
|
|
|
exports.wbArrowShape = 'button[id="TD-PrimaryTools-ArrowTopRight"]';
|
2023-04-12 21:29:25 +08:00
|
|
|
exports.wbDelete = 'span[id="TD-Delete"]';
|
|
|
|
exports.wbUndo = 'button[id="TD-TopPanel-Undo"]';
|
|
|
|
exports.wbRedo = 'button[id="TD-TopPanel-Redo"]';
|
|
|
|
exports.wbStyles = 'button[id="TD-Styles"]';
|
|
|
|
exports.wbColorRed = 'button[id="TD-Styles-Color-Swatch-red"]';
|
|
|
|
exports.wbFillDrawing = 'button[id="TD-Styles-Fill"]';
|
|
|
|
exports.wbDashDotted = 'div[id="TD-Styles-Dash-dotted"]';
|
|
|
|
exports.wbSizeLarge = 'div[id="TD-Styles-Dash-large"]';
|
2023-08-17 22:14:08 +08:00
|
|
|
exports.wbOptions = 'button[id="TD-Tools-Dots"]';
|
|
|
|
exports.wbDuplicate = 'span[id="TD-Tools-Copy"]';
|
|
|
|
exports.wbRotate = 'span[id="TD-Tools-Rotate"]';
|
|
|
|
exports.wbMoveBackward = 'span[id="TD-Tools-ArrowDown"]';
|
|
|
|
exports.wbMoveForward = 'span[id="TD-Tools-ArrowUp"]';
|
|
|
|
exports.wbMoveToFront = 'span[id="TD-Tools-PinTop"]';
|
2023-08-08 01:08:26 +08:00
|
|
|
exports.wbPaste = 'button[id="TD-ContextMenu-Paste"]';
|
2022-07-21 03:44:09 +08:00
|
|
|
|
2022-08-12 21:40:57 +08:00
|
|
|
// About modal
|
2022-08-18 19:45:38 +08:00
|
|
|
exports.showAboutModalButton = 'li[data-test="aboutModal"]';
|
2022-09-07 00:52:45 +08:00
|
|
|
exports.aboutModal = 'div[data-test="aboutModalTitleLabel"]';
|
|
|
|
|
|
|
|
// Help button
|
|
|
|
exports.helpButton = 'li[data-test="helpButton"]';
|
2023-08-17 22:14:08 +08:00
|
|
|
exports.helpPageTitle = 'BigBlueButton Tutorials | Built For Teachers | BigBlueButton';
|
2022-11-11 04:25:18 +08:00
|
|
|
|
|
|
|
// Dark mode
|
2022-11-24 22:52:06 +08:00
|
|
|
exports.darkModeToggleBtn = 'input[data-test="darkModeToggleBtn"]';
|
2022-11-11 04:25:18 +08:00
|
|
|
exports.actionsBarBackground = 'section[id="ActionsBar"]';
|
|
|
|
exports.navbarBackground = 'header[id="Navbar"]';
|
2022-11-24 22:52:06 +08:00
|
|
|
exports.fullscreenModal = 'div[id="fsmodal"]';
|
|
|
|
exports.simpleModal = 'div[id="simpleModal"]';
|
|
|
|
exports.sharedNotesBackground = 'div[data-test="notes"]';
|
2022-12-31 05:49:18 +08:00
|
|
|
exports.whiteboardOptionsButton = 'button[data-test="whiteboardOptionsButton"]';
|
2023-01-19 00:29:45 +08:00
|
|
|
|
2023-01-24 01:31:01 +08:00
|
|
|
// Layout management
|
2023-07-26 02:26:42 +08:00
|
|
|
exports.manageLayoutBtn = 'li[data-test="manageLayoutBtn"]';
|
2023-02-22 05:49:24 +08:00
|
|
|
exports.focusOnPresentation = 'button[data-test="presentationFocusLayout"]';
|
|
|
|
exports.focusOnVideo = 'button[data-test="videoFocusLayout"]';
|
2023-04-26 05:20:48 +08:00
|
|
|
exports.smartLayout = 'button[data-test="smartLayout"]';
|
|
|
|
exports.customLayout = 'button[data-test="customLayout"]';
|
2023-07-11 03:28:00 +08:00
|
|
|
exports.updateLayoutBtn = 'button[data-test="updateLayoutBtn"]';
|
|
|
|
exports.updateEveryoneLayoutBtn = 'button[data-test="updateEveryoneLayoutBtn"]';
|
2023-04-26 05:20:48 +08:00
|
|
|
exports.cameraDock = 'div#cameraDock';
|
2023-01-25 22:05:33 +08:00
|
|
|
|
2023-01-19 00:29:45 +08:00
|
|
|
// Font size
|
|
|
|
exports.increaseFontSize = 'button[data-test="increaseFontSize"]';
|
2023-03-24 00:43:29 +08:00
|
|
|
exports.decreaseFontSize = 'button[data-test="decreaseFontSize"]';
|
2023-03-01 01:44:30 +08:00
|
|
|
|
|
|
|
// Learning dashboard
|
|
|
|
exports.learningDashboard = 'li[data-test="learningDashboard"]';
|
2023-03-09 04:34:54 +08:00
|
|
|
exports.panels = 'div[role="tablist"]';
|
|
|
|
exports.messageLearningDashboard = 'td[data-test="userTotalMessagesDashboard"]';
|
|
|
|
exports.userOnlineTime = 'td[data-test="userOnlineTimeDashboard"]';
|
2023-03-03 03:57:02 +08:00
|
|
|
exports.confirmRecording = 'div[id="simpleModal"] button:nth-child(1)';
|
|
|
|
exports.pollTrueFalse = 'button[data-test="pollTrueFalse"]';
|
2023-03-09 04:34:54 +08:00
|
|
|
exports.pollPanel = 'button[data-test="pollsPanelDashboard"]';
|
|
|
|
exports.pollTrueFalseQuestion = 'div[role="rowgroup"] div:nth-child(3) div';
|
|
|
|
exports.pollTrueFalseAnswer = 'div[role="cell"]:nth-child(3)';
|
|
|
|
exports.pollABCDQuestion = 'div[role="rowgroup"] div:nth-child(4) div';
|
|
|
|
exports.pollABCDAnswer = 'div[role="cell"]:nth-child(4)';
|
|
|
|
exports.pollYesNoQuestion = 'div[role="rowgroup"] div:nth-child(5) div';
|
|
|
|
exports.pollYesNoAnswer = 'div[role="cell"]:nth-child(5)';
|
|
|
|
exports.pollUserResponseQuestion = 'div[role="rowgroup"] div:nth-child(6) div';
|
|
|
|
exports.pollUserResponseAnswer = 'div[role="cell"]:nth-child(6)';
|
2023-04-04 04:21:24 +08:00
|
|
|
exports.pollTotal = 'div[role="cell"]:nth-child(2)';
|
2023-03-24 00:43:29 +08:00
|
|
|
exports.meetingStatusActiveDashboard = 'span[data-test="meetingStatusActiveDashboard"]';
|
|
|
|
exports.meetingDurationTimeDashboard = 'p[data-test="meetingDurationTimeDashboard"]';
|
2023-03-30 21:01:01 +08:00
|
|
|
exports.userNameDashboard = 'td[data-test="userLabelDashboard"] button';
|
|
|
|
exports.userWebcamTimeDashboard = 'td[data-test="userWebcamTimeDashboard"]';
|
|
|
|
exports.userRaiseHandDashboard = 'td[data-test="userRaiseHandDashboard"]';
|
|
|
|
exports.userStatusDashboard = 'td[data-test="userStatusDashboard"]';
|
|
|
|
exports.userActivityScoreDashboard = 'td[data-test="userActivityScoreDashboard"]';
|
|
|
|
exports.activityScorePanelDashboard = 'button[data-test="activityScorePanelDashboard"]';
|
2023-04-06 02:16:44 +08:00
|
|
|
exports.downloadSessionLearningDashboard = 'button[data-test="downloadSessionDataDashboard"]';
|