[AI assisted]: Improve system console statistics performance (#29899)
```release-note NONE ``` Co-authored-by: Matthew Birtch <mattbirtch@gmail.com>
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
6046a304b2
Коммит
ae9e6174e5
@@ -19,14 +19,16 @@ describe('System Console > Team Statistics', () => {
|
||||
// # Create private channel.
|
||||
cy.apiCreateChannel(team.id, 'mmt906-ch', 'mmt906-ch', 'P');
|
||||
|
||||
// # Visit team statistics page.
|
||||
cy.visit('/admin_console/reporting/team_statistics');
|
||||
cy.dbRefreshPostStats().then(() => {
|
||||
// # Visit team statistics page.
|
||||
cy.visit('/admin_console/reporting/team_statistics');
|
||||
|
||||
// # Select created team.
|
||||
cy.get('select.team-statistics__team-filter__dropdown').select(team.id);
|
||||
// # Select created team.
|
||||
cy.get('select.team-statistics__team-filter__dropdown').select(team.id);
|
||||
|
||||
// # Explicit wait to allow stats to get loaded
|
||||
cy.wait(TIMEOUTS.TWO_SEC);
|
||||
// # Explicit wait to allow stats to get loaded
|
||||
cy.wait(TIMEOUTS.TWO_SEC);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user