Skip to content

Commit

Permalink
test(android): expect show before tap
Browse files Browse the repository at this point in the history
  • Loading branch information
luancurti committed Dec 2, 2022
1 parent 286d3b5 commit 1ca9352
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions example/e2e/detoxTest.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -249,9 +249,8 @@ describe('e2e tests', () => {
});

it(':android: when component unmounts, dialog is dismissed', async () => {
await elementById('showAndDismissPickerButton').tap();
await wait(1000);
await expect(getDatePickerAndroid()).toExist();
await elementById('showAndDismissPickerButton').tap();
await wait(6000);

await expect(getDatePickerAndroid()).not.toExist();
Expand Down

0 comments on commit 1ca9352

Please sign in to comment.