few changes on the test names
This commit is contained in:
parent
2b3b71013a
commit
f659af1601
@ -215,7 +215,7 @@ class CustomParameters extends MultiUsers {
|
||||
await this.modPage.hasElement(e.webcamSettingsModal);
|
||||
}
|
||||
|
||||
async hideActionsBar() {
|
||||
async hideActionsBarTest() {
|
||||
await this.modPage.wasRemoved(e.actions);
|
||||
await this.modPage.wasRemoved(e.joinAudio);
|
||||
await this.modPage.wasRemoved(e.joinVideo);
|
||||
@ -224,15 +224,15 @@ class CustomParameters extends MultiUsers {
|
||||
await this.modPage.wasRemoved(e.raiseHandBtn);
|
||||
}
|
||||
|
||||
async overrideDefaultLocale() {
|
||||
async overrideDefaultLocaleTest() {
|
||||
await this.modPage.hasText(e.chatButton, 'Bate-papo público');
|
||||
}
|
||||
|
||||
async hideNavBar() {
|
||||
async hideNavBarTest() {
|
||||
await this.modPage.wasRemoved(e.navbarBackground);
|
||||
}
|
||||
|
||||
async preferredCameraProfile() {
|
||||
async preferredCameraProfileTest() {
|
||||
await this.modPage.waitAndClick(e.joinVideo);
|
||||
expect(await this.modPage.getLocator(e.selectCameraQualityId).inputValue()).toBe('low');
|
||||
await this.modPage.waitAndClick(e.startSharingWebcam);
|
||||
|
@ -70,25 +70,25 @@ test.describe.parallel('CustomParameters', () => {
|
||||
test('Hide Actions Bar', async ({ browser, context, page }) => {
|
||||
const customParam = new CustomParameters(browser, context);
|
||||
await customParam.initModPage(page, true, { customParameter: c.hideActionsBar });
|
||||
await customParam.hideActionsBar();
|
||||
await customParam.hideActionsBarTest();
|
||||
});
|
||||
|
||||
test('Override Default Locale', async ({ browser, context, page }) => {
|
||||
const customParam = new CustomParameters(browser, context);
|
||||
await customParam.initModPage(page, true, { customParameter: c.overrideDefaultLocale });
|
||||
await customParam.overrideDefaultLocale();
|
||||
await customParam.overrideDefaultLocaleTest();
|
||||
});
|
||||
|
||||
test.only('Hide NavBar', async ({ browser, context, page }) => {
|
||||
test('Hide NavBar', async ({ browser, context, page }) => {
|
||||
const customParam = new CustomParameters(browser, context);
|
||||
await customParam.initModPage(page, true, { customParameter: c.hideNavBar });
|
||||
await customParam.hideNavBar();
|
||||
await customParam.hideNavBarTest();
|
||||
});
|
||||
|
||||
test('Prefered Camera Profile', async ({ browser, context, page }) => {
|
||||
test('Preferred Camera Profile', async ({ browser, context, page }) => {
|
||||
const customParam = new CustomParameters(browser, context);
|
||||
await customParam.initModPage(page, true, { customParameter: c.preferredCameraProfile });
|
||||
await customParam.preferredCameraProfile();
|
||||
await customParam.preferredCameraProfileTest();
|
||||
});
|
||||
|
||||
test.describe.parallel('Audio', () => {
|
||||
|
Loading…
Reference in New Issue
Block a user