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
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
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
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
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
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
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
d656e76c1d
Merge pull request #15520 from BrentBaccala/test-suite-2
...
test: 'Skip audio check' improvement
2022-08-12 10:16:42 -04: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
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 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
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
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