d8c5aa46d9
* updating old tests + collecting more snapshots [WIP] * updates old test suites and collects more visual regressions screenshots * remove snapshots and their collection temporary * run tests from packages.json * update test execution command/export constants from .env to core/constants.js * update tests/puppeteer/README.md file * update LOOP_INTERVAL variable call and assign timeouts to the webcam share spec * redefine waitForSelector func in page.js, update chat test suite specs and add poll chat message test spec * Merge remote-tracking branch 'upstream/develop' into updating-old-tests-visual-with-visual-regressions * update webcam test specs collecting videoPreviewTimeout and use it to wait for videoPreview selector * update custom parameters test suite * update breakout test suite * update webcam layout test suite * update multiusers test suite * update notifications test suite * update presentation test suite * whiteboard test suite * screenshare test suite * update sharednotes test suite * user ELEMENT_WAIT_TIME variable from timeouts constants.js * list TEST CONSTANTS by category * add poll test suite and assigns the right unassigned timeouts * set test pages to headless
37 lines
2.2 KiB
JavaScript
37 lines
2.2 KiB
JavaScript
exports.audioModal = 'div[aria-label="Join audio modal"]';
|
|
exports.audioOverlay = 'div[class^="ReactModal__Overlay"]';
|
|
exports.whiteboard = 'svg[data-test="whiteboard"]';
|
|
exports.echoTestYesButton = 'button[aria-label="Echo is audible"]';
|
|
exports.echoTestNoButton = 'button[aria-label="Echo is inaudible"]';
|
|
exports.toastContainer = 'div[class^="toastContainer--"]';
|
|
exports.muteBtn = 'button[aria-label="Mute"]';
|
|
exports.options = 'button[aria-label="Options"]';
|
|
exports.logout = 'li[data-test="logout"]';
|
|
exports.meetingEndedModal = 'div[data-test="meetingEndedModal"]';
|
|
exports.rating = 'div[data-test="rating"]';
|
|
exports.brandingAreaLogo = 'div[class^="branding--"]';
|
|
exports.verticalListOptions = 'div[aria-expanded="true"] > div[class^="scrollable--"] > ul[class^="verticalList"]';
|
|
exports.screenShareButton = 'button[aria-label="Share your screen"]';
|
|
exports.shareWebcamButton = 'button[data-test="joinVideo"]';
|
|
exports.stopWebcamButton = 'button[data-test="leaveVideo"]';
|
|
exports.webcamSettingsModal = 'div[aria-label="Webcam settings"]';
|
|
exports.startWebcamSharingConfirm = 'button[aria-label="Start sharing"]';
|
|
exports.multiUsersWhiteboard = 'button[aria-label="Turn multi-user whiteboard on"]';
|
|
exports.tools = 'button[aria-label="Tools"]';
|
|
exports.actions = 'button[aria-label="Actions"]';
|
|
exports.restorePresentation = 'button[aria-label="Restore presentation"]';
|
|
exports.container = 'div[id="container"]';
|
|
exports.defaultContent = 'div[class^="defaultContent--"]';
|
|
exports.notificationBar = 'div[class^="notificationsBar--"]';
|
|
exports.chat = 'section[aria-label="Chat"]';
|
|
exports.hidePresentation = 'button[aria-label="Hide presentation"]';
|
|
exports.recordingIndicator = 'div[class^="recordingIndicator--"]';
|
|
exports.startSharingWebcamButton = 'button[data-test="startSharingWebcam"]';
|
|
exports.webcamVideoPreview = 'video[data-test="videoPreview"]';
|
|
exports.webcamMirroredVideoPreview = 'video[data-test="mirroredVideoPreview"]';
|
|
exports.webcamVideoContainer = 'video[data-test="videoContainer"]';
|
|
exports.webcamMirroredVideoContainer = 'video[data-test="mirroredVideoContainer"]';
|
|
exports.userslistContainer = 'div[aria-label="User list"]';
|
|
exports.userListContent = 'div[data-test="userListContent"]';
|
|
exports.confirmBtn = 'button[aria-label="Confirm "]';
|