Commit Graph

50 Commits

Author SHA1 Message Date
Mohamed Amine Ben Salah
8daa4443cb Merge remote-tracking branch 'upstream/develop' into add-tests-recording-to-video 2021-03-01 18:47:35 -03:00
Mohamed Amine Ben Salah
2c9d8e4380 updates and adds specifications for polling 2021-03-01 18:47:08 -03:00
Mohamed Amine Ben Salah
11a82d1524
CI presettings: part 1 - set page.viewPort && export visual regressions testing media files (#11422)
* add viewPort to page.js

* clone and import media and visual regressions files to the right directories

* change repo link to official bbb-ci-test-resources.git

* remove execution of import-tests-ci-resources.sh from tests/puppeteer/run.sh

* updates the import directory of the ci testing files

* correct imported repo folder name
2021-02-26 12:49:52 -05:00
Mohamed Amine Ben Salah
4dc679d000 Adds tests recording + updates some outdated tests + linting 2021-02-26 12:52:17 -03:00
Mohamed Amine Ben Salah
d8c5aa46d9
multiple automated tests suites updates + add missing polling specs and move them with old ones to a polling test suite (#10766)
* 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
2021-02-16 15:57:10 -05:00
Mohamed Amine Ben Salah
bf45dbc7f9 adds visual regressions test with snapshots ready to use 2020-10-27 12:54:55 -03:00
Mohamed Amine Ben Salah
b48b82330a adds webcams layout test suite 2020-09-09 12:51:56 -03:00
Mohamed Amine Ben Salah
889d1da140 fixes notifications test and set all tests to headless 2020-07-20 12:52:48 -03:00
Mohamed Amine Ben Salah
cefe5521ef adds audio, webcam and screen share specs to breakout automated test 2020-07-17 16:12:43 -03:00
Mohamed Amine Ben Salah
6d169aaec5 fix processing of execution and the wait for elements to appear 2020-07-16 19:05:43 -03:00
Mohamed Amine Ben Salah
ccb2473f40 adds audio, webcam and screenshare specs to breakoutrooms test 2020-07-16 14:30:48 -03:00
Mohamed Amine Ben Salah
9cf4b71605 fixes webcam and audio automated tests 2020-06-24 16:51:20 -03:00
Mohamed Amine Ben Salah
e59dcd336a force english use in puppeteer 2020-06-24 12:18:35 -03:00
Mohamed Amine Ben Salah
b0b2602547 fixes audio test args 2020-06-15 17:00:35 -03:00
Mohamed Amine Ben Salah
55a7e2fe0a adds DEBUGGING Logger to custom parameters test 2020-06-15 16:29:47 -03:00
Mohamed Amine Ben Salah
998948e4c8 fixes getArgsWithVideo() in page.js 2020-06-15 16:29:00 -03:00
Mohamed Amine Ben Salah
4d468e65c2 enableScreenSharing() test spec 2020-06-15 16:23:45 -03:00
Mohamed Amine Ben Salah
c23752926f update screenshot() and getMetrics() in page.js 2020-06-15 16:17:38 -03:00
Mohamed Amine Ben Salah
71dea013bd reformulate getMetrics() and screenshot() to save in same directory 2020-06-15 16:17:31 -03:00
Mohamed Amine Ben Salah
87513d04e6 adds joinMicrophoneWithoutEchoTest() and logoutFromMeeting() to page.js 2020-06-15 16:08:22 -03:00
Mohamed Amine Ben Salah
de8d6315db added autoJoin custom parameter test spec 2020-06-15 16:07:10 -03:00
Mohamed Amine Ben Salah
a9d8a3d81e
adds Virtualizedlist test (#9153)
* adds media tests files

* fixes the audio test

* adds virtualized list test

* add default values to .env-template

* re-add media folder to ignored list

* Revert "adds media tests files"

This reverts commit cca05d3513.

* Revert "fixes the audio test"

This reverts commit 73ef7f69a4.

* fixes the audio test

* updates puppeteer from 1.7.0 to 2.0.0 to fix Page.setInterceptFileChooserDialog problems

* [WIP]: adding the collection of number of users in DOM and mongo

* updates virtualized user list test

* browserless as a singleton

* adds some console logs

* adds logs and code updates

* updates code and deleted singleton

* deleted the dateObj from Page.getMetrics()

* updates .env-template variables

* updates the test to return if success or fail

* removes debugging comments and updates w/ or w/o browserless page args
2020-05-07 16:55:40 -04:00
Mohamed Amine Ben Salah
3dc339f514 fixes the testing media files 2020-04-14 17:23:49 -03:00
Anton Georgiev
3355ddec51
Merge pull request #8836 from daminebenq/notifications-test
adds popup notifications test spec (not considering errors notifications)
2020-03-26 16:01:42 -04:00
Mohamed Amine Ben Salah
475c441855 adds presentation upload notification 2020-03-19 14:01:55 -03:00
Mohamed Amine Ben Salah
9387435ae4 fix the fake video capture argument command 2020-03-16 14:10:43 -03:00
Mohamed Amine Ben Salah
0df1bd85f4 renamed VIDEO_FILE in page.js 2020-03-13 17:50:32 -03:00
Mohamed Amine Ben Salah
dc92ac8572 adds getArgsWithVideo() to page.js and renamed the screensharing test spec file 2020-03-13 17:45:05 -03:00
Mohamed Amine Ben Salah
f3dcdc5379 adds screensharing test 2020-03-12 10:50:54 -03:00
Mohamed Amine Ben Salah
61ca94181d deleted duplication of new set data-test 2020-03-04 15:29:31 -03:00
Mohamed Amine Ben Salah
aa4ade2221 renaming audio data test echo test thumbs up and down 2020-03-04 14:01:18 -03:00
Mohamed Amine Ben Salah
2eeb59a00e add audio emulation and mute other user test, consider isTalking indicator 2020-03-04 11:50:56 -03:00
Mohamed Amine Ben Salah
ea226420c2 adds single user webcam test spec 2020-03-04 16:00:45 -03:00
Mohamed Amine Ben Salah
9e8be984d3 adds code clean up 2020-02-21 15:20:46 -03:00
Mohamed Amine Ben Salah
d2db75e9bb adds join Breakoutrooms Test Spec 2020-02-21 15:06:05 -03:00
Mohamed Amine Ben Salah
c4a658b25f adds fixes adding timestamp to metrics filename and to the use of effectiveParams object 2020-02-18 15:45:46 -03:00
Mohamed Amine Ben Salah
6f2612fbd7 fixes page.js conflicts 2020-02-18 14:16:54 -03:00
Mohamed Amine Ben Salah
d78627fce2 adds getMetrics() after checkForOtherUser and currentTimestamp to the metrics fileName and some fixes 2020-02-18 14:08:32 -03:00
Mohamed Amine Ben Salah
d13e8f7c51 adds memory metrics 2020-02-17 15:40:05 -03:00
Mohamed Amine Ben Salah
0a65a9684c adds getMetrics [WIP] 2020-02-14 17:52:59 -03:00
Mohamed Amine Ben Salah
702e81044b add isolated BrowserContext 2020-02-13 16:55:28 -03:00
Mohamed Amine Ben Salah
8647046378 removed overwriting in page.js and specified User2 as a specific username to use in the second session with user/multiusers.js 2020-02-12 17:18:41 -03:00
Mohamed Amine Ben Salah
b65b1b11a3 added a promise to close all pages & removed overwriting in page 2020-02-10 19:09:17 -03:00
Mohamed Amine Ben Salah
c29b994c48 removed no-needed declarations from page.js 2020-02-10 10:52:19 -03:00
Mohamed Amine Ben Salah
fa6b2ade1b added specification of username of extraUser who joins a meeting 2020-02-10 10:47:24 -03:00
Mohamed Amine Ben Salah
a7df0393c7 added Check presence Test spec to user.test.js 2020-02-07 15:05:28 -03:00
Maxim Khlobystov
7518b4cd99 Make the Puppeteer tests work with master branch 2020-01-28 14:25:27 -05:00
KDSBrowne
8b30fe00b3 Merge remote-tracking branch 'Upstream/master' into html5-packages-upgrade 2018-12-10 02:12:42 +00:00
Pedro Beschorner Marin
fd715f3aa8 Getting rid of puppeteer timeouts for now 2018-11-23 12:43:35 -02:00
Pedro Beschorner Marin
b854cdccec Structured the tests in modules 2018-11-23 10:55:16 -02:00