Commit Graph

575 Commits

Author SHA1 Message Date
Gabriel Porfirio
1a60090feb upload and remove previous presentation test 2022-08-30 08:16:09 -03:00
Maxim Khlobystov
975c499cbe New whiteboard tests 2022-08-29 20:07:44 +00:00
Ramón Souza
e7107f87a7
Merge pull request #15598 from ramonlsouza/merge-2526-aug25
chore: Merge v2.5.5 into v2.6
2022-08-29 15:58:53 -03:00
Anton Georgiev
bc38c18a5c test: fix path to util openSettings 2022-08-27 00:53:06 +00:00
Anton B
389dd85f59 test: separate browsers config 2022-08-26 16:15:28 -03:00
Ramón Souza
bba30be343
Merge pull request #15580 from BrentBaccala/remove-webcam-race-condition-2.5
test suite: fix race condition on webcam connecting (2.5)
2022-08-26 09:33:03 -03:00
Ramón Souza
609d43157a Merge tag 'v2.5.5' into merge-2526-aug25 2022-08-25 14:33:44 -03:00
Anton Georgiev
779bf561da
Merge pull request #15577 from BrentBaccala/firefox-ci
test suite: add Firefox tests to CI (2.5)
2022-08-23 11:01:08 -04:00
Anton Georgiev
caae3bcdc1
Merge pull request #15578 from BrentBaccala/firefox-ci-2.6
test suite: add Firefox tests to CI (2.6)
2022-08-23 10:54:13 -04:00
Brent Baccala
0d2b365b3e make testing script names more consistent 2022-08-22 23:03:58 -04:00
Brent Baccala
9d22231e8e make testing script names more consistent 2022-08-22 23:02:59 -04:00
Brent Baccala
07b4002390 test suite: fix race condition on webcam connecting; don't check for a
transient "connecting" message, check instead that it's been removed
2022-08-22 22:58:56 -04:00
Brent Baccala
92e1671e39 add a 'test-firefox-ci' target to playwright's package.json, and configure
github to run it for a pull request if a "[Tt]est Firefox" label is present
2022-08-22 22:09:00 -04:00
Brent Baccala
bb0bcfdcc0 don't run Firefox screenshare tests without a DISPLAY (they don't work) 2022-08-22 22:08:44 -04:00
Brent Baccala
190891b49e don't run Firefox screenshare tests without a DISPLAY (they don't work) 2022-08-22 17:00:43 -04:00
Brent Baccala
19ce4c38ae add a 'test-firefox-ci' target to playwright's package.json, and configure
github to run it for a pull request if a "[Tt]est Firefox" label is present
2022-08-22 17:00:43 -04:00
Anton Georgiev
2be6909e26
Merge pull request #15525 from gabriellpr/about-modal
test: About Modal Test
2022-08-22 13:05:11 -04:00
Brent Baccala
d67c839cce check for default presentation toast and only clear it if it's present 2022-08-19 23:57:17 +00:00
Anton Georgiev
4b8b216bbe
Merge pull request #15566 from antobinary/cairosvg
chore: Merge BBB 2.5 into 2.6
2022-08-19 14:32:24 -04:00
Anton Georgiev
2f82901345
Merge pull request #15476 from MaximKhlobystov/test-start-recording-notifications
test: start recording modal and notification tests
2022-08-19 13:53:14 -04:00
Anton Georgiev
bbb7dd421d Merge branch 'v2.6.x-release' of github.com:bigbluebutton/bigbluebutton into cairosvg 2022-08-19 14:25:03 +00:00
Anton Georgiev
23c0dc56c4 Merge branch 'v2.5.x-release' of github.com:bigbluebutton/bigbluebutton into cairosvg 2022-08-19 13:04:00 +00:00
Gabriel Porfirio
f6c1f15385 added data-test to the about button and modal 2022-08-18 08:45:38 -03:00
Maxim Khlobystov
f0c35b5927 Properly clear default presentation notification to make recording notification tests more stable 2022-08-17 23:34:32 -04:00
Gabriel Porfirio
0c501d1f0d adding settings test link to a comment 2022-08-17 17:08:01 -03:00
Gabriel Porfirio
36d9d4dbc9 moved settings to options folder 2022-08-17 17:05:23 -03:00
Gabriel Porfirio
25f47f38b2 Merge remote-tracking branch 'upstream/v2.6.x-release' into about-modal 2022-08-17 17:01:11 -03:00
Gabriel Porfirio
fb1c60c3f6 updating options folder 2022-08-15 10:37:54 -03:00
Gabriel Porfirio
e27990b791 locale and about test to options folder 2022-08-15 09:37:52 -03:00
Gabriel Porfirio
982326fc2a separating options test 2022-08-15 08:06:53 -03:00
Anton Georgiev
d656e76c1d
Merge pull request #15520 from BrentBaccala/test-suite-2
test: 'Skip audio check' improvement
2022-08-12 10:16:42 -04:00
Gabriel Porfirio
b33aa96143 About Modal Test 2022-08-12 10:40:57 -03:00
Brent Baccala
7030297369 test 'Skip audio check' - clear default presentation toast or test can fail
because there'll be two small toasts at the end of this test
2022-08-11 20:16:07 -04:00
Brent Baccala
85c7448b12 wait a bit longer for a slide conversion that might fail a test if too slow 2022-08-11 20:13:36 -04:00
Anton Georgiev
bd0fac0615 Merge branch 'v2.6.x-release' of github.com:bigbluebutton/bigbluebutton into 26-into-develop 2022-08-10 14:11:55 +00:00
Anton B
34ec0ebbd6 test: fix wrong test plan link 2022-08-05 14:00:26 -03:00
Anton B
d4e93fc708 Merge remote-tracking branch 'upstream/v2.6.x-release' into test-update-test-plan-links 2022-08-05 13:55:35 -03:00
Ramón Souza
ded8493f05 Merge remote-tracking branch 'upstream/v2.5.x-release' into 2526-aug3 2022-08-03 09:53:41 -03:00
Maxim Khlobystov
b28780ad51 Start recording: 3 notification and 1 modal test specs 2022-08-02 19:37:16 -04:00
Anton Georgiev
ca0195585f
Merge pull request #15441 from antonbsa/audio-tests
test: Add new audio tests
2022-08-02 11:07:04 -04:00
Anton Georgiev
9371d20d4a
Merge pull request #15236 from BrentBaccala/test-suite-updates
test: Various test suite updates
2022-07-27 09:37:54 -04:00
Brent Baccala
279c3e71e2 webcamContentCheck: use browser's SHA-1 hash from Web Crypto API instead
of a custom hash function
2022-07-26 15:51:56 -04:00
Anton B
a2aed9f956 test: fix and update test plan links 2022-07-25 16:42:48 -03:00
Anton B
19141c9e42 test: fix typo 2022-07-25 14:45:00 -03:00
Anton B
2abacc9663 test: add links to the test plan 2022-07-25 14:38:33 -03:00
Anton Georgiev
ee730608b2
Merge pull request #15405 from MaximKhlobystov/25-shared-notes-tests
test: new 2.5 Playwright tests for shared notes
2022-07-25 13:37:05 -04:00
Anton Georgiev
0ecfb68492
Merge pull request #15433 from BrentBaccala/test-locales-slow
test: flag 'Test locales' as slow test so it doesn't timeout
2022-07-25 11:51:27 -04:00
Anton Georgiev
63a684b230
Merge pull request #15432 from BrentBaccala/stress-test
test: update test usersJoinKeepingConnected
2022-07-25 11:50:49 -04:00
Brent Baccala
7280ac0177 Don't wait for screenshareConnecting
Waiting for e.screenshareConnecting creates a race condition if the
screen share connects quickly, before the test waits for the
screenshareConnecting message.
2022-07-22 19:51:33 -04:00
Brent Baccala
8faebab7c4 flag 'Test locales' as slow test so it doesn't timeout 2022-07-22 19:50:32 -04:00
Brent Baccala
72a0deb16c update test usersJoinKeepingConnected
This is the stress test that connects twenty clients to the server.

