Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fix(cypress): Force click on activity tab
Signed-off-by: Marcel Müller <[email protected]>
  • Loading branch information
SystemKeeper committed Apr 18, 2025
commit c41146cd3ee30c3708416ec0d2607b7e8c5db160
4 changes: 3 additions & 1 deletion cypress/e2e/sidebarUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,11 @@ export function showActivityTab(fileName: string) {
cy.intercept('GET', '/ocs/v2.php/apps/activity/api/v2/activity/filter**').as('getActivities')

showSidebarForFile(fileName)

// {force: true} as it might be hidden behind toasts
cy.get('#app-sidebar-vue')
.findByRole('tab', { name: 'Activity' })
.click()
.click({ force: true })

cy.get('#app-sidebar-vue')
.findByRole('tabpanel', { name: 'Activity' })
Expand Down
Loading