mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
[ADF-3677] Add highlight configuration to SearchQueryBuilder (#4358)
* [ADF-3677] Add highlight configuration to SearchQueryBuilder * highlight property in search * Update files.component.ts * remove comma * highlight missspell * fix schhema json highilight * fix test * fix lint * fix lint * fix lint * fix search sorting tests * fix search sorting * fix lint * remove useless test * check for null nodes * remove duplicated test * lint * fix sorting tests * remove test not search component related
This commit is contained in:
committed by
Eugenio Romano
parent
d6f391c40e
commit
8dc9eba4c7
@@ -123,10 +123,16 @@ describe('Search Number Range Filter', () => {
|
||||
.tableIsLoaded();
|
||||
|
||||
browser.controlFlow().execute(async () => {
|
||||
let firstResult = await dataTable.getFirstElementDetail('Node id');
|
||||
await this.alfrescoJsApi.core.nodesApi.getNode(firstResult).then(async (node) => {
|
||||
await expect(node.entry.content.sizeInBytes <= size).toBe(true);
|
||||
});
|
||||
let results = await dataTable.geCellElementDetail('Size');
|
||||
for (let currentResult of results) {
|
||||
try {
|
||||
let currentSize = await currentResult.getAttribute('title');
|
||||
if (currentSize && currentSize.trim() !== '') {
|
||||
await expect(parseInt(currentSize, 10) <= 5000).toBe(true);
|
||||
}
|
||||
} catch (e) {
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
sizeSliderFilter.checkSliderIsDisplayed()
|
||||
@@ -136,10 +142,17 @@ describe('Search Number Range Filter', () => {
|
||||
.tableIsLoaded();
|
||||
|
||||
browser.controlFlow().execute(async () => {
|
||||
let firstResult = await dataTable.getFirstElementDetail('Node id');
|
||||
await this.alfrescoJsApi.core.nodesApi.getNode(firstResult).then(async (node) => {
|
||||
await expect(node.entry.content.sizeInBytes >= size).toBe(true);
|
||||
});
|
||||
let results = await dataTable.geCellElementDetail('Size');
|
||||
for (let currentResult of results) {
|
||||
try {
|
||||
|
||||
let currentSize = await currentResult.getAttribute('title');
|
||||
if (currentSize && currentSize.trim() !== '') {
|
||||
await expect(parseInt(currentSize, 10) >= 5000).toBe(true);
|
||||
}
|
||||
} catch (e) {
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user