Skip to content
This repository has been archived by the owner on Dec 20, 2021. It is now read-only.

Button core component tests #14

Merged
merged 2 commits into from
Oct 15, 2019
Merged

Conversation

barbasial
Copy link

@barbasial barbasial commented Oct 14, 2019

Button core component tests for wttech/bobcat#373.
This component is currently not available under We Retail. Installation of test components example package is required to run these tests (available here). Test page is created under /content/core-components-examples/library/.

Copy link
Contributor

@kaczymuczy kaczymuczy left a comment

Choose a reason for hiding this comment

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

Please run the auto-formatter on all files (ctrl+alt+L in IntelliJ), the default indent is 2 spaces instead of 4

@FindBy(css = ".cmp-button__icon")
private WebElement icon;

private static final String ARIA_LABEL = "aria-label";
Copy link
Contributor

Choose a reason for hiding this comment

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

Nitpicking :). Order within a class by convention:

  • constants
  • fields
  • methods

General:

  • public
  • package-private
  • private

@barbasial barbasial merged commit ea41604 into master Oct 15, 2019
@barbasial barbasial deleted the 373-core-components-button-tests branch October 15, 2019 08:49
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants