Skip to content

Commit dada416

Browse files
committed
add explanation for repeating action in Test577
1 parent 6987df2 commit dada416

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

FabricExample/e2e/issuesTests/Test577.e2e.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ describe('Test577', () => {
1919
if (device.getPlatform() === 'ios') {
2020
it('does not display content underneath modal with gesture disabled when attempting to close it', async () => {
2121
await element(by.text('Open modal')).tap();
22+
23+
// Original bug was happening after a few consecutive attempts to close the modal.
24+
// See this GIF: https://github.com/software-mansion/react-native-screens/issues/577#issue-666185758
25+
// Decided to try it a few times.
2226
for (let i = 0; i < 5; ++i) {
2327
await element(by.text('Modal')).swipe('down', 'fast');
2428
await expect(element(by.text('Open modal'))).not.toBeVisible();

0 commit comments

Comments
 (0)