E2E/Playwright: Refactor and fix tests for scheduled posts (#30871)

Этот коммит содержится в:
sabril
2025-05-06 11:27:18 +08:00
коммит произвёл GitHub
родитель 15efbb658f
Коммит 6a4407de76
44 изменённых файлов: 2060 добавлений и 2449 удалений

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

@@ -13,8 +13,8 @@ test('should be able to scroll the RHS with page up and down', async ({pw}) => {
await channelsPage.toBeVisible();
await channelsPage.centerView.postCreate.postMessage('post');
const lastPost = await channelsPage.centerView.getLastPost();
await lastPost.openRhs();
const lastPost = await channelsPage.getLastPost();
await lastPost.reply();
for (let i = 0; i < 10; i++) {
await channelsPage.sidebarRight.postCreate.postMessage('a\n'.repeat(10));