Two changes in this PR:
    - actually await a Promise.all() that waits for nothing otherwise
    - close the twenty pages at the end of the test
2022-07-22 17:44:46 -04:00
Maxim Khlobystov
46aa2ccfe6 Add new 2.5 shared notes tests 2022-07-20 15:44:09 -04:00
Anton Georgiev
96254f617f
Merge pull request #15411 from antobinary/merge-26
chore: Merge BBB 2.6 into develop
2022-07-19 15:55:22 -04:00
Anton B
944e0b2981 test: add audio tests 2022-07-15 17:54:16 -03:00
Anton B
c85ffa86cd test: change skip annotation to fixme 2022-07-15 17:23:31 -03:00
Anton B
1dd5878d9d Merge remote-tracking branch 'upstream/v2.6.x-release' into small-ci-test-fixes 2022-07-15 15:05:13 -03:00
Ramon Souza
db5ac1428a Merge tag 'v2.5.3' into merge25-26-jul14 2022-07-15 11:08:02 -03:00
Anton B
c91db0377e test: skip unreliable tests 2022-07-13 17:04:36 -03:00
Anton B
c6954bad16 test: update test configs 2022-07-13 17:02:15 -03:00
Anton Georgiev
ad47bfbe84 Merge branch 'v2.6.x-release' of github.com:bigbluebutton/bigbluebutton into merge-26-jul12 2022-07-13 01:52:23 +00:00
Brent Baccala
dac96ccecb Merge remote-tracking branch 'origin/v2.5.x-release' into add-option-to-initPages 2022-07-06 19:00:23 +00:00
Anton Georgiev
e37b9b6b4b
Merge branch 'v2.5.x-release' into test-suite-youtube-title 2022-07-06 10:26:40 -04:00
Anton Georgiev
eca4ebe56f
Merge pull request #15221 from MaximKhlobystov/25-test-update
test: New 2.5 tests + links from test specs to 2.5 test plan
2022-07-06 09:39:49 -04:00
Maxim Khlobystov
beffcbb464 One more switch to uploadSinglePresentation 2022-07-05 12:21:38 -04:00
Maxim Khlobystov
80939493f5 Replace uploadPresentation with uploadSinglePresentation in other test suites 2022-07-05 11:27:40 -04:00
Maxim Khlobystov
b8e367799a Make fit to width test more stable by clicking userlist toggle button 2022-07-05 11:13:46 -04:00
Anton Georgiev
636bde46cd Merge branch 'v2.6.x-release' of github.com:bigbluebutton/bigbluebutton into dev-26-jul4 2022-07-04 21:07:30 +00:00
Anton B
c71e5c9f74 test: fix all 2.6 tests and temporarily skip inconsistent ones 2022-07-01 17:55:32 -03:00
Maxim Khlobystov
64e9cc65fc Cleanup 2022-06-30 11:05:47 -04:00
Maxim Khlobystov
4ddbe75bc1 Minor fixes for presentation and connectionStatus test suites 2022-06-30 11:01:00 -04:00
Brent Baccala
8af4f9ac2f select YouTube iframe by looking for part of the video title in the
iframe title, instead of looking for the prefix "YouTube"
2022-06-24 23:08:16 +00:00
Maxim Khlobystov
b2887c7916 Update for copy stats test 2022-06-24 13:22:56 -04:00
Brent Baccala
ef47bb5762 test suite: add an option to multiuser initPages() to wait and clear
the default presentation notification on the moderator page.

