few changes on the test names

This commit is contained in:
Gabriel Porfirio 2023-02-10 16:19:43 -03:00
parent 2b3b71013a
commit f659af1601
2 changed files with 10 additions and 10 deletions

View File

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

View File

@ -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', () => {