question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Disable video recording

See original GitHub issue

In our app we work with video, and new video at root of storage is breaking tests.

In sample https://github.com/Malinskiy/marathon/blob/2689d7b2a563db09e88e6753912eeed9bf4bd929/cli/src/test/resources/fixture/config/sample_1.yaml

there is: screenRecordConfiguration videoConfiguration: enabled: false screenshotConfiguration: enabled: false

but with this options on marathon start, I get a error:

Exception in thread "main" com.malinskiy.marathon.exceptions.ConfigurationException: com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "screenRecordConfiguration" (class com.malinskiy.marathon.cli.args.FileAndroidConfiguration), not marked as ignorable (12 known properties: "applicationPmClear", "testApplicationPmClear", "installOptions", "serialStrategy", "vendor", "androidSdk", "applicationApk", "testApplicationApk", "preferableRecorderType", "adbInitTimeoutMillis", "instrumentationArgs", "autoGrantPermission"])
19:21:32     at [Source: UNKNOWN; line: -1, column: -1] (through reference chain: com.malinskiy.marathon.cli.args.FileConfiguration["vendorConfiguration"]-
  1. Full configuration Marathonfile. Version of marathon 0.5.2
name: "UI Tests"
outputDir: "./build/marathon"
poolingStrategy:
  - type: "omni"
  - type: "device-model"
  - type: "os-version"
  - type: "manufacturer"
  - type: "abi"
shardingStrategy:
  type: "count"
  count: 1
batchingStrategy:
  type: "fixed-size"
  size: 10
retryStrategy:
  type: "fixed-quota"
  totalAllowedRetryQuota: 100
  retryPerTestQuota: 2
ignoreFailures: false
strictMode: true
debug: false
deviceInitializationTimeoutMillis: 300000
vendorConfiguration:
  type: "Android"
  applicationApk: "app/build/outputs/apk/staging/debugstaging-debug.apk"
  testApplicationApk: "app/build/outputs/apk/androidTest/staging/debug/staging-debug-androidTest.apk"
  serialStrategy: "ddms"
  screenRecordConfiguration:
    preferableRecorderType: "screenshot"
    videoConfiguration:
      enabled: false
    screenshotConfiguration:
      enabled: false
  waitForDevicesTimeoutMillis: 15000

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
ivincetticommented, Dec 2, 2020

all works like a charm )

1reaction
ivincetticommented, Dec 1, 2020

Thank you very much! I’l try it tomorrow morning and write back about results

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Disable Recording - Amazon Interactive Video Service
Console — On the details page for the relevant channel, in the Record and store streams section, choose Disabled and then choose Save...
Read more >
Can I disable video recording on Automate? - BrowserStack
Yes. Video recording in Automate can be disabled by setting the following custom capability to false: caps['browserstack.video'] = 'false'.
Read more >
Why Disable Zoom Recordings When You Can Efficiently ...
How Can You Disable the Recording Option in Zoom – The Steps · Click settings in the meeting tab and then click In...
Read more >
I want to disable the audio and video recording feature on ...
2) In the left side menu, choose Meetings > Meeting polices, Turn off "Allow cloud recording" under Audio & video.
Read more >
How to Disable Screen Recording on an iPhone in 4 Steps
iPhone Screen Recording allows you to screengrab videos or provides a hands-on demonstration for complex instructions and capture gameplay from ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found