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

Feature/exclude elements notification #410

Merged
merged 6 commits into from
Nov 27, 2018

Conversation

Jakub-Izbicki
Copy link
Contributor

Notification that displays when exclude-elements are not found on page now shows what specific elements were not found. Also, the location of text has been changed so it would display below the settings bar.

Motivation and Context

Fixed #372

Screenshots

image

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.

I hereby agree to the terms of the AET Contributor License Agreement.

} else {
excludeElementsNotFound = true;
}
if (!CollectionUtils.isEmpty(exclude.getNotFoundElements())) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Wouldn't be easier to simply set:
notFoundExcludeElements = exclude.getNotFoundElements();
without this if? In worst case this collection is empty.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good catch, thanks. I've fixed it.

@Jakub-Izbicki Jakub-Izbicki force-pushed the feature/exclude-elements-notification branch from 9f61c83 to b1169dc Compare October 29, 2018 08:59
@malaskowski malaskowski merged commit d3a0182 into master Nov 27, 2018
@malaskowski malaskowski deleted the feature/exclude-elements-notification branch November 27, 2018 10:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Exclude-elements notification displayed in the AET report (text and position)
3 participants