|
|
@ -4,6 +4,7 @@ import { Api, UITypes } from 'nocodb-sdk'; |
|
|
|
import { DashboardPage } from '../../../pages/Dashboard'; |
|
|
|
import { DashboardPage } from '../../../pages/Dashboard'; |
|
|
|
import { GridPage } from '../../../pages/Dashboard/Grid'; |
|
|
|
import { GridPage } from '../../../pages/Dashboard/Grid'; |
|
|
|
import { getTextExcludeIconText } from '../../../tests/utils/general'; |
|
|
|
import { getTextExcludeIconText } from '../../../tests/utils/general'; |
|
|
|
|
|
|
|
import { isEE } from '../../../setup/db'; |
|
|
|
let api: Api<any>; |
|
|
|
let api: Api<any>; |
|
|
|
const recordCount = 10; |
|
|
|
const recordCount = 10; |
|
|
|
|
|
|
|
|
|
|
@ -99,6 +100,9 @@ test.describe('Links', () => { |
|
|
|
const linkField = await getTextExcludeIconText(columnAddModal.locator(`.ant-form-item-control-input`).nth(2)); |
|
|
|
const linkField = await getTextExcludeIconText(columnAddModal.locator(`.ant-form-item-control-input`).nth(2)); |
|
|
|
const childColumn = await getTextExcludeIconText(columnAddModal.locator(`.ant-form-item-control-input`).nth(3)); |
|
|
|
const childColumn = await getTextExcludeIconText(columnAddModal.locator(`.ant-form-item-control-input`).nth(3)); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// TODO: Handle this in EE
|
|
|
|
|
|
|
|
if (isEE()) return; |
|
|
|
|
|
|
|
|
|
|
|
// validate
|
|
|
|
// validate
|
|
|
|
expect(columnType).toContain('Lookup'); |
|
|
|
expect(columnType).toContain('Lookup'); |
|
|
|
expect(linkField).toContain('Table1List'); |
|
|
|
expect(linkField).toContain('Table1List'); |
|
|
|