fix(pw): test fail issue

This commit is contained in:
Ramesh Mane
2025-10-17 05:51:47 +00:00
parent 82259f8741
commit 90ae69d527
2 changed files with 3 additions and 2 deletions

View File

@@ -99,12 +99,13 @@ const roleSelectorOptions = computed<NcListItemType[]>(() => {
}"
:isLocked="!!newRole"
variant="default"
item-class-name="nc-role-select-dropdown"
:wrapper-class-name="`!h-auto nc-role-selector-dropdown ${!!newRole ? '!cursor-wait' : ''}`"
@update:value="onChangeRole"
@escape="onEsc"
>
<template #listItem="{ option }">
<div class="w-full flex flex-col">
<div class="w-full flex flex-col" :class="`nc-role-select-${option.value}`">
<div class="w-full flex items-center justify-between">
<div class="flex items-center gap-2">
<GeneralIcon

View File

@@ -36,7 +36,7 @@ export class CollaborationPage extends BasePage {
await inviteModal.waitFor({ state: 'visible' });
const input_email = inviteModal.locator('input[id="email"]');
const selector_role = inviteModal.locator('.ant-select-selector');
const selector_role = inviteModal.locator('.nc-roles-selector');
const button_addUser = inviteModal.locator('.nc-invite-btn');
// flaky test: wait for the input to be ready