Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions apps/meteor/tests/e2e/channel-management.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,19 +83,19 @@ test.describe.serial('channel-management', () => {
await expect(page).toHaveURL(`/channel/NAME-EDITED-${targetChannel}`);
});

test('expect edit notification preferences of "targetChannel"', async () => {
test.skip('expect edit notification preferences of "targetChannel"', async () => {
await poHomeChannel.sidenav.openChat(targetChannel);
await poHomeChannel.tabs.btnMoreItems.click({ force: true });
await poHomeChannel.tabs.kebab.click({ force: true });
await poHomeChannel.tabs.btnNotificationPreferences.click({ force: true });
await poHomeChannel.tabs.notificationPreferences.updateAllNotificaitonPreferences();
await poHomeChannel.tabs.notificationPreferences.updateAllNotificationPreferences();
await poHomeChannel.tabs.notificationPreferences.btnSave.click();

await expect(poHomeChannel.toastSuccess).toBeVisible();
});

test('expect all notification preferences of "targetChannel" to be "Mentions"', async () => {
test.skip('expect all notification preferences of "targetChannel" to be "Mentions"', async () => {
await poHomeChannel.sidenav.openChat(targetChannel);
await poHomeChannel.tabs.btnMoreItems.click({ force: true });
await poHomeChannel.tabs.kebab.click({ force: true });
await poHomeChannel.tabs.btnNotificationPreferences.click({ force: true });

await expect(poHomeChannel.tabs.notificationPreferences.getPreferenceByDevice('Desktop')).toContainText('Mentions');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export class HomeFlextabNotificationPreferences {
await this.selectOptionByLabel('Mentions');
}

async updateAllNotificaitonPreferences(): Promise<void> {
async updateAllNotificationPreferences(): Promise<void> {
await this.updateDevicePreference('Desktop');
await this.updateDevicePreference('Mobile');
await this.updateDevicePreference('Email');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export class HomeFlextab {
return this.page.locator('[data-qa-id=ToolBoxAction-info-circled]');
}

get btnMoreItems(): Locator {
get kebab(): Locator {
return this.page.locator('[data-qa-id=ToolBox-Menu]');
}

Expand Down