fix(e2e): remove boards and fix crt tooltip (#24526)

Этот коммит содержится в:
Saturnino Abril
2023-09-12 08:11:40 +08:00
коммит произвёл GitHub
родитель 092a115c52
Коммит 00c8969803
9 изменённых файлов: 20 добавлений и 845 удалений

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

@@ -25,10 +25,22 @@ describe('Collapsed Reply Threads', () => {
});
// # Log in as user that hasn't had CRT enabled before
cy.apiInitSetup({loginAfter: true, promoteNewUserAsAdmin: true, userPrefix: 'tipbutton'}).then(({team, channel}) => {
cy.apiInitSetup({loginAfter: true, promoteNewUserAsAdmin: true, userPrefix: 'tipbutton'}).then(({team, channel, user}) => {
testTeam = team;
testChannel = channel;
cy.apiSaveUserPreference([{
user_id: user.id,
category: 'crt_thread_pane_step',
name: user.id,
value: '0',
}, {
user_id: user.id,
category: 'crt_tutorial_triggered',
name: user.id,
value: '0',
}], user.id);
cy.apiCreateUser({prefix: 'other'}).then(({user: user1}) => {
otherUser = user1;