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:
Cilibiu Bogdan
2020-02-06 15:31:27 +02:00
committed by GitHub
parent 9f5d73a4d7
commit d4f04323b3
12 changed files with 41 additions and 45 deletions

View File

@@ -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';
}