New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ACA-3441] Add method to attach file widget PO #6085
Conversation
await BrowserActions.click(uploadButton); | ||
await BrowserVisibility.waitUntilElementIsPresent(this.localStorageButton); | ||
await this.localStorageButton.sendKeys(fileLocation); | ||
} | ||
|
||
async checkNoFileIsAttached(fieldId): Promise<void> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure I can really understand the difference from the name of:
checkNoFileIsAttached checkFileIsNotAttached
checkFileIsAttached checkFilesAreAttachedToWidget
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
checkNoFileIsAttached -> this checks that no file is attached; checkFileIsNotAttached -> this checks that a specific file is not attached, others may be; checkFileIsAttached -> checks that a specific file is attached; checkFilesAreAttachedToWidget -> you can give multiple files as parameter
2b97571
to
92c8359
Compare
d9e1cfe
to
2971c60
Compare
Please check if the PR fulfills these requirements
What kind of change does this PR introduce? (check one with "x")
What is the current behaviour? (You can also link to an open issue here)
What is the new behaviour?
Does this PR introduce a breaking change? (check one with "x")
If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...
Other information: