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

4916 refactor chips element #5111

Open
wants to merge 13 commits into
base: angular_rework_development
Choose a base branch
from

Conversation

NewerNaigil
Copy link
Contributor

No description provided.

@NewerNaigil NewerNaigil self-assigned this Nov 2, 2023
Copy link
Contributor

@pnatashap pnatashap left a comment

Choose a reason for hiding this comment

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

стало сильно лучше


import java.util.List;

public interface IsGroupElement<A extends UIBaseElement<?>> extends ICoreElement {
Copy link
Contributor

@pnatashap pnatashap Nov 22, 2023

Choose a reason for hiding this comment

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

Есть интерфейс IList, вроде в нем есть все это

Copy link
Contributor

Choose a reason for hiding this comment

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

@NewerNaigil никаких комментариев почему-то не вижу

Konstantin Bulavin added 6 commits February 1, 2024 15:33
…ement

# Conflicts:
#	jdi-light-angular-tests/src/main/java/io/github/com/StaticSite.java
#	jdi-light-angular-tests/src/main/java/io/github/com/pages/AngularPage.java
#	jdi-light-angular/src/main/java/com/epam/jdi/light/angular/asserts/ChipsAssert.java
#	jdi-light-angular/src/main/java/com/epam/jdi/light/angular/elements/complex/AutoComplete.java
#	jdi-light-angular/src/main/java/com/epam/jdi/light/angular/elements/complex/Chips.java
/**
* Represents an element that has an {@link Image}.
*/
public interface HasImage extends ICoreElement {
Copy link
Contributor

Choose a reason for hiding this comment

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

HasImage interface and HasImageAssert are in html project, we should use it

Copy link
Contributor

Choose a reason for hiding this comment

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

Есть интерфейс HasImage в jdi-light-html пакете, надо использовать его, этот удалить


import java.util.List;

public interface IsGroupElement<A extends UIBaseElement<?>> extends ICoreElement {
Copy link
Contributor

Choose a reason for hiding this comment

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

@NewerNaigil никаких комментариев почему-то не вижу

*/
@JDIAction("Get if '{name}' is vertical")
default boolean isVertical() {
return core().attr("class").contains("-vertical");
Copy link
Contributor

Choose a reason for hiding this comment

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

это очень плохая реализация: например у нас есть класс line-vertical-divider может вообще не иметь ничего общего с ориентацией, потому что текст после мы проигнорировали.
сколько элементов еще имеет такую характеристику?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
JDI Light Board
  
Awaiting triage
Development

Successfully merging this pull request may close these issues.

Create interfaces for Angular Tests refactoring: Chips element
4 participants