Skip to content

Commit

Permalink
Merge pull request #1941 from DataDog/jmoskovich/disable-sr-integrati…
Browse files Browse the repository at this point in the history
…on-tests

Disable some sr integration tests temporarily due to flakiness
  • Loading branch information
jonathanmos authored Mar 27, 2024
2 parents f3e10ae + 45ef22c commit 683db40
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ package com.datadog.android.sdk.integration.sessionreplay

import com.datadog.android.privacy.TrackingConsent
import com.datadog.android.sdk.rules.SessionReplayTestRule
import org.junit.Ignore
import org.junit.Rule
import org.junit.Test

internal class ConsentGrantedSrTest : BaseSessionReplayTest<SessionReplayPlaygroundActivity>() {

Expand All @@ -20,7 +20,7 @@ internal class ConsentGrantedSrTest : BaseSessionReplayTest<SessionReplayPlaygro
keepRequests = true
)

@Test
@Ignore("Flakiness in CI, unsolved yet")
fun assessRecordedScreenPayload() {
runInstrumentationScenario()
assessSrPayload(EXPECTED_PAYLOAD_FILE_NAME, rule)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ import com.datadog.android.sdk.integration.sessionreplay.SessionReplayImageButto
import com.datadog.android.sdk.rules.SessionReplayTestRule
import com.datadog.android.sdk.utils.SR_PRIVACY_LEVEL
import com.datadog.android.sessionreplay.SessionReplayPrivacy
import org.junit.Ignore
import org.junit.Rule
import org.junit.Test

internal class SrImageButtonsMaskTest :
BaseSessionReplayTest<SessionReplayImageButtonsActivity>() {
Expand All @@ -26,11 +26,12 @@ internal class SrImageButtonsMaskTest :
intentExtras = mapOf(SR_PRIVACY_LEVEL to SessionReplayPrivacy.MASK)
)

@Test
@Ignore("Flakiness in CI, unsolved yet")
fun assessRecordedScreenPayload() {
runInstrumentationScenario()
assessSrPayload(EXPECTED_PAYLOAD_FILE_NAME, rule)
}

companion object {
const val EXPECTED_PAYLOAD_FILE_NAME = "sr_image_buttons_mask_payload.json"
}
Expand Down

0 comments on commit 683db40

Please sign in to comment.