|
|
@ -264,27 +264,27 @@ export class _mainPage { |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
shareViewList = () => { |
|
|
|
shareViewList = () => { |
|
|
|
cy.get(".nc-actions-menu-btn").click(); |
|
|
|
cy.get(".nc-actions-menu-btn").should('exist').click(); |
|
|
|
return cy.getActiveMenu().find('.ant-dropdown-menu-item').contains('Shared View List'); |
|
|
|
return cy.getActiveMenu().find('.ant-dropdown-menu-item').contains('Shared View List'); |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
downloadCsv = () => { |
|
|
|
downloadCsv = () => { |
|
|
|
cy.get(".nc-actions-menu-btn").click(); |
|
|
|
cy.get(".nc-actions-menu-btn").should('exist').click(); |
|
|
|
return cy.getActiveMenu().find('.ant-dropdown-menu-item').contains('Download as CSV'); |
|
|
|
return cy.getActiveMenu().find('.ant-dropdown-menu-item').contains('Download as CSV'); |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
downloadExcel = () => { |
|
|
|
downloadExcel = () => { |
|
|
|
cy.get(".nc-actions-menu-btn").click(); |
|
|
|
cy.get(".nc-actions-menu-btn").should('exist').click(); |
|
|
|
return cy.getActiveMenu().find('.ant-dropdown-menu-item').contains('Download as XLSX'); |
|
|
|
return cy.getActiveMenu().find('.ant-dropdown-menu-item').contains('Download as XLSX'); |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
uploadCsv = () => { |
|
|
|
uploadCsv = () => { |
|
|
|
cy.get(".nc-actions-menu-btn").click(); |
|
|
|
cy.get(".nc-actions-menu-btn").should('exist').click(); |
|
|
|
return cy.getActiveMenu().find('.ant-dropdown-menu-item').contains('Upload CSV'); |
|
|
|
return cy.getActiveMenu().find('.ant-dropdown-menu-item').contains('Upload CSV'); |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
automations = () => { |
|
|
|
automations = () => { |
|
|
|
cy.get(".nc-actions-menu-btn").click(); |
|
|
|
cy.get(".nc-actions-menu-btn").should('exist').click(); |
|
|
|
return cy.getActiveMenu().find('.ant-dropdown-menu-item').contains('Webhooks'); |
|
|
|
return cy.getActiveMenu().find('.ant-dropdown-menu-item').contains('Webhooks'); |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|