@@ -12,15 +12,15 @@ class BOTaxRulesPage extends BOBasePage implements BOTaxRulesPageInterface {
1212
1313 public readonly successfulUpdateStatusMessage : string ;
1414
15- private readonly addNewTaxRulesGroupLink : string ;
15+ protected addNewTaxRulesGroupLink : string ;
1616
1717 private readonly gridForm : string ;
1818
1919 private readonly gridTableHeaderTitle : string ;
2020
2121 private readonly gridTableNumberOfTitlesSpan : string ;
2222
23- private readonly gridTable : string ;
23+ protected gridTable : string ;
2424
2525 private readonly filterRow : string ;
2626
@@ -30,11 +30,11 @@ class BOTaxRulesPage extends BOBasePage implements BOTaxRulesPageInterface {
3030
3131 private readonly filterResetButton : string ;
3232
33- private readonly tableBody : string ;
33+ protected tableBody : string ;
3434
35- private readonly tableRow : ( row : number ) => string ;
35+ protected tableRow : ( row : number ) => string ;
3636
37- private readonly editRowLink : ( row : number ) => string ;
37+ protected editRowLink : ( row : number ) => string ;
3838
3939 private readonly tableBodyColumn : ( row : number ) => string ;
4040
@@ -96,13 +96,13 @@ class BOTaxRulesPage extends BOBasePage implements BOTaxRulesPageInterface {
9696
9797 // Selectors
9898 // HEADER buttons
99- this . addNewTaxRulesGroupLink = 'a[data-role= page-header-desc-tax_rules_group-link] ' ;
99+ this . addNewTaxRulesGroupLink = 'a# page-header-desc-configuration-add ' ;
100100
101101 // Form selectors
102102 this . gridForm = '#form-tax_rules_group' ;
103103 this . gridTableHeaderTitle = `${ this . gridForm } .panel-heading` ;
104104 this . gridTableNumberOfTitlesSpan = `${ this . gridTableHeaderTitle } span.badge` ;
105- this . gridTable = '#table-tax_rules_group ' ;
105+ this . gridTable = '#tax_rules_group_grid_table ' ;
106106
107107 // Filter selectors
108108 this . filterRow = `${ this . gridTable } tr.filter` ;
@@ -113,7 +113,7 @@ class BOTaxRulesPage extends BOBasePage implements BOTaxRulesPageInterface {
113113 // Table rows and columns
114114 this . tableBody = `${ this . gridTable } tbody` ;
115115 this . tableRow = ( row : number ) => `${ this . tableBody } tr:nth-child(${ row } )` ;
116- this . editRowLink = ( row : number ) => `${ this . tableRow ( row ) } a.edit` ;
116+ this . editRowLink = ( row : number ) => `${ this . tableRow ( row ) } a.grid- edit-row-link ` ;
117117 this . tableBodyColumn = ( row : number ) => `${ this . tableRow ( row ) } td` ;
118118
119119 // Columns selectors
@@ -459,4 +459,5 @@ class BOTaxRulesPage extends BOBasePage implements BOTaxRulesPageInterface {
459459 }
460460}
461461
462- module . exports = new BOTaxRulesPage ( ) ;
462+ const boTaxRulesPage = new BOTaxRulesPage ( ) ;
463+ export { boTaxRulesPage , BOTaxRulesPage }
0 commit comments