Skip to content

Feature/exclude elements notification#410

Merged
malaskowski merged 6 commits intomasterfrom
feature/exclude-elements-notification
Nov 27, 2018
Merged

Feature/exclude elements notification#410
malaskowski merged 6 commits intomasterfrom
feature/exclude-elements-notification

Conversation

@Jakub-Izbicki
Copy link
Copy Markdown
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.

@Jakub-Izbicki Jakub-Izbicki force-pushed the feature/exclude-elements-notification branch from b2c6c98 to 9f61c83 Compare October 22, 2018 14:10
} else {
excludeElementsNotFound = true;
}
if (!CollectionUtils.isEmpty(exclude.getNotFoundElements())) {
Copy link
Copy Markdown
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
Copy Markdown
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