File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -41,13 +41,13 @@ export default class TableEditablePageObject extends TableFilteringPageObject {
4141
4242 async performGoodDomainEdit ( row : number , value : string ) {
4343 const bodyCell = this . tableWrapper . findBodyCell ( row , 4 ) ;
44- const input = bodyCell . findFormField ( ) . find ( 'input' ) ;
44+ const inputSelector = bodyCell . findFormField ( ) . find ( 'input' ) . toSelector ( ) ;
4545 await this . click ( bodyCell . toSelector ( ) ) ;
4646
47- const current = await this . browser . $ ( input . toSelector ( ) ) . getValue ( ) as string ;
47+ const current = await this . getValue ( inputSelector ) ;
4848 const backspaces = Array ( current . length ) . fill ( 'Backspace' ) ;
4949 await this . keys ( backspaces ) ;
50- await this . browser . $ ( input . toSelector ( ) ) . setValue ( value ) ;
50+ await this . setValue ( inputSelector , value ) ;
5151
5252 await this . click ( this . tableWrapper . findEditingCellSaveButton ( ) . toSelector ( ) ) ;
5353 await this . waitForEditSave ( ) ;
You can’t perform that action at this time.
0 commit comments