Skip to content

Commit

Permalink
Merge pull request #16 from Exabyte-io/chore/SOF-7399
Browse files Browse the repository at this point in the history
SOF-7399: add browser clearInputValue
  • Loading branch information
k0stik authored Jul 23, 2024
2 parents 2921f74 + 396b52d commit a9e861b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/js/cypress/Browser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,10 @@ export class Browser extends BaseBrowser {
this.getWithTimeout(selector, timeout).should("exist");
}

clearInputValue(selector: string) {
this.get(selector).clear();
}

/**
* @summary Clear the field, and then set its value
* @param selector {String} CSS selector for the field in question
Expand Down

0 comments on commit a9e861b

Please sign in to comment.