Skip to content

Commit

Permalink
chore: Use inline editing table test-utils correctly (#117)
Browse files Browse the repository at this point in the history
  • Loading branch information
pan-kot authored Jan 24, 2024
1 parent 20ffa6d commit 1145f54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/e2e/page/table-editable-page-object.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export default class TableEditablePageObject extends TableFilteringPageObject {
await this.keys(backspaces);
await this.browser.$(input.toSelector()).setValue(value);

await this.click(bodyCell.findButton('[aria-label="Submit edit Domain name"]').toSelector());
await this.click(this.tableWrapper.findEditingCellSaveButton().toSelector());
await this.waitForEditSave();

return this.getText(bodyCell.toSelector());
Expand All @@ -63,7 +63,7 @@ export default class TableEditablePageObject extends TableFilteringPageObject {
await this.click(autosuggest.toSelector());
await this.click(dropdown.findOptionByValue('ACM').toSelector());

await this.click(bodyCell.findButton('[aria-label="Submit edit SSL certificate"]').toSelector());
await this.click(this.tableWrapper.findEditingCellSaveButton().toSelector());
await this.waitForEditSave();

return this.getText(bodyCell.toSelector());
Expand Down

0 comments on commit 1145f54

Please sign in to comment.