title: testing Picker with Detox in React Native
body: <p>I just started using Detox to test my react native app and I'm having some trouble to test Pickers. I basically need to be able to choose a value from a Picker! But it seems impossible!!</p>
  
  <p>Here is my Picker:</p>
  
  <pre><code>&lt;Picker
          style={styles.picker}
          itemStyle={styles.pickerItem}
          testID="picker"
          selectedValue={selectedValue}
          onValueChange={this.updateValue}
        &gt;
          &lt;Picker.Item key={0} label="Choose one" value={null} /&gt;
  
          {values.map(value =&gt; {
            return (
              &lt;Picker.Item
                key={value}
                label={value}
                value={value}
                testID={value}
              /&gt;
            );
          })}
   &lt;/Picker&gt;
  </code></pre>
  
  <p>And here is my test:</p>
  
  <pre><code>await element(by.type("UIPickerView")).setColumnToValue(0, "Apple");
  </code></pre>
  
  <p>But all I get is an error message saying it was not possible to set the value because it doesn't exist, but it does! Cause I'm looking at it right now!</p>
  
  <p>Does anyone knows the right way to set a value in a Picker?</p>
  
  <p>Any help would be great!</p>