From ebcde9440c919d0f688526dfc65abae94f631dc4 Mon Sep 17 00:00:00 2001 From: Brent Baccala Date: Tue, 7 Mar 2023 23:17:00 -0500 Subject: [PATCH] connection failure tests: removed an old file I didn't realize was there --- .../connectionFailure/screenshare.js | 24 ------------------- 1 file changed, 24 deletions(-) delete mode 100644 bigbluebutton-tests/playwright/connectionFailure/screenshare.js diff --git a/bigbluebutton-tests/playwright/connectionFailure/screenshare.js b/bigbluebutton-tests/playwright/connectionFailure/screenshare.js deleted file mode 100644 index e9dd40aea9..0000000000 --- a/bigbluebutton-tests/playwright/connectionFailure/screenshare.js +++ /dev/null @@ -1,24 +0,0 @@ -const { default: test } = require('@playwright/test'); -const Page = require('../core/page'); -const { startScreenshare } = require('./util'); -const e = require('../core/elements'); -const { getSettings } = require('../core/settings'); - -class ScreenShare extends Page { - constructor(browser, page) { - super(browser, page); - } - - async startSharing() { - const { screensharingEnabled } = getSettings(); - test.fail(!screensharingEnabled, 'Screensharing is disabled'); - await startScreenshare(this); - await this.hasElement(e.isSharingScreen); - } - - async testMobileDevice() { - await this.wasRemoved(e.startScreenSharing); - } -} - -exports.ScreenShare = ScreenShare;