Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-11162

Implement retry logic for Camera Appium tests

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      Camera plugin Appium tests are very flaky because of some weird Android emulator behavior. The most common error is happening at random stages of image capture. The error callback gets called with the message "Camera cancelled".

      To avoid these flaky failures, each spec should be retried up to three times. If the failure persists, then and only then it should fail.

        Attachments

          Activity

            People

            • Assignee:
              alsorokin Alexander Sorokin
              Reporter:
              alsorokin Alexander Sorokin
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: