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

[ADF-5235] Facet fix and improve search test #6122

Merged
merged 34 commits into from Sep 21, 2020

Conversation

eromano
Copy link
Contributor

@eromano eromano commented Sep 11, 2020

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)
Facet fix and improve search test

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 Sep 12, 2020

Codecov Report

Merging #6122 into develop will decrease coverage by 0.04%.
The diff coverage is 16.66%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #6122      +/-   ##
===========================================
- Coverage    76.33%   76.28%   -0.05%     
===========================================
  Files          850      850              
  Lines        18983    18982       -1     
  Branches      3751     3753       +2     
===========================================
- Hits         14491    14481      -10     
- Misses        3360     3365       +5     
- Partials      1132     1136       +4     
Impacted Files Coverage Δ
...rc/lib/mock/inherited-permission.component.mock.ts 80.00% <0.00%> (-20.00%) ⬇️
...n-manager/components/inherited-button.directive.ts 83.33% <0.00%> (-8.34%) ⬇️
...nents/permission-list/permission-list.component.ts 82.85% <0.00%> (-5.72%) ⬇️
...omponents/search-filter/search-filter.component.ts 73.52% <50.00%> (-0.59%) ⬇️
.../lib/task-list/components/attach-form.component.ts 43.58% <0.00%> (-7.70%) ⬇️
...src/lib/document-list/data/share-data-row.model.ts 73.68% <0.00%> (-2.64%) ⬇️
.../attach-file/attach-file-cloud-widget.component.ts 90.38% <0.00%> (-0.19%) ⬇️

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 91992bc...c20ecaa. Read the comment docs.


try {
await BrowserVisibility.waitUntilElementIsVisible(this.logoutSection);
} catch (error) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since we're using the logger already perhaps we could use it to show the error thrown here so it's easier to spot in the future where it's failing?

try {
Logger.log('wait loading spinner is present');
await BrowserVisibility.waitUntilElementIsPresent(element(by.tagName('mat-spinner')));
} catch (error) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here with the logger and the error.

@@ -89,14 +113,15 @@ export class BrowserActions {
}
}

static async getTextScript(elementFinder: ElementFinder): Promise<string> {
// Don't make it pub,ic use getText
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nothing should be pubic on ADF :P

@VitoAlbano VitoAlbano merged commit 46ccda6 into develop Sep 21, 2020
@VitoAlbano VitoAlbano deleted the dev-eromano-search-improve branch September 21, 2020 08:35
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

4 participants