@@ -68,15 +68,15 @@ public void testAboveLocatorWithDifferentAboveParametersType() {
68
68
ILabel cellInRow5Column5 = challengingDomForm .getCell (5 , 5 );
69
69
ILabel cellInRow4Column5 = challengingDomForm .getCell (4 , 5 );
70
70
71
- ILabel actualCellRaw3Column5GotWithByXpath =
71
+ ILabel actualCellRaw4Column5GotWithByXpath =
72
72
elementFactory .getLabel (with (labelLocatorCell ).above (cellInRow5Column5 .getLocator ()),
73
73
cellInRow5Column5 .getName ());
74
74
75
- ILabel actualCellRaw3Column5GotWithWebElement =
75
+ ILabel actualCellRaw4Column5GotWithWebElement =
76
76
elementFactory .getLabel (with (labelLocatorCell ).above (cellInRow5Column5 .getElement ()),
77
77
cellInRow4Column5 .getName ());
78
78
79
- ILabel actualCellRaw3Column5GotWithAqualityElement =
79
+ ILabel actualCellRaw4Column5GotWithAqualityElement =
80
80
elementFactory .getLabel (with (labelLocatorCell ).above (cellInRow5Column5 ),
81
81
cellInRow4Column5 .getName ());
82
82
@@ -86,9 +86,9 @@ public void testAboveLocatorWithDifferentAboveParametersType() {
86
86
.above (cellInRow5Column5 .getLocator ()));
87
87
88
88
checkDifferentTypesWithSoftAssert (
89
- actualCellRaw3Column5GotWithAqualityElement .getText (),
90
- actualCellRaw3Column5GotWithWebElement .getText (),
91
- actualCellRaw3Column5GotWithByXpath .getText (),
89
+ actualCellRaw4Column5GotWithAqualityElement .getText (),
90
+ actualCellRaw4Column5GotWithWebElement .getText (),
91
+ actualCellRaw4Column5GotWithByXpath .getText (),
92
92
actualWebElementCellRaw3Column5GotBySeleniumRelative .getText (),
93
93
cellInRow4Column5 .getText ());
94
94
}
@@ -193,7 +193,6 @@ public void testAboveBelowLeftRightWithDifferentParametersType() {
193
193
194
194
ILabel actualCellRaw5Column5GotWithAqualityElement =
195
195
elementFactory .getLabel (with (labelLocatorCell )
196
- .above (cellInRow6Column5 )
197
196
.below (cellInRow3Column5 )
198
197
.toRightOf (cellInRow5Column3 )
199
198
.toLeftOf (cellInRow5Column7 )
@@ -202,7 +201,6 @@ public void testAboveBelowLeftRightWithDifferentParametersType() {
202
201
203
202
ILabel actualCellRaw5Column5GotWithWebElement =
204
203
elementFactory .getLabel (with (labelLocatorCell )
205
- .above (cellInRow6Column5 .getElement ())
206
204
.below (cellInRow3Column5 .getElement ())
207
205
.toRightOf (cellInRow5Column3 .getElement ())
208
206
.toLeftOf (cellInRow5Column7 .getElement ())
@@ -211,7 +209,6 @@ public void testAboveBelowLeftRightWithDifferentParametersType() {
211
209
212
210
ILabel actualCellRaw5Column5GotWithXpath =
213
211
elementFactory .getLabel (with (labelLocatorCell )
214
- .above (cellInRow6Column5 .getLocator ())
215
212
.below (cellInRow3Column5 .getLocator ())
216
213
.toRightOf (cellInRow5Column3 .getLocator ())
217
214
.toLeftOf (cellInRow5Column7 .getLocator ())
@@ -220,7 +217,6 @@ public void testAboveBelowLeftRightWithDifferentParametersType() {
220
217
221
218
WebElement actualWebElementCellRaw5Column5GotBySeleniumRelative =
222
219
getBrowser ().getDriver ().findElement (RelativeLocator .with (labelLocatorCell )
223
- .above (cellInRow6Column5 .getLocator ())
224
220
.below (cellInRow3Column5 .getLocator ())
225
221
.toRightOf (cellInRow5Column3 .getLocator ())
226
222
.toLeftOf (cellInRow5Column7 .getLocator ())
0 commit comments