Skip to content

Commit

Permalink
#5331 stabilize test
Browse files Browse the repository at this point in the history
  • Loading branch information
pnatashap committed Apr 13, 2024
1 parent 80391d5 commit 7695efa
Showing 1 changed file with 3 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,11 @@ public void setup() {
@Test(description="Test checks items default feature: 'single', we have only one item--active at a time, "
+ "but all items may be not active")
public void singleItemGroupTest() {
// Check that at the start we do not have default selected items (no v-item--active present)
activeClassItemGroup.has().notSelected(1)
.and().has().notSelected(2)
.and().has().notSelected(3);


// Check that when 1st item selected, other items are not selected
activeClassItemGroup.select(1);
activeClassItemGroup.is().selected(1);
activeClassItemGroup.has().notSelected(2)
.and().has().notSelected(3);
.and().notSelected(3);

// Check that when 2nd item selected, 1st becomes not selected, other items remain not selected
activeClassItemGroup.select(2);
Expand All @@ -50,8 +44,8 @@ public void singleItemGroupTest() {
// other items remain not selected
activeClassItemGroup.select(2);
activeClassItemGroup.has().notSelected(2)
.and().has().notSelected(1)
.and().has().notSelected(3);
.and().notSelected(1)
.and().notSelected(3);
}
@Test(description="Test checks item group selecting")
public void activeClassTests() {
Expand Down

0 comments on commit 7695efa

Please sign in to comment.