Commit Graph

331 Commits

Author SHA1 Message Date
Maxim Khlobystov
71c985646a Merge branch 'v2.6.x-release' of https://github.com/bigbluebutton/bigbluebutton into draw-visual-regression 2022-11-15 01:16:18 +00:00
Gabriel Porfirio
987b58d93f changed shared notes element 2022-11-11 15:35:14 -03:00
Gabriel Porfirio
e01debe83f testing text and background colors 2022-11-11 14:03:04 -03:00
Gabriel Porfirio
df32781e71 smartSlidesPresentation.pdf added 2022-11-10 17:40:37 -03:00
Gabriel Porfirio
495634a1a9 line removed, pdf name changed 2022-11-10 17:29:52 -03:00
Gabriel Porfirio
7a4113c31b dark mode testing 2022-11-10 17:25:18 -03:00
Brent Baccala
0c32f307a7 testsuite console logging: still addressing SonarCloud issues 2022-11-09 13:43:36 -05:00
Brent Baccala
ed39b09f6f testsuite console logging: address SonarCloud complaints 2022-11-09 13:43:36 -05:00
Brent Baccala
ee44663de8 testsuite console logging: use node.js util.format to process format string 2022-11-09 13:43:36 -05:00
Brent Baccala
d2700acb92 testsuite console logging: use npm package 'chalk' to parse colors 2022-11-09 13:43:36 -05:00
Brent Baccala
d3f9625bfa testsuite console logging: handle Firefox, add five options and update README 2022-11-09 13:41:50 -05:00
Brent Baccala
9a6cb96723 testsuite: update outdated instructions in README for browser selection 2022-11-09 13:41:50 -05:00
Brent Baccala
ad1ea593d8 Initial attempt at console logging. Handles format strings, colorization, drops http references 2022-11-09 13:41:50 -05:00
Gabriel Porfirio
c7b2fd209f download presentation test 2022-11-08 11:32:55 -03:00
Brent Baccala
04d97e57a7 test suite: can't check XML data before it's been parsed; check HTTP status instead 2022-11-07 18:22:14 -05:00
Brent Baccala
8ba3d236b7 test suite: explicitly require create meeting API calls to return SUCCESS,
instead of waiting for a more confusing message when parsing the response
2022-11-07 17:00:55 -05:00
Brent Baccala
f2b53df4fc move two simple API routines from core/helpers.js to api/api.js 2022-11-07 17:00:55 -05:00
Brent Baccala
6f7c82641f API calls: refactor code to call joinMicrophone instead of duplicating that logic 2022-11-07 17:00:54 -05:00
Brent Baccala
e2b65c546a API calls: refactor createMeeting to separate out URL calculation,
creating a promise, and resolving the promise.  Also split API
tests apart and name them less confusingly.
2022-11-07 17:00:54 -05:00
Brent Baccala
0e57e6049e test suite: add API tests for getMeetings/getMeetingInfo
This also creates a new package requirement (xml2js) for the
playwright test suite and adds a new helper function to make an API
call and obtain its parsed XML response as a JavaScript object
2022-11-07 17:00:54 -05:00
Gabriel Porfirio
ac27e720f0 shared notes remaining tests 2022-11-07 13:18:52 -03:00
Ramón Souza
638c0cccc8
Merge pull request #15818 from gabriellpr/guest-policy-tests
Guest policy tests
2022-10-28 17:48:53 -03:00
Gabriel Porfirio
edfdda75ee last changes poll remaining tests 2022-10-26 17:25:48 -03:00
Gabriel Porfirio
46e2e73514 changed check always deny 2022-10-25 17:22:22 -03:00
Gabriel Porfirio
d2d139f378 poll tests and smart slides test 2022-10-25 17:12:59 -03:00
Gustavo Trott
eccaf938dc
Merge pull request #15730 from gabriellpr/breakout-create-tests 2022-10-13 21:41:24 -03:00
Gabriel Porfirio
6172a9f0b9 manual tests link 2022-10-10 17:08:47 -03:00
Gabriel Porfirio
ad57bf48ab guest policy tests 2022-10-10 14:47:44 -03:00
Gabriel Porfirio
73b0e053c0 added breakout remaining time element 2022-10-05 17:41:22 -03:00
Gabriel Porfirio
4bfb2eba95 improved breakout remaning time check 2022-10-05 17:35:19 -03:00
Maxim Khlobystov
e6cc48ae3f Merge branch 'v2.6.x-release' of https://github.com/bigbluebutton/bigbluebutton into draw-visual-regression 2022-10-04 13:55:38 +00:00
Maxim Khlobystov
012ba92ec3 Updated the reference images 2022-10-04 13:53:57 +00:00
Ramón Souza
61cfdd9377
Merge pull request #15725 from germanocaumo/f-t-cursor
fix(cursor): hide cursor for others on mouse leave
2022-09-30 12:58:41 -03:00
gabriellpr
b23cc4ea51
Merge branch 'v2.6.x-release' into breakout-create-tests 2022-09-30 08:23:52 -03:00
Gabriel Porfirio
0e8a2b9a2e improving the tests 2022-09-30 08:17:15 -03:00
Joao Victor
862c9fb64d fix: add config to disable emoji sort on click 2022-09-27 15:47:39 -03:00
Ramón Souza
2b0971e2c8 Merge tag 'v2.5.6' into merge-256-26 2022-09-26 09:17:59 -03:00
Gabriel Porfirio
7d8a52d106 breakout test creation and after creation 2022-09-22 17:17:15 -03:00
germanocaumo
fea31e366c refactor: code smell 2022-09-22 10:06:23 +00:00
Maxim Khlobystov
4f6cc4afb2 Separate meetings for drawing tests + new way of clearing the default presentation notification 2022-09-21 17:51:23 +00:00
Gustavo Trott
f3bb17a5e1
Merge pull request #15616 from gabriellpr/emojis-test 2022-09-20 16:50:59 -03:00
Gustavo Trott
7e18b03bf1
Merge pull request #15651 from gabriellpr/help-button-tests 2022-09-20 16:50:50 -03:00
Gustavo Trott
cea604666c
Merge pull request #15614 from gabriellpr/presentations-test 2022-09-20 16:50:31 -03:00
Gabriel Porfirio
0984f59645 await to check copy chat 2022-09-16 18:02:32 -03:00
Gabriel Porfirio
baf40dd0ed confirm whiteboard removed 2022-09-16 17:53:17 -03:00
Gabriel Porfirio
dd4dadde3e identation and update copy checks 2022-09-16 17:26:47 -03:00
Gabriel Porfirio
2adf931c41 breakout room create and after created tests 2022-09-16 17:21:47 -03:00
Gabriel Porfirio
53673e848e removed only flag 2022-09-16 11:39:07 -03:00
Gabriel Porfirio
3ff6a52269 emoji copy test 2022-09-16 11:22:05 -03:00
Gabriel Porfirio
93b3d86f14 add clear defailt notification 2022-09-16 08:27:29 -03:00
Gabriel Porfirio
cf5953574a WIP: breakout rooms tests 2022-09-15 15:31:10 -03:00
Gabriel Porfirio
7c204363c8 moved help test to options test 2022-09-12 09:33:53 -03:00
Gabriel Porfirio
f1d45502a0 WIP: breakout room create tests 2022-09-09 13:54:50 -03:00
Anton Georgiev
3e1f73a5f0
Merge pull request #15639 from bigbluebutton/snyk-upgrade-46275f7a0dfd4f946e42f058080c6739
[Snyk] Upgrade @playwright/test from 1.22.2 to 1.25.0
2022-09-08 11:27:37 -04:00
Gabriel Porfirio
4ce4ef7446 help button test 2022-09-06 13:52:45 -03:00
snyk-bot
e89bb29010
fix: upgrade @playwright/test from 1.22.2 to 1.25.0
Snyk has created this PR to upgrade @playwright/test from 1.22.2 to 1.25.0.

See this package in npm:
https://www.npmjs.com/package/@playwright/test

See this project in Snyk:
https://app.snyk.io/org/bigbluebutton/project/8bbbaf02-e34c-42be-8688-067ef9eb712e?utm_source=github&utm_medium=referral&page=upgrade-pr
2022-09-05 05:25:48 +00:00
Gabriel Porfirio
d789ab0b58 emojis tests 2022-08-30 09:28:34 -03:00
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
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