Browse Source

chore (CY): active menu- class name mapping corrections

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
pull/3597/head
Raju Udava 2 years ago committed by Pranav C
parent
commit
91251e94e0
  1. 2
      packages/nc-gui/components/smartsheet-toolbar/Export.vue
  2. 2
      scripts/cypress/integration/common/8a_webhook.js

2
packages/nc-gui/components/smartsheet-toolbar/Export.vue

@ -1,5 +1,5 @@
<template> <template>
<a-dropdown :trigger="['click']" overlay-class-name="nc-dropdown-download-menu"> <a-dropdown :trigger="['click']" overlay-class-name="nc-dropdown-actions-menu">
<a-button v-t="['c:actions']" class="nc-actions-menu-btn nc-toolbar-btn"> <a-button v-t="['c:actions']" class="nc-actions-menu-btn nc-toolbar-btn">
<div class="flex gap-2 items-center"> <div class="flex gap-2 items-center">
<MdiDownload class="group-hover:text-accent text-gray-500" /> <MdiDownload class="group-hover:text-accent text-gray-500" />

2
scripts/cypress/integration/common/8a_webhook.js

@ -7,7 +7,7 @@ let hookPath = "http://localhost:9090/hook";
function createWebhook(hook, test) { function createWebhook(hook, test) {
cy.get('.nc-actions-menu-btn').should('exist').click(); cy.get('.nc-actions-menu-btn').should('exist').click();
cy.getActiveMenu(".nc-dropdown-webhook").find('.ant-dropdown-menu-title-content').contains('Webhooks').click() cy.getActiveMenu(".nc-dropdown-actions-menu").find('.ant-dropdown-menu-title-content').contains('Webhooks').click()
// cy.get(".nc-btn-webhook").should("exist").click(); // cy.get(".nc-btn-webhook").should("exist").click();
cy.get(".nc-btn-create-webhook").should("exist").click(); cy.get(".nc-btn-create-webhook").should("exist").click();

Loading…
Cancel
Save