Skip to content

Commit 3ef9964

Browse files
Plugged in tabs command for edit-collect-logs Cypress test
1 parent 23ed169 commit 3ef9964

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

cypress/e2e/ui/Settings/Application-Settings/edit_collect_logs.cy.js

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,7 @@ function goToCollectLogsTab() {
3939
cy.interceptApi({
4040
alias: 'getCollectLogsTabInfo',
4141
urlPattern: '/ops/change_tab?tab_id=diagnostics_collect_logs',
42-
triggerFn: () =>
43-
cy
44-
.get(
45-
'#tab_all_tabs_div #ops_tabs .nav-tabs li#diagnostics_collect_logs_tab'
46-
)
47-
.click(),
42+
triggerFn: () => cy.tabs({ tabLabel: 'Collect Logs' }),
4843
});
4944
}
5045

0 commit comments

Comments
 (0)