File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
main/java/net/itarray/automotion/validation
test/java/net/itarray/automotion/tests/grid Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -55,8 +55,8 @@ public ChunkUIElementValidator findElements(List<WebElement> webElements) {
5555 return new ResponsiveUIChunkValidatorBase (this , webElements , false );
5656 }
5757
58- public ChunkUIElementValidator useElements (List <WebElement > webElements ) {
59- return new ResponsiveUIChunkValidatorBase (this , webElements , true );
58+ public ChunkUIElementValidator findZeroOrMoreElements (List <WebElement > webElements ) {
59+ return new ResponsiveUIChunkValidatorBase (this , webElements , true );
6060 }
6161
6262 public File takeScreenshot () {
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ public void setUp() {
4242 boolean allowEmpty = getClass ().getAnnotation (AllowEmpty .class ) != null ;
4343 chunkValidator =
4444 allowEmpty ?
45- snapshot .useElements (webElements ) :
45+ snapshot .findZeroOrMoreElements (webElements ) :
4646 snapshot .findElements (webElements );
4747 }
4848
You can’t perform that action at this time.
0 commit comments