We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23ed169 commit 3ef9964Copy full SHA for 3ef9964
cypress/e2e/ui/Settings/Application-Settings/edit_collect_logs.cy.js
@@ -39,12 +39,7 @@ function goToCollectLogsTab() {
39
cy.interceptApi({
40
alias: 'getCollectLogsTabInfo',
41
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(),
+ triggerFn: () => cy.tabs({ tabLabel: 'Collect Logs' }),
48
});
49
}
50
0 commit comments