fix(nc-gui): Update offset of LinkedRecords in accordance with links and unlinks (#7841)

* fix(nc-gui): update links

* fix(nc-gui): update offset

* fix(nc-gui): offset reset

* fix: offset issue

* fix: loading state not working

* fix: tests

* fix: failign tests

* fix: update offset if same or greater than count
This commit is contained in:
Anbarasu
2024-03-14 09:16:39 +05:30
committed by GitHub
parent 8edad3be55
commit 031d261a1d
10 changed files with 147 additions and 103 deletions

View File

@@ -68,7 +68,7 @@ export class ExpandedFormPage extends BasePage {
}
async fillField({ columnTitle, value, type = 'text' }: { columnTitle: string; value: string; type?: string }) {
const field = this.get().locator(`[data-testid="nc-expand-col-${columnTitle}"]`);
const field = this.get().getByTestId(`nc-expand-col-${columnTitle}`);
switch (type) {
case 'text':
await field.locator('input').fill(value);