]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - client/e2e/src/po/anonymous-settings.po.ts
Translated using Weblate (Japanese)
[github/Chocobozzz/PeerTube.git] / client / e2e / src / po / anonymous-settings.po.ts
1 import { getCheckbox } from '../utils'
2
3 export class AnonymousSettingsPage {
4
5 async openSettings () {
6 const link = await $$('.menu-link').filter(async i => {
7 return await i.getText() === 'My settings'
8 }).then(links => links[0])
9
10 await link.click()
11
12 await $('my-user-video-settings').waitForDisplayed()
13 }
14
15 async clickOnP2PCheckbox () {
16 const p2p = await getCheckbox('p2pEnabled')
17 await p2p.waitForClickable()
18
19 await p2p.click()
20 }
21 }