We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
New component GroupTable is introduced.
GroupTable
It supports the following two conditions:
Conditions#EXPANDED
Conditions#COLLAPSED
The GroupTable component has the following method:
expandAll()
collapseAll()
expand(By groupRowSelector)
collapse(By groupRowSelector)
@Test void testExpandAll() { $c(AppMenu) .openItem(Menus.PRODUCT_BROWSE) $c(GroupTable, 'productsTable') .shouldBe(Condition.visible) .expandAll() .shouldBe(Conditions.EXPANDED) } @Test void testCollapseAll() { $c(AppMenu) .openItem(Menus.PRODUCT_BROWSE) $c(GroupTable, 'productsTable') .shouldBe(Condition.visible) .collapseAll() .shouldBe(Conditions.COLLAPSED) } @Test void testExpandSpecified() { $c(AppMenu) .openItem(Menus.PRODUCT_BROWSE) // only two groups exist $c(GroupTable, 'productsTable') .expand(withText('123')) .expand(withText('321')) .shouldBe(Conditions.EXPANDED) }
The text was updated successfully, but these errors were encountered:
Support GroupTable component #16
ef3312c
expandAll() method does not expand all groups, only the first one in the table collapseAll() method does nothing
Sorry, something went wrong.
The second part of the issue will be implemented in another issue #66
Also, add an ability to expand only one selected group
dac8739
dtsaryov
natfirst
No branches or pull requests
Updates
New component
GroupTable
is introduced.It supports the following two conditions:
Conditions#EXPANDED
- checks that all group rows are expandedConditions#COLLAPSED
- checks that all group rows are collapsedThe
GroupTable
component has the following method:expandAll()
- expands all group rowscollapseAll()
- collapses all group rowsexpand(By groupRowSelector)
- expands first met group row that matches passed selectorcollapse(By groupRowSelector)
- collapses first met group row that matches passed selectorUsage example
The text was updated successfully, but these errors were encountered: