connection failure tests: removed an old file I didn't realize was there

This commit is contained in:
Brent Baccala 2023-03-07 23:17:00 -05:00
parent 97c1f72f05
commit ebcde9440c

View File

@ -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;