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
30 lines
1.5 KiB
JavaScript
30 lines
1.5 KiB
JavaScript
exports.audioDialog = '[aria-label="Join audio modal"]';
|
|
exports.closeAudio = 'button[aria-label="Close Join audio modal"]';
|
|
exports.microphoneButton = 'button[aria-label="Microphone"]';
|
|
exports.listenButton = 'button[aria-label="Listen Only"]';
|
|
exports.echoYes = 'button[aria-label="Echo is audible"]';
|
|
exports.title = '._imports_ui_components_nav_bar__styles__presentationTitle';
|
|
exports.alerts = '.toastify-content';
|
|
|
|
exports.isTalking = '[data-test="isTalking"]';
|
|
exports.wasTalking = '[data-test="wasTalking"]';
|
|
exports.joinAudio = 'button[data-test="joinAudio"]';
|
|
exports.leaveAudio = 'button[data-test="leaveAudio"]';
|
|
|
|
exports.actions = 'button[aria-label="Actions"]';
|
|
exports.options = 'button[aria-label="Options"]';
|
|
exports.userList = 'button[aria-label="Users and Messages Toggle"]';
|
|
exports.joinAudio = 'button[aria-label="Join Audio"]';
|
|
exports.connectingStatus = 'div[class^="connecting--"]';
|
|
exports.leaveAudio = 'button[aria-label="Leave Audio"]';
|
|
exports.videoMenu = 'button[aria-label="Open video menu dropdown"]';
|
|
exports.screenShare = 'button[aria-label="Share your screen"]';
|
|
exports.screenshareConnecting = 'div[data-test="screenshareConnecting"]';
|
|
exports.screenShareVideo = 'video[id="screenshareVideo"]';
|
|
exports.stopScreenSharing = 'button[aria-label="Stop sharing your screen"]';
|
|
exports.logout = 'li[data-test="logout"]';
|
|
exports.meetingEndedModal = 'div[data-test="meetingEndedModal"]';
|
|
exports.rating = 'div[data-test="rating"]';
|
|
exports.whiteboard = 'svg[data-test="whiteboard"]';
|
|
exports.pollMenuButton = 'button[data-test="pollMenuButton"]';
|