mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
ADF 3.7.0-bab49 (#1324)
* adf 3.7.0-1754 * fix header name selector * fix more / less state * click correct button * check correct button * remove Thumbnail column from headers list * 3.7.0-0256a update * remove Thumbnail. from headers list * remove Thumbnail * header cell value selector * adf 3.7.0-bab49 * change selector after accessibility fixes Co-authored-by: Adina Parpalita <adina.parpalita@ness.com>
This commit is contained in:
@@ -34,11 +34,11 @@ export class DataTable extends Component {
|
||||
root: 'adf-datatable',
|
||||
|
||||
head: '.adf-datatable-header',
|
||||
columnHeader: '.adf-datatable-row .adf-datatable-cell-header',
|
||||
columnHeader: '.adf-datatable-row .adf-datatable-cell-header .adf-datatable-cell-value',
|
||||
sortedColumnHeader: `
|
||||
.adf-datatable__header--sorted-asc,
|
||||
.adf-datatable__header--sorted-desc
|
||||
`,
|
||||
.adf-datatable__header--sorted-asc .adf-datatable-cell-value,
|
||||
.adf-datatable__header--sorted-desc .adf-datatable-cell-value
|
||||
`,
|
||||
|
||||
body: '.adf-datatable-body',
|
||||
row: '.adf-datatable-row[role]',
|
||||
@@ -125,7 +125,7 @@ export class DataTable extends Component {
|
||||
}
|
||||
|
||||
async getSortingOrder(): Promise<string> {
|
||||
const str = await this.getSortedColumnHeader().getAttribute('class');
|
||||
const str = await this.getSortedColumnHeader().element(by.xpath('..')).getAttribute('class');
|
||||
if (str.includes('asc')) {
|
||||
return 'asc';
|
||||
}
|
||||
|
Reference in New Issue
Block a user