Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8de378a9 authored by Jay Aliomer's avatar Jay Aliomer
Browse files

Fix the host golden path asset dir config

Fixes: 246785914
Test: run screenshot tests
Change-Id: I113c811b5073abde777c027ed60f0daec5860140
parent f121693b
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -23,9 +23,11 @@ import platform.test.screenshot.PathConfig
/** A [GoldenImagePathManager] that should be used for all SystemUI screenshot tests. */
class SystemUIGoldenImagePathManager(
    pathConfig: PathConfig,
    override val assetsPathRelativeToRepo: String = "tests/screenshot/assets"
) :
    GoldenImagePathManager(
        appContext = InstrumentationRegistry.getInstrumentation().context,
        assetsPathRelativeToRepo = assetsPathRelativeToRepo,
        deviceLocalPath =
            InstrumentationRegistry.getInstrumentation()
                .targetContext