bigbluebutton-Github/bigbluebutton-tests/playwright
2021-12-08 22:09:58 +09:00
..
audio fix requested changes 2021-12-03 14:01:36 -03:00
breakout fix requested changes 2021-12-03 14:01:36 -03:00
chat 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
core fix requested changes 2021-12-03 14:01:36 -03:00
media add media files 2021-11-23 00:28:02 -03:00
notifications fix requested changes 2021-12-03 14:01:36 -03:00
polling fix requested changes 2021-12-03 14:01:36 -03:00
presentation fix requested changes 2021-12-03 14:01:36 -03:00
screenshare fix requested changes 2021-12-03 14:01:36 -03:00
settings 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
sharednotes fix requested changes 2021-12-03 14:01:36 -03:00
stress fix requested changes 2021-12-03 14:01:36 -03:00
user fix requested changes 2021-12-03 14:01:36 -03:00
virtualizedlist fix requested changes 2021-12-03 14:01:36 -03:00
webcam fix non-looping loop 2021-12-08 22:09:58 +09:00
whiteboard fix requested changes 2021-12-03 14:01:36 -03:00
.env.template add core files 2021-11-18 16:20:11 -03:00
.gitignore Add .gitignore and commit package-lock.json 2021-11-02 19:06:12 -04:00
package-lock.json add Audio test suite 2021-11-22 18:06:41 -03:00
package.json add Audio test suite 2021-11-22 18:06:41 -03:00
playwright.config.js 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
README.md Merge pull request #13806 from antonbsa/playwright-updates 2021-12-03 14:23:49 -05:00

BigBlueButton Playwright Tests

Tests for BigBlueButton using Playwright.

Setup (with an existing BigBlueButton server)

You need to install the dependencies:

$ cd ../bigbluebutton-tests/playwright
$ npm install
$ npx playwright install

To run these tests with an existing BigBlueButton server, you need to find the server's URL and secret (can be done with bbb-conf --secret command). You need to put them into the .env file inside bigbluebutton-tests/playwright folder (variables BBB_URL and BBB_SECRET). Note: the value for BBB_URL follows the format of https://<hostname>/bigbluebutton/api.

Run tests

Tests can be executed using npx and npm test. You can run all tests in each of 3 supported environments (chromium, firefox, webkit) with one of the following commands:

$ npx playwright test
or
$ npm test

You can also run a single test suite and limit the execution to only one browser:

$ npx playwright test chat --browser=firefox
or
$ npm test chat -- --browser=firefox