MM-54458 : Refactor playwright test with app areas (#24527)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
c887381318
Коммит
6109330beb
@@ -14,7 +14,7 @@ test('Base channel accessibility', async ({pw, pages, axe}) => {
|
||||
const channelsPage = new pages.ChannelsPage(page);
|
||||
await channelsPage.goto();
|
||||
await channelsPage.toBeVisible();
|
||||
await channelsPage.postMessage('hello');
|
||||
await channelsPage.centerView.postCreate.postMessage('hello');
|
||||
|
||||
// # Analyze the page
|
||||
// Disable 'color-contrast' to be addressed by MM-53814
|
||||
@@ -35,9 +35,9 @@ test('Post actions tab support', async ({pw, pages, axe}) => {
|
||||
const channelsPage = new pages.ChannelsPage(page);
|
||||
await channelsPage.goto();
|
||||
await channelsPage.toBeVisible();
|
||||
await channelsPage.postMessage('hello');
|
||||
await channelsPage.centerView.postCreate.postMessage('hello');
|
||||
|
||||
const post = await channelsPage.getLastPost();
|
||||
const post = await channelsPage.centerView.getLastPost();
|
||||
await post.hover();
|
||||
await post.postMenu.toBeVisible();
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user