Skip to content
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

Merged
merged 3 commits into from Sep 6, 2020
Merged

Conversation

cristinaj
Copy link
Contributor

Please check if the PR fulfills these requirements

  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

What kind of change does this PR introduce? (check one with "x")

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation
  • Other... Please describe:

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")

  • Yes
  • No

If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...

Other information:

@codecov-commenter
Copy link

codecov-commenter commented Aug 28, 2020

Codecov Report

Merging #6085 into develop will increase coverage by 1.47%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #6085      +/-   ##
===========================================
+ Coverage    76.25%   77.72%   +1.47%     
===========================================
  Files          846      143     -703     
  Lines        18807     3960   -14847     
  Branches      3719      788    -2931     
===========================================
- Hits         14341     3078   -11263     
+ Misses        3344      631    -2713     
+ Partials      1122      251     -871     
Impacted Files Coverage Δ
.../process-list/models/process-cloud-preset.model.ts
lib/core/mock/comment-process-service.mock.ts
lib/core/services/deleted-nodes-api.service.ts
...ud/src/lib/form/components/form-cloud.component.ts
lib/core/directives/highlight.directive.ts
...ts/raphael/icons/raphael-icon-receive.component.ts
...rvices-cloud/src/lib/people/people-cloud.module.ts
...lib/form/models/form-cloud-representation.model.ts
lib/core/datatable/data/data-sorting.model.ts
lib/core/core.module.ts
... and 693 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a630cfb...2971c60. Read the comment docs.

await BrowserActions.click(uploadButton);
await BrowserVisibility.waitUntilElementIsPresent(this.localStorageButton);
await this.localStorageButton.sendKeys(fileLocation);
}

async checkNoFileIsAttached(fieldId): Promise<void> {
Copy link
Contributor

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

Copy link
Contributor Author

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

@eromano eromano merged commit c11237a into develop Sep 6, 2020
@eromano eromano deleted the dev-crisj-ACA-3441 branch September 6, 2020 19:11
SilviuCPopa pushed a commit that referenced this pull request Sep 15, 2020
* Add methods and locator for uploadButton of attach file widget of type local

* Add method to attach-file-widget

* Modify the right click
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants