Browse Source

chore(test): update selector

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/5116/head
Pranav C 2 years ago
parent
commit
f5b05f8bfa
  1. 2
      packages/nc-gui/components/smartsheet/expanded-form/Header.vue
  2. 2
      tests/playwright/pages/Dashboard/ExpandedForm/index.ts

2
packages/nc-gui/components/smartsheet/expanded-form/Header.vue

@ -200,7 +200,7 @@ const onConfirmDeleteRowClick = async () => {
<div class="text-center w-full">{{ $t('general.close') }}</div>
</template>
<MdiCloseCircleOutline
class="nc-icon-transition cursor-pointer select-none nc-toggle-comments text-gray-500 mx-1 min-w-4"
class="nc-icon-transition cursor-pointer select-none nc-close-form text-gray-500 mx-1 min-w-4"
@click="emit('cancel')"
/>
</a-tooltip>

2
tests/playwright/pages/Dashboard/ExpandedForm/index.ts

@ -133,7 +133,7 @@ export class ExpandedFormPage extends BasePage {
}
async close() {
await this.get().locator('button:has-text("Close")').last().click();
await this.get().locator('.nc-close-form').last().click();
}
async openChildCard(param: { column: string; title: string }) {

Loading…
Cancel
Save