bigbluebutton-Github/bigbluebutton-html5/tests/puppeteer/notifications/elements.js

27 lines
1.4 KiB
JavaScript
Raw Normal View History

exports.settings = 'li[data-test="settings"]';
exports.settingsModal = 'div[aria-label="Settings"]';
2020-07-18 03:13:47 +08:00
exports.chatPushAlerts = 'input[aria-label="Chat Message Popup Alerts"]';
exports.smallToastMsg = 'div[data-test="toastSmallMsg"]';
exports.saveSettings = '[data-test="modalConfirmButton"]';
exports.savedSettingsToast = 'Settings have been saved';
exports.publicChatToast = 'New Public Chat message';
exports.privateChatToast = 'New Private Chat message';
exports.userListNotifiedIcon = '[class^=btnWithNotificationDot]';
exports.hasUnreadMessages = 'button[data-test="hasUnreadMessages"]';
2020-03-20 01:01:55 +08:00
exports.modalConfirmButton = 'button[data-test="modalConfirmButton"]';
2020-07-18 03:13:47 +08:00
exports.userJoinPushAlerts = '[aria-label="User Join Popup Alerts"]';
2020-03-20 01:01:55 +08:00
exports.uploadPresentation = '[data-test="uploadPresentation"]';
exports.dropdownContent = '[data-test="dropdownContent"]';
exports.fileUploadDropZone = '[data-test="fileUploadDropZone"]';
2020-07-18 03:13:47 +08:00
exports.polling = 'li[data-test="polling"]';
exports.pollYesNoAbstentionBtn = 'button[aria-label="Yes / No / Abstention"]';
exports.yesBtn = 'button[aria-label="Yes"]';
exports.publishPollingResults = 'button[aria-label="Publish polling results"]';
2020-07-18 03:13:47 +08:00
exports.pollBtn = 'button[data-test="pollBtn"]';
exports.hidePollDesc = 'button[data-test="hidePollDesc"]';
exports.publishLabel = 'button[data-test="publishLabel"]';
exports.joinAudioToast = 'You have joined the audio conference';
exports.notificationsTab = 'span[id="notificationTab"]';