fix: shared base issue

Signed-off-by: mertmit <mertmit99@gmail.com>
This commit is contained in:
mertmit
2026-01-10 15:42:14 +03:00
parent 73830238d2
commit 9e7e902121
2 changed files with 5 additions and 7 deletions

View File

@@ -241,11 +241,7 @@ export class ExpandedFormPage extends BasePage {
await expect(this.rootPage.getByTestId('nc-expanded-form-duplicate')).toBeVisible();
await expect(this.rootPage.getByTestId('nc-expanded-form-delete')).toBeVisible();
} else {
if (!isEE()) {
await expect(this.rootPage.getByTestId('nc-expanded-form-reload')).toBeVisible();
} else {
await expect(this.rootPage.getByTestId('nc-expanded-form-reload')).toHaveCount(0);
}
await expect(this.rootPage.getByTestId('nc-expanded-form-reload')).toHaveCount(0);
await expect(this.rootPage.getByTestId('nc-expanded-form-duplicate')).toHaveCount(0);
await expect(this.rootPage.getByTestId('nc-expanded-form-delete')).toHaveCount(0);
}