mirror of
https://github.com/hanzoai/Detox.git
synced 2026-09-24 16:55:12 +00:00
12 lines
377 B
JavaScript
12 lines
377 B
JavaScript
describe(":ios: Picker", () => {
|
|
beforeEach(async () => {
|
|
await device.reloadReactNative();
|
|
await element(by.text("Picker")).tap();
|
|
});
|
|
|
|
it("picker should select value correctly", async () => {
|
|
await element(by.id("pickerView")).setColumnToValue(0, "c");
|
|
await expect(element(by.id("valueLabel"))).toHaveText("com.wix.detox.c");
|
|
});
|
|
});
|