fix(test): User test fail issue due truncated user tooltip blocking click action

This commit is contained in:
Ramesh Mane
2025-08-21 10:24:51 +00:00
parent 943c407508
commit 1a3d4cc716

View File

@@ -32,12 +32,12 @@ export class UserOptionCellPageObject extends BasePage {
!(await selectCell.getAttribute('class')).includes('active') &&
(await selectCell.locator('.nc-selected-option').count()) === 0
) {
await selectCell.hover();
await selectCell.click();
// Use force to avoid blocking element by truncated user tooltip
await selectCell.click({ force: true });
}
await selectCell.hover();
await selectCell.click();
// Use force to avoid blocking element by truncated user tooltip
await selectCell.click({ force: true });
await this.rootPage.locator('.nc-dropdown-user-select-cell.active').waitFor({ state: 'visible' });