-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5461 from jdi-testing/5331
#5331 fix ItemGroup
- Loading branch information
Showing
6 changed files
with
74 additions
and
52 deletions.
There are no files selected for viewing
10 changes: 9 additions & 1 deletion
10
jdi-light-vuetify-tests/src/main/java/io/github/com/custom/itemGroups/PrimaryItemGroup.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,21 @@ | ||
package io.github.com.custom.itemGroups; | ||
|
||
import com.epam.jdi.light.common.JDIAction; | ||
import com.epam.jdi.light.elements.complex.WebList; | ||
import com.epam.jdi.light.vuetify.elements.complex.ItemGroup; | ||
|
||
public class PrimaryItemGroup extends ItemGroup { | ||
|
||
@Override | ||
@JDIAction("Is item '{0}' selected in {name}") | ||
public boolean selected(int index) { | ||
return get(index).hasClass("primary"); | ||
return items().get(index).hasClass("primary"); | ||
} | ||
|
||
@Override | ||
@JDIAction("Is item '{0}' selected in {name}") | ||
public WebList selected() { | ||
return core().finds(".primary"); | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
38 changes: 30 additions & 8 deletions
38
jdi-light-vuetify/src/main/java/com/epam/jdi/light/vuetify/elements/complex/ItemGroup.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters