-
Notifications
You must be signed in to change notification settings - Fork 47
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
4903: tests refactoring BADGE #5023
4903: tests refactoring BADGE #5023
Conversation
1198840
to
4e60ac8
Compare
...ght-angular-tests/src/test/java/io/github/epam/angular/tests/elements/common/BadgeTests.java
Outdated
Show resolved
Hide resolved
jdi-light-angular/src/main/java/com/epam/jdi/light/angular/elements/common/Badge.java
Outdated
Show resolved
Hide resolved
jdi-light-angular/src/main/java/com/epam/jdi/light/angular/elements/common/Badge.java
Outdated
Show resolved
Hide resolved
jdi-light-angular/src/main/java/com/epam/jdi/light/angular/elements/common/Badge.java
Outdated
Show resolved
Hide resolved
jdi-light-angular/src/main/java/com/epam/jdi/light/angular/elements/common/Badge.java
Outdated
Show resolved
Hide resolved
jdi-light-angular/src/main/java/com/epam/jdi/light/angular/asserts/BadgeAssert.java
Outdated
Show resolved
Hide resolved
iconWithBadge.badge().is().displayed(); | ||
iconWithBadge.badge().has().text("15"); | ||
iconWithBadge.has().color("Red"); | ||
iconWithBadge.is().displayed() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if this is icon badge, we should have a validation for icon, if not, there is no difference with buttonWithBadge and should be removed
...ght-angular-tests/src/test/java/io/github/epam/angular/tests/elements/common/BadgeTests.java
Outdated
Show resolved
Hide resolved
...ght-angular-tests/src/test/java/io/github/epam/angular/tests/elements/common/BadgeTests.java
Outdated
Show resolved
Hide resolved
...ght-angular-tests/src/test/java/io/github/epam/angular/tests/elements/common/BadgeTests.java
Outdated
Show resolved
Hide resolved
...ght-angular-tests/src/test/java/io/github/epam/angular/tests/elements/common/BadgeTests.java
Outdated
Show resolved
Hide resolved
jdi-light-angular/src/main/java/com/epam/jdi/light/angular/elements/common/Badge.java
Outdated
Show resolved
Hide resolved
jdi-light-angular/src/main/java/com/epam/jdi/light/angular/elements/common/Badge.java
Outdated
Show resolved
Hide resolved
jdi-light-angular/src/main/java/com/epam/jdi/light/angular/elements/common/Badge.java
Outdated
Show resolved
Hide resolved
jdi-light-angular/src/main/java/com/epam/jdi/light/angular/elements/common/Badge.java
Show resolved
Hide resolved
jdi-light-angular/src/main/java/com/epam/jdi/light/angular/elements/enums/BadgeSize.java
Outdated
Show resolved
Hide resolved
...ght-angular-tests/src/test/java/io/github/epam/angular/tests/elements/common/BadgeTests.java
Outdated
Show resolved
Hide resolved
jdi-light-angular/src/main/java/com/epam/jdi/light/angular/elements/common/Badge.java
Outdated
Show resolved
Hide resolved
jdi-light-angular/src/main/java/com/epam/jdi/light/angular/elements/enums/BadgePosition.java
Outdated
Show resolved
Hide resolved
} | ||
return BadgePosition.UNKNOWN; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
By default position is after, so only if we have mat-badge-before it will be BEFORE, in all other variants AFTER
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
still no changes
82593bb
to
6802696
Compare
6802696
to
009abaa
Compare
009abaa
to
7ca902f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a lot of comments marked as resolved without any changes
AFTER, | ||
BEFORE, | ||
UNKNOWN | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
лишняя пустая строка
} | ||
return BadgePosition.UNKNOWN; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
still no changes
No description provided.