File tree Expand file tree Collapse file tree
src/test/java/io/appium/java_client/ios Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313 * See the License for the specific language governing permissions and
1414 * limitations under the License.
1515 */
16+
1617package io .appium .java_client .ios ;
1718
19+ import static org .junit .Assert .assertEquals ;
1820
1921import io .appium .java_client .MobileBy ;
2022import io .appium .java_client .MobileElement ;
2830
2931import java .io .File ;
3032
31- import static org .junit .Assert .assertEquals ;
32-
3333public class IOSScrollingSearchingTest {
3434
3535 private static AppiumDriverLocalService service ;
@@ -80,7 +80,7 @@ public static void afterClass() {
8080 @ Test public void scrollByElement () {
8181 MobileElement table = driver .findElement (MobileBy
8282 .IosUIAutomation (".tableViews()[0]" ));
83- MobileElement slider =table .findElement (MobileBy
83+ MobileElement slider = table .findElement (MobileBy
8484 .IosUIAutomation (".scrollToElementWithPredicate(\" name CONTAINS 'Slider'\" )" ));
8585 assertEquals (slider .getAttribute ("name" ), "Sliders" );
8686 }
You can’t perform that action at this time.
0 commit comments