Skip to content

4916 refactor chips element#5111

Open
NewerNaigil wants to merge 13 commits intoangular_rework_developmentfrom
4916_refactor_Chips_element
Open

4916 refactor chips element#5111
NewerNaigil wants to merge 13 commits intoangular_rework_developmentfrom
4916_refactor_Chips_element

Conversation

@NewerNaigil
Copy link
Copy Markdown
Contributor

No description provided.

@NewerNaigil NewerNaigil self-assigned this Nov 2, 2023
@NewerNaigil NewerNaigil force-pushed the 4916_refactor_Chips_element branch from 5daa422 to aad3991 Compare November 20, 2023 15:51
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
@NewerNaigil NewerNaigil requested a review from spbqaru February 8, 2024 09:04
/**
* Represents an element that has an {@link Image}.
*/
public interface HasImage extends ICoreElement {
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.

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

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.

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


import java.util.List;

public interface IsGroupElement<A extends UIBaseElement<?>> extends ICoreElement {
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.

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

*/
@JDIAction("Get if '{name}' is vertical")
default boolean isVertical() {
return core().attr("class").contains("-vertical");
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.

это очень плохая реализация: например у нас есть класс 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

None yet

Development

Successfully merging this pull request may close these issues.

Create interfaces for Angular Tests refactoring: Chips element

4 participants