[iOS] Multiple select appearance doesn't update when selecting or deselecting rows...
[WebKit-https.git] / LayoutTests / resources / basic-gestures.js
index c9659a41e95a28a77e0167e464861252c1a6c2f8..9d46d2c05c567427ae1bc001ba72f3ac5ad95999 100644 (file)
@@ -140,6 +140,12 @@ function touchAndDragFromPointToPoint(startX, startY, endX, endY)
     });
 }
 
+function selectFormAccessoryPickerRow(rowIndex)
+{
+    const selectRowScript = `(() => uiController.selectFormAccessoryPickerRow(${rowIndex}))()`;
+    return new Promise(resolve => testRunner.runUIScript(selectRowScript, resolve));
+}
+
 function holdAtPoint(x, y)
 {
     return new Promise(resolve => {