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

Implement retry logic for Camera Appium tests

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: