[MM-53127] e2e-tests : Drafts badge doesn't clear when parent message deleted and removed (#23705)

Этот коммит содержится в:
M-ZubairAhmed
2023-07-05 17:13:55 +05:30
коммит произвёл GitHub
родитель 33565dc118
Коммит b153a39d3e
14 изменённых файлов: 440 добавлений и 9 удалений

Просмотреть файл

@@ -18,6 +18,8 @@ export default class ChannelsPage {
readonly appBar;
readonly sidebarLeft;
readonly sidebarRight;
readonly postDotMenu;
readonly deletePostModal;
constructor(page: Page) {
this.page = page;
@@ -29,6 +31,8 @@ export default class ChannelsPage {
this.appBar = new components.ChannelsAppBar(page.locator('.app-bar'));
this.sidebarLeft = new components.ChannelsSidebarLeft(page.locator('#SidebarContainer'));
this.sidebarRight = new components.ChannelsSidebarRight(page.locator('#sidebar-right'));
this.postDotMenu = new components.PostDotMenu(page.getByRole('menu', {name: 'Post extra options'}));
this.deletePostModal = new components.DeletePostModal(page.locator('#deletePostModal'));
}
async goto(teamName = '', channelName = '') {