1 import { getCheckbox } from '../utils'
3 export class AnonymousSettingsPage {
5 async openSettings () {
6 const link = await $$('.menu-link').filter(async i => {
7 return await i.getText() === 'My settings'
8 }).then(links => links[0])
12 await $('my-user-video-settings').waitForDisplayed()
15 async clickOnP2PCheckbox () {
16 const p2p = await getCheckbox('p2pEnabled')
17 await p2p.waitForClickable()