Waiting until initPages() is finished to do this is problematic, because
it might take long enough to init the user page that the toast has
disappeared from the moderator page by the time initPages() finishes.

Change all the places in the test suite where initPages() is called
right before waitAndClearDefaultPresentationNotification to use
the new option instead.

In one place (raiseAndLowerHand) I also dropped waiting and clearing
the notification on the user page because it was causing problems
and doesn't seem to be necessary.
2022-06-24 01:47:48 +00:00
Brent Baccala
776fd9f024 webcamContentCheck: check that webcam videos are changing by computing
a hash of their entire contents, rather than checking a single pixel
2022-06-23 18:13:10 +00:00
Brent Baccala
7d6fe7b03c add helper functions to test for appearance and disappearance of
n'th (i.e, second or third) browser elements

use these functions to fix a race condition in lockShareWebcam
where we tested for the disappearance of a second webcam without
necessarily waiting for it to disappear
2022-06-23 18:10:25 +00:00
Brent Baccala
b6a422d214 "Change user status" test needs to wait for default presentation notification to clear 2022-06-23 18:06:26 +00:00
Anton Georgiev
2c51e3d797 test: drop unnecessary joinViaHtml5=true 2022-06-21 15:38:53 +00:00
Maxim Khlobystov
a6af9a2b3e Links to the test plan 2022-06-20 20:52:00 -04:00
Maxim Khlobystov
72213eb91d New connection status test specs 2022-06-20 20:22:14 -04:00
Maxim Khlobystov
93a94ca88f Fit to width and multi-presentation upload 2022-06-20 19:02:10 -04:00
Brent Baccala
72e6ae2988 add documentation on how to record Meteor traffic 2022-06-17 15:47:39 -04:00
Anton B
de1c7043a9 test: fix/update tests on v2.5 2022-06-08 09:29:21 -03:00
Anton B
ed757cee34 test: update playwright to v1.19.2 2022-06-07 14:52:54 -03:00
Tiago Jacobs
ce93125d3b Add github workflow to run automated tests 2022-05-20 17:45:40 +00:00
Anton Georgiev
c4874398f6 chore: Merge 2.5.0-rc.2 into develop 2022-05-13 21:03:34 +00:00
Maxim Khlobystov
d39c1dd842
Change Node version in README 2022-05-11 10:52:51 -04:00
Maxim Khlobystov
630289ac97 Updated README 2022-05-11 10:22:18 -04:00
Ramon Souza
0d3a5326fc Merge remote-tracking branch 'upstream/v2.5.x-release' into 25260-may10 2022-05-10 10:53:00 -03:00
Ramon Souza
48a79ea7aa Merge remote-tracking branch 'upstream/v2.4.x-release' into 24-25-may-6 2022-05-06 14:30:41 -03:00
Ramon Souza
07f9a192b9 Merge remote-tracking branch 'upstream/v2.4.x-release' into merge-2425-apr27 2022-04-27 15:32:20 -03:00
Maxim Khlobystov
a10da93ade Minor updates to the failing test specs 2022-04-27 08:46:15 -04:00
Tiago Jacobs
32df90ac3b Add github workflow to run automated tests 2022-04-25 10:21:46 -03:00
Maxim Khlobystov
ddaba75cba Fixing 2.4 Playwright tests 2022-04-21 07:19:08 -04:00
Anton B
d3e9d85bc6 fix warnings, uninstall unused lib and move media folder into the core 2022-04-07 15:34:25 -03:00
Anton B
6eead03fb3 set dynamic steps by current settings 2022-03-29 10:53:07 -03:00
Anton B
fae7810ef4 Merge remote-tracking branch 'upstream/v2.5.x-release' into next-pr 2022-03-28 15:23:25 -03:00
Anton B
d1c461d9fb test: npm audit fix 2022-03-23 16:38:21 -03:00
Anton B
0469ee6a64 fix handleDownload with playwright 2022-03-21 12:04:43 -03:00
Anton B
3cbb19c858 remove commented lines 2022-03-07 16:10:00 -03:00
Anton B
8f497b4249 Merge remote-tracking branch 'upstream/v2.5.x-release' into fix-selectors-2.5 2022-03-07 15:59:06 -03:00
Anton B
6e2e2ddb54 fix firefox browser args and skip firefox mobile tests 2022-03-07 15:56:08 -03:00
Anton B
774c623b30 fix currentUser selector and fix the presenter verification 2022-03-01 17:11:45 -03:00
Anton B
94ea254d21 add debug features 2022-02-28 18:21:50 -03:00
Anton B
e988734bf4 fix and updates all automated tests to v2.5 2022-02-28 16:46:13 -03:00
Anton B
d61b7ac523 Merge remote-tracking branch 'upstream/v2.5.x-release' into users-join-same-time-tests 2022-02-25 17:05:18 -03:00
Ramón Souza
138f4d64e4 Merge remote-tracking branch 'upstream/v2.4.x-release' into v2.5.x-release 2022-02-24 14:49:56 +00:00
Anton B
c9a5be4a90 minor fixes 2022-02-21 15:08:33 -03:00
Anton B
d6c312ef07 add loop to a stress test 2022-02-21 14:35:49 -03:00
Anton B
9aa3d41736 add stress tests joining two users at the same time 2022-02-21 11:50:29 -03:00
Maxim Khlobystov
6146971c40 Fixes for Playwright selectors + all 3 browsers used by default 2022-02-18 06:41:44 -05:00
Anton Georgiev
d5a5bb7d3c
Merge pull request #14333 from antonbsa/tests-user-actions
test: Adds some user actions and private chat tests
2022-02-16 14:12:42 -05:00
Anton
7977d5c4f5 add chat test: Private chat disabled when user leaves meeting 2022-02-10 12:17:12 -03:00
Anton
d33eb97fd2 update test packages 2022-02-10 10:42:30 -03:00
Anton
196b7bd970 add toggle user list test 2022-02-07 16:22:48 -03:00
Anton
777a639fed add take and make presenter tests 2022-02-07 15:45:42 -03:00
Anton
61e25770c9 add promote and demote user tests 2022-02-07 15:01:47 -03:00
Anton
a0dd5552aa add close private chat test 2022-02-04 16:26:35 -03:00
Anton
8aa473ca78 add select random user and fix data-test prop in list items 2022-02-04 15:08:59 -03:00
Anton
19070895ee fix guest policy tests 2022-02-03 17:27:42 -03:00
Anton
88277f587b move lock viewers tests 2022-02-03 17:07:25 -03:00
Anton
d65c6d2e2e improve locale test 2022-02-03 15:44:48 -03:00
Anton
6d115fa36d remove duplicate selectors 2022-02-02 21:50:17 -03:00
Anton
f42c5e7730 add Lock viewer test: Unlock a user 2022-02-02 21:45:23 -03:00
Anton
7d5325d0dd improves some selectors and function calls 2022-02-02 21:05:26 -03:00
Anton
b85b3b7ca0 add lock viewers tests 2022-01-28 16:52:22 -03:00
Anton
b54d5300d8 updates Customparameters: listen only mode test 2022-01-20 11:14:36 -03:00
Anton
e1b522ee60 npm audit fix: test folder 2022-01-20 11:04:14 -03:00
Anton
45b1a5bfa6 minor improve on character limit test 2022-01-20 10:19:38 -03:00
Anton
aab033762b improves user test suite organization 2022-01-20 10:12:54 -03:00
Anton
2b06174958 add additional test scripts and update readme 2022-01-20 10:07:48 -03:00
Anton
7f075be033 fix all test selectors 2022-01-20 10:03:18 -03:00
Anton
f606391f69 add Chat: private message test 2022-01-19 17:02:54 -03:00
Anton
5e2e095381 improves audio notification test: also checks the icon 2022-01-19 17:00:40 -03:00
Anton
0f668edb17 add raise and lower hand and save connection status settings notification tests 2022-01-19 16:57:13 -03:00
Anton
82da6da0e6 create subdivisions and reorder tests 2022-01-19 16:50:59 -03:00
Maxim Khlobystov
6f25cbcaf4 Minor fixes for chat tests 2022-01-19 11:17:09 -05:00
Maxim Khlobystov
746fb46df4 New chat tests, improved selectors 2022-01-13 10:11:17 -05:00
Maxim Khlobystov
4754e56407 Fixes for the locales test 2021-12-22 14:06:42 -05:00
Anton Georgiev
b617eb2349
Merge pull request #13920 from antonbsa/playwright-tests-user-and-customparameter
test: Adds User and customParameters test suite
2021-12-17 10:03:38 -05:00
Anton
686795995a fix warnings 2021-12-14 18:16:37 -03:00
Anton
c481568c1d add customParameter test suite 2021-12-14 14:10:44 -03:00
Anton
5560c8745f completes User test suite 2021-12-10 10:30:29 -03:00
Anton
a2a790cab8 update page functions and clearNotification 2021-12-10 10:22:41 -03:00
hiroshisuga
82980ac17b
fix non-looping loop 2021-12-08 22:09:58 +09:00
Anton
7ca1bd8d4d fixes Change status test and adds clearNotification function 2021-12-03 18:44:55 -03:00
Anton Georgiev
28de5fa1d7
Merge pull request #13806 from antonbsa/playwright-updates
test: Updates playwright tests
2021-12-03 14:23:49 -05:00
Anton
068bb4174d fix requested changes 2021-12-03 14:01:36 -03:00
Anton
a1354f0c2d fix warnings 2021-12-02 02:30:38 -03:00
Anton
2b0412aa6b fixes the test declaration, extends the multiuser class on tests with more than one page and other minor fixes 2021-12-02 01:51:28 -03:00
Anton
34a5a52487 add VirtualizedList test suite 2021-12-01 15:10:05 -03:00
Anton
f320b698b2 add Stress test suite 2021-12-01 11:16:37 -03:00
Anton
e16fe79bb7 improves element check 2021-12-01 11:02:26 -03:00
Anton
e434f87d24 add Notifications test suite 2021-12-01 02:36:20 -03:00
Anton
67f3e1e0bf improve multiusers init 2021-12-01 02:35:41 -03:00
Anton
1a14af521d adds Chat test: copy 2021-11-30 17:10:38 -03:00
Anton
90a2801285 add Screnshare test suite 2021-11-30 17:10:16 -03:00
Anton
4ec8916ebc add chromium project 2021-11-30 14:13:43 -03:00
Anton
cb48044970 add Brekout test suite 2021-11-30 10:42:57 -03:00
Anton
909baff07c add SharedNotes test suite 2021-11-29 15:39:52 -03:00
Anton
d455fa3a78 add Webcam test suite 2021-11-26 17:01:41 -03:00
Anton
6938d4cabc add Presentation test suite 2021-11-26 16:04:28 -03:00
Anton
fe94a73417 add Polling test suite 2021-11-25 15:23:58 -03:00
Anton
b12b21a496 add media files 2021-11-23 00:28:02 -03:00
Anton
e50f4ff97b add Whiteboard test suite 2021-11-22 18:51:16 -03:00
Anton
157294739f add Audio test suite 2021-11-22 18:06:41 -03:00
Fred Dixon
ea1357d5ce
Update README.md 2021-11-20 15:06:19 -05:00
Anton
a34bb3a2c5 adds default timeouts and focus on the selector 2021-11-19 14:32:56 -03:00
Anton
e94bc894bc improve the use of init options 2021-11-18 17:09:29 -03:00
Anton
75645f15bd add core files 2021-11-18 16:20:11 -03:00
Maxim Khlobystov
4b3252e565 Add some test specs: multiuser and settings (locales) 2021-11-15 11:42:29 -05:00
Maxim Khlobystov
6043f6aeaf Updated Playwright installation instructions 2021-11-04 23:04:50 -04:00
Maxim Khlobystov
909f5acb5b Add .gitignore and commit package-lock.json 2021-11-02 19:06:12 -04:00
Maxim Khlobystov
847d7e779d Move dependencies to devDependencies 2021-11-02 19:04:48 -04:00
Maxim Khlobystov
26468745b4 Add newlines 2021-11-02 18:50:20 -04:00
Maxim Khlobystov
6ad747b000 Add initial Playwright setup and some chat and user test specs 2021-11-02 12:45:52 -04:00