Commit Graph

704 Commits

Author SHA1 Message Date
Anton B
b41ba76365 test: fix webcam test name 2023-03-29 13:56:53 -03:00
Anton B
8ff1493d6b test: add webcam fullscreen test 2023-03-29 13:49:22 -03:00
Anton B
3a7b59c19a test: add video quality and background webcam tests 2023-03-29 11:16:47 -03:00
Anton B
4b5d4e9e2a Merge remote-tracking branch 'upstream/v2.6.x-release' into webcam-tests 2023-03-29 10:29:58 -03:00
Gabriel Porfirio
08c3d04fcf Merge remote-tracking branch 'upstream/v2.6.x-release' into learning-dashboard-tests-add 2023-03-28 17:06:18 -03:00
Anton Georgiev
bef87282e0
Merge pull request #16961 from MaximKhlobystov/whiteboard-tests-and-refactoring
test: new whiteboard tests + refactoring of visual regression tests
2023-03-27 13:35:18 -04:00
Anton Georgiev
7f6f7d262b
Update bigbluebutton-tests/playwright/whiteboard/whiteboard.spec.js
Co-authored-by: Anton Barboza de Sá <antonbsa.bck@gmail.com>
2023-03-27 10:42:04 -04:00
Gabriel Porfirio
254d8e66ca Merge remote-tracking branch 'upstream/v2.6.x-release' into learning-dashboard-tests-add 2023-03-27 11:36:39 -03:00
Calvin Walton
a047cda1e9 build: removing git submodule (in addition to submodule config) 2023-03-24 11:10:12 -04:00
Brent Baccala
f9e4434605
gns3 virtual network for testing (#15673)
* add scripts to create gns3 virtual network for testing

* gns3 virtual testing network: introduce declarative syntax, i.e,
declare the objects we want and only create them if they don't exist

* gns3 virtual testing network: improve node autostart logic

* gns3 virtual testing network: because of declarative syntax,
we no longer need a special --create-test-server option

* gns3 virtual testing network: allow for servers based on arbitrary git commits

* gns3 virtual testing network: avoid browsers complaining about duplicate certificate serial numbers

* gns3 virtual testing network: allocate space for two more servers

* gns3 virtual testing network: add subnets to NAT devices, so they will boot properly

* gns3 virtual testing network: allow number of ports on an Ethernet switch to be configured

* gns3 virtual testing network: move everything 100 units to the left to center PublicIP switch

* gns3 virtual testing network: restart the server by stop'ing and start'ing it
because bbb-conf --restart doesn't start nginx if it isn't running

* gns3 virtual testing network: -d switch now deletes one server;
--delete-everything does what -d used to do

* gns3 virtual testing network: new GUI image name (it's different for every user)

* gns3 virtual testing network: start node logic now marks
previously running nodes as started

* gns3 virtual testing network: add a Bash function to automate ssh logins

* gns3 virtual testing network: use "$@" instead of $* when relaying arguments to a bash command

* gns3 virtual testing network: allow ssh connections to arbitrary hosts behind NAT4

* gns3 virtual testing network: improve start node logic to start new servers when NAT1 already running

* gns3 virtual testing network: add scp command to bigbluebutton-ssh.sh

* gns3 virtual testing network: gns3-bbb.py script now accepts a list of
servers to install, or nothing to just install the infrastructure

* gns3 virtual testing network: can now copy SSL CA key and certificate
from local directory to virtual machine instead of always having the
VM create a new CA

* gns3 virtual testing network: get the quoting right in scp shell function for filenames with spaces

* gns3 virtual testing network: update README

* gns3 virtual testing network: update README

* gns3 virtual testing network: add NPDC submodule and use its gns3 import in gns3-bbb.py

* gns3 virtual testing network: use 3 network interfaces for testclient

* gns3 virtual testing network: renumber NAT devices to match interface numbering on testclient

* gns3 testing network: fix dnsmasq configuration on NAT1 so that it works for devices on the PublicIP subnet

* gns3 testing network: fix dnsmasq configuration on NAT4/5/6, but still not quite right

* gns3 testing network: "fix" dnsmasq configuration so that proxyjumped ssh works,
along with access to the servers from the testclients

* gns3 virtual testing network: label subnet switches with their CIDR prefices

* gns3 virtual testing network: move the clients and their switches a bit to the right

* gns3 virtual testing network: rename NAT1 to be the project name (default BigBlueButton)
and get rid of InternetSwitch, that I never use

* gns3 virtual testing network: allow multiple clients, all names starting with 'testclient'

* gns3 virtual testing network: factor out server NAT code, to allow for recreating deleted server NAT nodes

* gns3 virtual testing network: refactor client code (move things inside the function)
and set "dhcp-identifier: mac" on all client interfaces

* gns3 virtual testing network: make NAT1 advertise itself as ca.test into DNS domain test

* gns3 virtual testing network: refactor master gateway code into its own subroutine

* gns3 virtual testing network: better use of the gns3 library support for declarative nodes
(nodes that are declared but only created if they don't already exist)

* code cleanups; make notification_url consistently a global var;
change label on cloud from "Internet" to interface name

* typos from 39c5d6

* gns3 virtual testing network: move certificate authority from /ca to /opt/ca

* gns3 virtual testing network: move testserver.sh from / to /root

* gns3 virtual testing network: master gateway can now web proxy for servers, allowing
a web browser on the bare metal machine to access those servers

* gns3 virtual testing network: use a file() function instead of a predetermined list of files we need

* gns3 virtual testing network: add a minimal bird configuration to use OSPF to make proxy work

* gns3 virtual testing network: new-dhcp-lease.sh now picks mac addresses
based on server name, allowing multiple servers, and some bug fixes

* gns3 virtual testing network: get rid of generate NAT per-boot script (do everything at boot with iptables-persistent)

* gns3 virtual testing network: move client NAT boxes 50 coordinates to the right

* gns3 virtual testing network: autostart the nodes that were created

* gns3 virtual testing network: use 2 minute DHCP leases to make
it quicker to recover from update that replace the NAT devices

* gns3 virtual testing network: change NAT rules around because server needs to connect to itself during bbb-install

* gns3 virtual testing network: use version of NPDC that has 2 minutes timeouts
on the bare metal machine's DHCP leases

* gns3 virtual testing network: Improve the DNS configuration by configuring
the gateway to not use the bare metal machine for DNS lookups on the ".test"
domain, on either the real interface or the dummy interfaces used to
inject DNS names into the bare metal machine's DNS table.  This removes
the need to put entries into /etc/hosts (which was causing problems
when things changed IP addresses) because the gateway now consistently
uses its own DNS server (dnsmasq) to resolve the ".test" domain.

* gns3 virtual testing network: set "noninteractive" flag when updating
persistent iptables, otherwise the system tries to prompt the user
during an automatically cloud-init run (the prompts show up in
/var/log/cloud-init-output.log and stall the cloud-init run)

* gns3 virtual testing network: configure proxy to redirect http->https for the BigBlueButton servers

* gns3 virtual testing network: put some extra checks on the SSL certificates
generated for the proxy server, because if they're screwed up the apache
web server won't start at all

* gns3 virtual testing network: simplify getportrange.cgi by just having it accept GETs

* gns3 virtual testing network: two bug fixes with punching UDP ports through the proxy server
   1. if the server changed public IP addresses, a new iptables rule was not created
   2. the math was wrong; it's supposed to be a range of 100 ports, not 1000

* gns3 virtual testing network: iptables rules still weren't right on
the server's NAT gateways; connections to the gateway (128.8.8.254)
need to go through (they weren't), while only connections to the server get hairpined back

* gns3 virtual testing network: make NAT gateways listen for ssh on port 2222,
so you can connect to them easily (with a suitable ssh config file) by
just doing "ssh -p 2222 focal-260"

* gns3 virtual testing network: now that DNS is working right (read: better),
we don't need the funky shell functions for ssh and scp

* gns3 virtual testing network: updated README

* gns3 virtual testing network: switching to ISC bind/dhcpd for dynamic DNS
and dropping the proxy server and the restricted port ranges
This version works, but still has issues

* gns3 virtual testing network: don't need new-dhcp-lease.sh anymore
(it's now done by ISC dhcpd server, which has built-in support for DDNS)

* gns3 virtual testing network: DDNS server no longer requires crypto key

* gns3 virtual testing network: rearrange some comments, remove an unused script

* gns3 virtual testing network: no longer need to set a port range on the servers,
since they are directly reachable from the bare metal machine using OSPF and dynamic DNS

* gns3 virtual testing network: drop final remnants of old "NAT1"
name; it's now consistently "master gateway"

* gns3 virtual testing network: reduce DHCP lease times to ten seconds

* gns3 testing network: move testserver.sh from /root to /, because ubuntu needs permission to exec it

* gns3 virtual testing network: move client nodes a bit to the right in the GUI

* gns3 virtual testing network: simplify bird (OSPF) configuration a bit

* gns3 virtual testing network: add --public-subnet and --domain options

* gns3 virtual testing network: use most recent ubuntu-open-desktop image, if several are available

* gns3 virtual testing network: pick up the server's domain name from
the testing network now that we have a --domain option (commit f35f21)

* gns3 virtual testing network: introduce --server-subnet option

* gns3 virtual testing network: label server subnets with subnet prefix (if possible)

* gns3 virtual testing network: all calls to dpkg-reconfigure are noninteractive

* gns3 virtual testing network: turn off DHCP/DDNS conflict detection

* gns3 virtual testing network: use 120 second DHCP leases; 10 second leases were a problem

* gns3 virtual testing network: fix commands to save iptables (wasn't saving NAT table)

* gns3 virtual testing network: add a 'certbot' node running Let's Encrypt's boulder server

* gns3 virtual testing network: switch 'certbot' to use smallstep's step-ca server

* gns3 virtual testing network: first attempt to dummy letsencrypt's acme service (doesn't work)

* gns3 virtual testing network: a dummy ACME server works; server certbots use it to get SSL certificates

* gns3 virtual testing network: switch testservers to use certbot to get SSL certificates

* gns3 virtual testing network: put generateCA.sh back in (in case CA key and cert don't already exist), and remove getcert.cgi

* gns3 virtual testing network: add a standard BigBlueButton turn server

* gns3 virtual testing network: can now use 400 permission for CA key file

* gns3 virtual testing network: dnsmasq cname doesn't work with IP addresses (why should it?); use interface_name instead

* gns3 virtual testing network: install server certificate from cloud-init, rather than doing it after boot

* gns3 virtual testing network: fix certbot on master gateway so that it can update certificates as they expire

* gns3 virtual testing network: only build and/or start NAT4/5/6 if testclient is requested

* gns3 virtual testing network: generate root CA certificate on bare metal machine and install it in all VMs from there

* gns3 virtual testing network: use certbot nginx plugin instead of standalone mode

interacts better with nginx (don't have to stop and restart nginx everytime you do a certbot authentication)

* gns3 virtual testing network: add --no-nat switch to build virtual servers without NAT gateways

* gns3 virtual testing network: need to not only start step-ca, but enable it (start on every boot)

* gns3 virtual testing network: save DNS domain name in GNS3 project variables,
so we don't have to specify it on the command line every time we run this script

* gns3 virtual testing network: add --no-install switch

* gns3 virtual testing network: fix bogus help text

* gns3 virtual testing network: --delete now deletes just a specific server and its associated nodes

Old behavior (deleting nodes whose name contains a substring) is now done with --delete-substring

The old behavior could delete too much (focal-260 would match focal-260-2) and too little
(subnet switches are named by their CIDR prefix if possible)

* gns3 virtual testing network: when creating a new server, check for existing nodes in all GUI locations to be used

* gns3 virtual testing network: update comments

* gns3 virtual testing network: add return code checks when calling openssl

* gns3 virtual testing network: README update

* gns3 virtual testing network: add 'natturn' TURN server behind a NAT gateway

* gns3 virtual testing network: make TURN server observe --no-install option

* gns3 virtual testing network: only try to install 'natturn' if it doesn't already exist,
because even though it's got "declarative" procedures (you declare what you want but it
only creates it if needed), natturn's subnet will conflict with server subnets

* gns3 virtual testing network: allow Ubuntu release (18 or 20) to be set for a new server

* gns3 virtual testing network: add --repository and --install-script options
and move computation of the install script from testserver.sh to the main script

* gns3 virtual testing network: add --proxy-server option; we pass this option to bbb-install script

* add --release option to specify which BigBlueButton server release should be installed,
and improve --install-script option to accept local files or arbitrary URLs

* gns3 virtual testing network: guess version of install script instead of defaulting to 2.6

* gns3 virtual testing network: enable NAT in both directions on gateway device

* gns3 virtual testing network: check server release for validity before attempting install

* updated README and newest version of NPDC

* gns3 virtual testing network: add option to install greenlight

* gns3 virtual testing network: drop --domain switch and instead use an initialization server instead to figure out DNS domain

* gns3 virtual testing network: don't create turn or natturn devices unless specifically requested

* gns3 virtual testing network: updated README

* gns3 virtual testing network: use a newer version of NPDC that monitors console logs, so we watch the servers boot

* gns3 virtual testing network: updated README

* gns3 virtual testing network: update NPDC for backwards compatibility with Ubuntu 18

* gns3 virtual testing network: update instructions for git submodules

* gns3 virtual testing network: save public IP subnet in GNS3 project variables,
so we don't have to specify it every time the script runs

* gns3 virtual testing network: name NAT gateways more consistently

* gns3 virtual testing network: add --quiet switch

* gns3 virtual testing network: compute veth domain using initsrv and use it to label the cloud icon

* gns3 virtual testing network: improve handling of nginx hash bucket errors on install

* gns3 virtual testing network: bump NPDC version; avoid trying to print console messages on VNC consoles (it won't work)
2023-03-23 14:30:04 -04:00
Gabriel Porfirio
e3e8f24c50 new learning dashboard tests 2023-03-23 13:43:29 -03:00
Maxim Khlobystov
7be61d1118 Reconnectio n tests for chat and audio 2023-03-21 19:46:52 +00:00
Anton Georgiev
eb4079a512
Merge pull request #17101 from antonbsa/updt-polling-tests-v2.6
test: Update polling tests
2023-03-21 14:08:23 -04:00
Anton Georgiev
1897e9ebfe
Merge pull request #16956 from BrentBaccala/connection-failure
test: Connection failure tests
2023-03-21 13:26:53 -04:00
Anton B
4a0a9a29a5 test: update polling tests 2023-03-19 16:10:07 -03:00
Anton Georgiev
19d3b03afd
Merge pull request #16972 from gabriellpr/learning-dashboard-test
test: learning dashboard
2023-03-17 12:25:25 -04:00
Anton B
80a4baa785 test: improve upload presentation test 2023-03-15 10:57:49 -03:00
Anton Georgiev
3e3d18f73b
Merge pull request #17027 from antonbsa/imp-reintroduce-test
test: Improve notification test execution time and reintroduce skipped test
2023-03-14 16:31:43 -04:00
Brent Baccala
0d2e35b15b connection failure tests: remove debugging logs 2023-03-13 17:34:12 -04:00
Gustavo Trott
ffec463f38 Re-enable sharednotes tests 2023-03-13 17:47:40 -03:00
Anton B
4df93cb53d test: update and reintroduce tests 2023-03-13 16:34:31 -03:00
Gabriel Porfirio
7881090ba2 changing screenshot file name 2023-03-13 14:30:32 -03:00
Gabriel Porfirio
429e71eaf4 fix upload single presentation test 2023-03-13 08:55:36 -03:00
Gabriel Porfirio
a0eceda1f8 changing check polls 2023-03-10 11:24:14 -03:00
Gabriel Porfirio
ec6840ddc0 starting fix upload single presentation 2023-03-10 10:50:49 -03:00
Gabriel Porfirio
990ddb1f7c moved second function to util, added extra time to the polls checks 2023-03-09 18:09:02 -03:00
Gabriel Porfirio
6042b300f0 the first 3 learning dashboard tests 2023-03-08 17:34:54 -03:00
Brent Baccala
efde3b832a connection failure tests: missed a line where a hostname was hard-wired 2023-03-08 13:36:49 -05:00
Maxim Khlobystov
8108f10d0f Merge branch 'v2.6.x-release' of https://github.com/bigbluebutton/bigbluebutton into whiteboard-tests-and-refactoring 2023-03-08 15:33:37 +00:00
Maxim Khlobystov
5f617d94db New whiteboard tests + refactoring 2023-03-08 15:33:05 +00:00
Brent Baccala
ebcde9440c connection failure tests: removed an old file I didn't realize was there 2023-03-07 23:17:00 -05:00
Brent Baccala
97c1f72f05 connection failure tests: remove an old backup file 2023-03-07 23:14:13 -05:00
Brent Baccala
832c8c3a5b connection failure tests: clean up util.js and remove dependence on my local hostname 2023-03-07 23:08:19 -05:00
Brent Baccala
fa047129fb connection failure tests: two working screen share tests 2023-03-07 22:56:28 -05:00
Brent Baccala
ad8c551021 connection failure tests: "npm install deep-equal" (since I use it) 2023-03-07 21:34:49 -05:00
Brent Baccala
a66ebc32dd connection failure tests: this is what I wrote in February 2023 2023-03-07 21:33:22 -05:00
Maxim Khlobystov
30b57c162b Disable the test for uploading a single presentation 2023-03-06 18:40:38 +00:00
Maxim Khlobystov
9ce18aeef6 Disable two shared notes tests with fixme() 2023-03-06 18:40:08 +00:00
Gabriel Porfirio
ac7be647c1 Merge remote-tracking branch 'upstream/v2.6.x-release' into learning-dashboard-test 2023-03-06 14:33:28 -03:00
Gabriel Porfirio
447ea1ffb3 basic infos testing 2023-03-06 10:46:31 -03:00
Gabriel Porfirio
6b0a260a71 3 tests added 2023-03-02 16:57:02 -03:00
Maxim Khlobystov
9f32440fa4 Screenshots update 2023-03-01 15:12:47 +00:00
Maxim Khlobystov
9f8c0f8eaf Updated screenshots 2023-03-01 15:01:15 +00:00
Maxim Khlobystov
25df1b6384 Update the reference images for the layout management tests 2023-03-01 07:20:01 +00:00
Maxim Khlobystov
39b50fb00c Merge branch 'v2.6.x-release' of https://github.com/bigbluebutton/bigbluebutton into test-layout-management 2023-03-01 07:11:10 +00:00
Anton Georgiev
ce73288ccf
Merge pull request #16778 from gabriellpr/test-disabled-features
test: disabled features
2023-02-28 15:11:48 -05:00
Gabriel Porfirio
282901ed02 removing unnecessary check 2023-02-28 14:53:03 -03:00
Gabriel Porfirio
ee1dead565 starting learning dashboard tests 2023-02-28 14:44:30 -03:00
Gabriel Porfirio
c323466be4 Merge remote-tracking branch 'upstream/v2.6.x-release' into learning-dashboard-test 2023-02-23 16:40:13 -03:00
Gabriel Porfirio
f1c45f5075 changed pollContainer selector 2023-02-23 14:45:23 -03:00
Gabriel Porfirio
08d4e03e1e learning dashboard test start 2023-02-23 14:37:17 -03:00
Gabriel Porfirio
01eddc9dd6 adding layouts test 2023-02-23 09:05:57 -03:00
Maxim Khlobystov
4d1fab58b9 Merge branch 'test-layout-management' of https://github.com/MaximKhlobystov/bigbluebutton into test-layout-management 2023-02-21 21:51:50 +00:00
Maxim Khlobystov
11954e5af0 Cleaning up the layout management tests code 2023-02-21 21:49:24 +00:00
Gabriel Porfirio
907589cef1 disabled features test 2023-02-21 15:28:53 -03:00
Anton Georgiev
280343eeaa
Merge pull request #16673 from gabriellpr/additional-custom-parameters
test: remaining custom parameters
2023-02-16 02:00:21 -05:00
Anton Georgiev
cf33144b4e
Merge pull request #16718 from gabriellpr/improving-custom-parameters
test: fixing custom parameters
2023-02-16 01:59:46 -05:00
Anton Georgiev
b5f70e84c7
Merge branch 'v2.6.x-release' into v2.6-tests-update 2023-02-16 01:52:27 -05:00
Anton Georgiev
4b01be98e4
Merge pull request #16707 from gabriellpr/notes-test
test: export-format notes
2023-02-16 01:22:28 -05:00
Gabriel Porfirio
f7437145af improvement to export correct file content in html reporter 2023-02-15 17:21:58 -03:00
Gabriel Porfirio
98795fda81 timeout into object 2023-02-15 16:52:06 -03:00
Gabriel Porfirio
41d44d6919 handleDownload updates 2023-02-15 15:41:21 -03:00
Anton Georgiev
5a94d4edd4
Merge pull request #16612 from gabriellpr/user-choose-breakout-room
test: allow user to choose a breakout room on joining
2023-02-14 15:47:46 -05:00
Gabriel Porfirio
eff0627374 adding roomOption element 2023-02-14 12:11:55 -03:00
Anton B
3f1fbfff49 test: remove comment 2023-02-14 11:40:43 -03:00
Anton B
5d731ac963 test: fix and update tests 2023-02-14 10:59:46 -03:00
Gabriel Porfirio
ceb7580ef1 removing disable screensharing test 2023-02-14 10:23:54 -03:00
Gabriel Porfirio
0a013f3db1 unused screensharing parameter removed 2023-02-14 10:08:06 -03:00
Gabriel Porfirio
cb8cd60ad8 fixing failing tests 2023-02-14 10:06:17 -03:00
Gabriel Porfirio
956bcc373a finish checking files extensions 2023-02-13 11:39:04 -03:00
Gabriel Porfirio
ce5fffc971 improving test 2023-02-13 10:37:14 -03:00
Gabriel Porfirio
f659af1601 few changes on the test names 2023-02-10 16:19:43 -03:00
Gabriel Porfirio
e59cba97ab new function inside page 2023-02-10 13:20:14 -03:00
Gabriel Porfirio
f86ef2b04a checking file extensions 2023-02-10 10:50:48 -03:00
Gabriel Porfirio
cdb5dba750 checking rooms quantity 2023-02-09 16:43:49 -03:00
Gabriel Porfirio
d933e30aa4 shared notes test 2023-02-09 15:10:50 -03:00
Gabriel Porfirio
2b3b71013a custom parameters remaining tests 2023-02-07 15:12:20 -03:00
Gabriel Porfirio
97ab8a28ab raise hand rejection test 2023-02-03 17:04:45 -03:00
Gabriel Porfirio
6b5498d487 breakout rooms, allowing user to choose a room for joining 2023-01-31 11:01:56 -03:00
Anton Georgiev
acb2474b7d
Merge branch 'v2.6.x-release' into test-layout-management 2023-01-25 09:05:33 -05:00
Anton Georgiev
2749336cc1
Merge pull request #16506 from gabriellpr/font-size-test
test: Increase/Decrease font-size
2023-01-25 06:39:25 -05:00
Anton Georgiev
58187c6226
Merge pull request #16465 from gabriellpr/rm-user
test: Remove user
2023-01-23 14:50:33 -05:00
Maxim Khlobystov
efe8a152ca Merge branch 'v2.6.x-release' of https://github.com/bigbluebutton/bigbluebutton into test-layout-management 2023-01-23 17:40:25 +00:00
Maxim Khlobystov
05beb4f1d9 Initial layout management tests 2023-01-23 17:31:01 +00:00
Anton Georgiev
4afdebc1d5
Merge pull request #16165 from MaximKhlobystov/new-whiteboard-tests
test: new whiteboard tests (pencil, text and sticky note)
2023-01-20 09:19:25 -05:00
Gabriel Porfirio
cbcc4ca116 resolving conflicts 2023-01-20 09:40:03 -03:00
Gabriel Porfirio
dfb672d895 resolving suggestions 2023-01-20 09:35:39 -03:00
gabriellpr
f51927a335
Merge branch 'v2.6.x-release' into font-size-test 2023-01-20 08:21:01 -03:00
Maxim Khlobystov
589e9f9ad2 Additional check for the sticky notes text 2023-01-19 22:25:50 +00:00
Anton Georgiev
1fcfef1243
Merge pull request #16367 from MaximKhlobystov/test-capture-breakout-notes-whiteboard
test: capture breakout room's shared notes and whiteboard
2023-01-19 13:54:04 -05:00
Gabriel Porfirio
b5e5c5dd06 app font size test 2023-01-18 13:29:45 -03:00
gabriellpr
c426f46e41
Merge branch 'v2.6.x-release' into rm-user 2023-01-16 08:21:53 -03:00
Anton Georgiev
93175cc4a7
Merge pull request #16432 from gabriellpr/cc-type-test
test: closed captions typing
2023-01-13 14:43:51 -05:00
Gabriel Porfirio
7718b75875 changes to use the elements 2023-01-13 11:36:30 -03:00
Gabriel Porfirio
2f1687f1b7 final changes 2023-01-13 11:33:16 -03:00
Gabriel Porfirio
6377598b53 small change 2023-01-13 08:53:27 -03:00
Gabriel Porfirio
0afcf76cb9 rm user and prevent joining first steps 2023-01-13 08:16:49 -03:00
Anton Georgiev
972c555092 fix: bump up json5 2023-01-12 21:47:11 +00:00
Gabriel Porfirio
0685462a44 close captions typing test 2023-01-10 13:59:08 -03:00
Gabriel Porfirio
2e9476fbe6 closed captions test first steps 2023-01-10 10:39:18 -03:00
Maxim Khlobystov
2ccbf3cd7d Skip the test that covers the capture of the breakout whiteboard (until the related client issue gets resolved) 2023-01-06 16:31:44 +00:00
Anton Georgiev
2092b1dfed Merge branch 'v2.5.x-release' of github.com:bigbluebutton/bigbluebutton into merge-jan-5 2023-01-05 20:26:36 +00:00
Anton Georgiev
3ecad29860
Merge pull request #16024 from BrentBaccala/testsuite-api-breakout
testsuite: Initial breakout room tests
2023-01-05 11:19:20 -05:00
Maxim Khlobystov
0d641b3b07 Test for capturing the breakout room's shared notes and whiteboard 2022-12-30 21:49:18 +00:00
Brent Baccala
0c1cf64492 Add npm run test:ssh command to test suite
This npm script will ssh to a BigBlueButton server, obtain its URL and SECRET,
then run the test suite using these settings.

This reduces the complexity of running tests (no need to set environment variables) if you have ssh access to the server.

The shell script is a bit obscure, and comments are not allowed in JSON.

The "set -e" switch is used to exit the script if the ssh fails, but this only works
if the ssh is not part of a pipeline, which is why it is assigned to a separate variable.
(see https://unix.stackexchange.com/a/23099/37949)
2022-12-30 14:09:31 -05:00
Anton Georgiev
4f7e1b9d9a
Merge branch 'v2.6.x-release' into mute-all-test 2022-12-21 13:30:08 -05:00
Anton Georgiev
ea5c05446b
Merge pull request #16125 from gabriellpr/whiteboard-access-test
test: Give and remove whiteboard access
2022-12-20 08:43:32 -05:00
Maxim Khlobystov
236b0347fc Replace visual regression screenshots 2022-12-19 11:57:12 +00:00
Anton Georgiev
7f1b229f58
Merge pull request #16062 from antonbsa/v2.6-tests-fixes
test: fix v2.6 CI tests
2022-12-16 13:20:01 -05:00
Maxim Khlobystov
8ec582569b New whiteboard tests: pencil, text and sticky note 2022-12-16 15:39:21 +00:00
Anton B
22a5fb4878 Revert "test: update whiteboard screenshots (visual regression)"
This reverts commit 8691c47902.
2022-12-15 14:49:12 -03:00
Anton Georgiev
50badbf4c5
Merge pull request #15666 from bigbluebutton/snyk-upgrade-d53de8f977519420478785124448437c
[Snyk] Upgrade dotenv from 16.0.0 to 16.0.1
2022-12-15 10:06:22 -05:00
Anton B
282a81b0e9 Merge remote-tracking branch 'upstream/v2.6.x-release' into v2.6-tests-fixes 2022-12-14 15:51:26 -03:00
Anton B
decba75d53 test: decrease workers number to 1 when running on the CI 2022-12-14 15:30:19 -03:00
Ramón Souza
064b554dfd Merge remote-tracking branch 'upstream/v2.5.x-release' into merge-2526-dec14 2022-12-14 13:23:11 -03:00
Gabriel Porfirio
83563c4f82 mute all users 2022-12-13 15:42:11 -03:00
Anton B
1bf77d77a0 Merge remote-tracking branch 'upstream/v2.6.x-release' into v2.6-tests-fixes 2022-12-13 10:30:28 -03:00
Gabriel Porfirio
2e21904437 give and remove whiteboard access 2022-12-08 15:32:31 -03:00
Gabriel Porfirio
c70ded7206 mute all users test 2022-12-07 15:53:56 -03:00
Anton Georgiev
4a81825bad
Merge pull request #16046 from gabriellpr/presentation-fullscreen
test: presentation fullscreen and snapshot
2022-12-06 11:30:56 -05:00
Anton Georgiev
fc32f5b2e9
Merge pull request #16078 from MaximKhlobystov/clipping-images-whiteboard-tests
test: clip the reference images in the whiteboard drawing tests
2022-12-05 13:21:20 -05:00
Anton Georgiev
2a4c8d57bf
Merge pull request #16081 from gabriellpr/copy-paste-test
test: copy/paste public message
2022-12-05 12:51:25 -05:00
Anton Barboza
5a65e30911 Merge remote-tracking branch 'upstream/v2.6.x-release' into v2.6-tests-fixes 2022-12-02 12:20:27 +01:00
Gabriel Porfirio
07c1a894e7 added issue's link 2022-12-01 12:06:30 -03:00
Anton Georgiev
dbf5143941
Merge pull request #15958 from gabriellpr/shared-notes-tests
test: Shared notes
2022-12-01 09:50:32 -05:00
Gabriel Porfirio
76ecbb3085 removed only flag 2022-12-01 11:39:26 -03:00
Gabriel Porfirio
0806cbf696 changed to call locators once 2022-12-01 11:15:55 -03:00
Anton Barboza
29196da620 test: add function to link issue or PR 2022-12-01 14:43:36 +01:00
Gabriel Porfirio
2a23e63a64 copy and paste public message test 2022-12-01 08:19:03 -03:00
Maxim Khlobystov
57ccf98edd Visual regression tests: take screenshots of the whiteboard instead of the entire client 2022-12-01 10:25:03 +00:00
Anton Barboza
8691c47902 test: update whiteboard screenshots (visual regression) 2022-11-30 18:16:24 +01:00
Anton Barboza
77d958d172 test: update dependencies and fix polling elements 2022-11-30 16:50:43 +01:00
Anton Barboza
bfb29c8c32 test: add new selector check and update package-lock.json 2022-11-29 18:01:14 +01:00
Anton B
209dfb636f test: fix v2.6 CI tests 2022-11-25 16:54:32 -03:00
Gabriel Porfirio
8d68a3fd47 dark mode elements list simplified 2022-11-24 11:52:06 -03:00
Gustavo Trott
c7566b174d
Merge pull request #15611 from MaximKhlobystov/draw-visual-regression 2022-11-22 14:15:58 -03:00
Gabriel Porfirio
e4b10838fa presentation fullscreen and snapshot tests 2022-11-22 12:01:09 -03:00
Gabriel Porfirio
0cb364214a added new function for two different browser instances 2022-11-22 10:44:28 -03:00
Brent Baccala
4a0638c00e test suite: move breakout room API tests to a separate file 2022-11-18 16:53:05 -05:00
Maxim Khlobystov
8e72776a3c
Remove unnecessary skips in the whiteboard tests 2022-11-18 15:03:38 -05:00
Gabriel Porfirio
60db3182c2 changes on pin notes test 2022-11-18 13:38:46 -03:00
Brent Baccala
8f82c7b695 testsuite: initial breakout room tests 2022-11-17 22:26:08 -05:00
Ramón Souza
4f59f2afd9
Merge pull request #15911 from gabriellpr/poll-remain-tests
test: Poll remaining tests
2022-11-17 15:46:30 -03:00
Gabriel Porfirio
b339402933 changed dark mode test name 2022-11-16 17:17:28 -03:00
Gabriel Porfirio
ee0c3c49bd dark mode testing background and text colors 2022-11-16 17:15:24 -03:00
Gabriel Porfirio
35e5236683 few improvements and pin notes test 2022-11-16 15:18:03 -03:00
Gabriel Porfirio
7b03c59687 added check background and text color 2022-11-15 10:27:24 -03:00
Maxim Khlobystov
44155d8679 Hiding the presentation notifications in drawing tests 2022-11-15 04:34:13 +00:00
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
Anton B
3b04dbff48 test: add pinning and unpinning test, improve share webcam test and add selectors 2022-09-12 14:12:35 -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
snyk-bot
152dea1608
fix: upgrade dotenv from 16.0.0 to 16.0.1
Snyk has created this PR to upgrade dotenv from 16.0.0 to 16.0.1.

See this package in npm:
https://www.npmjs.com/package/dotenv

See this project in Snyk:
https://app.snyk.io/org/bigbluebutton/project/48eeed96-3747-452b-a605-cd876caa1ac2?utm_source=github&utm_medium=referral&page=upgrade-pr
2022-09-09 05:55:42 +00: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
Anton Georgiev
c1379bde13 Merge branch 'v2.6.x-release' of github.com:bigbluebutton/bigbluebutton into merge-260a3 2022-09-08 02:26:21 +00: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
Ramón Souza
0027472ed3 npm audit fix tests 2022-08-31 11:54:27 -03: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
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