bigbluebutton-Github/bigbluebutton-tests/playwright
2021-11-15 11:42:29 -05:00
..
chat Add some test specs: multiuser and settings (locales) 2021-11-15 11:42:29 -05:00
settings Add some test specs: multiuser and settings (locales) 2021-11-15 11:42:29 -05:00
user Add some test specs: multiuser and settings (locales) 2021-11-15 11:42:29 -05:00
.env Add newlines 2021-11-02 18:50:20 -04:00
.gitignore Add .gitignore and commit package-lock.json 2021-11-02 19:06:12 -04:00
elements.js Add some test specs: multiuser and settings (locales) 2021-11-15 11:42:29 -05:00
helpers.js Add initial Playwright setup and some chat and user test specs 2021-11-02 12:45:52 -04:00
package-lock.json Add .gitignore and commit package-lock.json 2021-11-02 19:06:12 -04:00
package.json Move dependencies to devDependencies 2021-11-02 19:04:48 -04:00
page.js Add some test specs: multiuser and settings (locales) 2021-11-15 11:42:29 -05:00
parameters.js Add initial Playwright setup and some chat and user test specs 2021-11-02 12:45:52 -04:00
playwright.config.js Add newlines 2021-11-02 18:50:20 -04:00
README.md Updated Playwright installation instructions 2021-11-04 23:04:50 -04: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).

Run tests

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

$ npx playwright test

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

$ npx playwright test chat --browser=firefox