Skip to content
Snippets Groups Projects
  1. May 29, 2024
    • Julien Desprez's avatar
      Add FlickerTestsIme to platinum · 241a1efc
      Julien Desprez authored
      it's used in v2/android-platinum/suite/test-mapping-staged-platinum
      
      Change-Id: I87d9aff0dea6344908e44ed693730143f504dbf8
      Test: presubmit
      Bug: 341947105
      241a1efc
  2. May 21, 2024
  3. May 03, 2024
  4. Mar 04, 2024
  5. Feb 26, 2024
    • Nataniel Borges's avatar
      Unify common into parser and flicker · 889f7b99
      Nataniel Borges authored
      Since winscope no longer uses flicker code, we don't need to compile
      all the code to JS. This means we can reuse the standard Android
      objects and simplify the code
      
      This CL updates the import path removing the distinction between common
      and device subpackages
      
      Bug: 311642700
      Test: atest FlickerLibTest FlickerLibUtilTests FlickerLibE2eTest
      Change-Id: I99adee33658007d696d60cfff575e87e6419cf8d
      889f7b99
  6. Feb 21, 2024
    • Perry Wu's avatar
      [Flicker] Add test for entering PIP with source rect hint · 01ff3b3c
      Perry Wu authored
      Adds flicker test for the CUJ with entering pip with source rect hint.
      This specifically tests with auto enter enabled, but we can probably
      add a separate case for entering manually. The test uses a rectangle
      as the source rect, and there is a jump at the end of the transition
      as the app doesn't update the layout for pip, but this is more of an
      app issue and doesn't affect the test case.
      
      Flags: N/A
      Bug: 284200208
      Test: atest EnterPipWithSourceRectHintTest
      Change-Id: I47ab50f19dc421dc0e0262c7b14f5b37dfb3551e
      01ff3b3c
  7. Feb 14, 2024
    • Ronish Kalia's avatar
      [DON'T BLOCK] Test ownership migration rules · f891397b
      Ronish Kalia authored
      This CL is created as a best effort to migrate test targets
      to the new android ownership model. If you find incorrect or unnecessary
      attribution in this CL, please create a separate CL to fix that.
      
      For more details please refer to the link below,
      <add g3 doc link>
      
      Bug: 304529413
      Test: N/A
      Change-Id: I6b6cf0abdd1fdb8fefa4184b3698f6951c192ac0
      f891397b
  8. Feb 12, 2024
    • Nataniel Borges's avatar
      Replace array for collection · 29f622d1
      Nataniel Borges authored
      Without transpiling the code to typescript, it is no longer necessary to keep the values as array. instead we can use Collection/List and avoid a lot of conversion
      
      Bug: 311642700
      Test: atest FlickerTests WMShellFlickerTests
      Change-Id: I43aaf5c793b97bb5b4e8568df99ed4a272e5b07b
      29f622d1
  9. Feb 06, 2024
  10. Jan 19, 2024
  11. Jan 17, 2024
    • Charles Chen's avatar
      Fix build error · 164a61bd
      Charles Chen authored
      Fixes: 320485333
      Test: build
      Change-Id: Ifc87658edfe5dd019690d51db5ddbdf991672ea2
      164a61bd
  12. Jan 10, 2024
  13. Dec 18, 2023
  14. Dec 13, 2023
    • Nataniel Borges's avatar
      Disable flaky pip test · 5c5e2fc5
      Nataniel Borges authored
      Test is failing because of a rounding error
      
      Fixes: 315605409
      Test: SecondaryActivityEnterPipTest#secondaryLayerShrinks
      Change-Id: Id67280ede6126205e01e3a7a34432dbc64592278
      5c5e2fc5
  15. Dec 06, 2023
  16. Dec 05, 2023
  17. Nov 22, 2023
    • Cosmin Băieș's avatar
      Fix reopen recent app test logic on large screen · 1a65c53f
      Cosmin Băieș authored
      Previously we were tapping on the exact middle of the screen to re-open
      the most recent app, however this proved a bit brittle. Replacing with
      the functionality from tapl to avoid any future breakages.
      
      Bug: 312586353
      Test: atest FlickerTestsIme2:ShowImeOnAppStartWhenLaunchingAppFromOverviewTest -- --module-arg FlickerTestsIme2:include-annotation:android.platform.test.annotations.Presubmit --module-arg FlickerTestsIme2:exclude-annotation:android.platform.test.annotations.IwTest
      Change-Id: Idf62b9cc4b4bd635dc1ccee3f31a86b8eb581be3
      1a65c53f
    • Cosmin Băieș's avatar
      Remove ImeFlickerTests button tap dependency · 175cdc37
      Cosmin Băieș authored
      This fixes some flakes in ImeFlickerTests where the buttons that needed
      to be tapped during the test runs were covered by the IME (either due to
      small display size, or floating keyboard mode in landscape).
      
      Instead, we use a BroadcastReceiver and create custom intent actions for
      the required behaviours.
      
      Test: atest FlickerTestsIme2:OpenImeWindowToFixedPortraitAppTest -- --module-arg FlickerTestsIme2:include-annotation:android.platform.test.annotations.Presubmit --module-arg FlickerTestsIme2:exclude-annotation:android.platform.test.annotations.IwTest
      Bug: 310868933
      Change-Id: I44baf01a0c5cbfd1f0e51be09075de0a3c7ea967
      175cdc37
  18. Nov 20, 2023
  19. Nov 08, 2023
  20. Nov 07, 2023
    • Chris Li's avatar
      Fix janky animation when enter pip from secondary split · 112b7a06
      Chris Li authored
      This happens to both Activity Embedding split and system split screen.
      
      Two issues to fix:
      1. When entering, the pip activity surface is first jump to the left.
         This is because the start bounds of the pip Task is not set to the
         bounds of the activity original bounds (reset because of fullscreen
         mode).
      2. When animating the pip content overlay on top, it only covers partial
         of the pip surface. This is because the bounds of the secondary split
         has an offset, so when animating, the postScale is not using the
         correct center.
      
      Fix: 306994352
      Test: atest FlickerTestsOther:SecondaryActivityEnterPipTest
      Change-Id: I567efd7ed52d91ec49eb4adee81a8cb7a6381ade
      112b7a06
    • Nataniel Borges's avatar
      Split IME tests into 2 groups to adhere to runtime SLO · 01e9ae19
      Nataniel Borges authored
      Also fix a compilation warning about a null pointer exception
      
      Fixes: 301574268
      Test: atest FlickerTestsIme1 FlickerTestsIme2
      Change-Id: I08486d1879b131ba505f71d8686a9ea1aafd4a5c
      01e9ae19
    • Nataniel Borges's avatar
      Format code according to linter rules · 0c491eb4
      Nataniel Borges authored
      after moving classes into different packages
      
      Bug: 307885357
      Test: atest FlickerTestsAppLaunch1 FlickerTestsAppLaunch2 FlickerTestsAppClose FlickerTestsIme FlickerTestsNotification FlickerTestsRotation FlickerTestsQuickswitch FlickerServiceTests
      Change-Id: I2dfc90dd4c01614065ba4a1b39696eb7431c3dd6
      0c491eb4
  21. Nov 06, 2023
    • Nataniel Borges's avatar
      Split flicker tests into completely independent folders, which can be... · 84828f98
      Nataniel Borges authored
      Split flicker tests into completely independent folders, which can be transferred to the respective teams.
      
      This also allows the tests to be better configured, so that app compat tests don't run on phones
      
      Bug: 307885357
      Fixes: 307359855
      Test: atest FlickerTestsAppLaunch1 FlickerTestsAppLaunch2 FlickerTestsAppClose FlickerTestsIme FlickerTestsNotification FlickerTestsRotation FlickerTestsQuickswitch FlickerServiceTests
      Change-Id: I2dfc90dd4c01614065ba4a1b39696eb7431c3dd5
      84828f98
  22. Nov 03, 2023
    • Nataniel Borges's avatar
      Grant camera permissions at the start of the test · 3601a65f
      Nataniel Borges authored
      Avoid eventually showing the permission dialog and ensure a consistent UI flow
      
      Fixes: 307451253
      Fixes: 307664397
      Test: atest FlickerTestsAppLaunch
      Change-Id: If860a89b5bd3521f73fd4aef4ad855f840e1400f
      3601a65f
    • wilsonshih's avatar
      Remove appLayerReplacesLauncher test from transfer splash screen test. · 4c488cd2
      wilsonshih authored
      The splash screen layer can overlay with app window, so actually the
      "ignoreSplashscreen" parameter should be true, and better to set
      isOptional to false in isSplashScreenVisibleFor. But while using
      SurfaceView to draw splash screen icon, not every layer need to be
      visible, so it won't pass isSplashScreenVisibleFor assert.
      Overall, seems appWindowAfterSplash can cover the original purpose
      of this test, so remove appLayerReplacesLauncher for transfer splash
      screen test.
      
      Bug: 307366441
      Test: atest OpenTransferSplashscreenAppFromLauncherTransition
      Change-Id: If4820f8fa7cdfaf2b7a6f7b4eb24b3a818acc101
      4c488cd2
  23. Nov 01, 2023
    • Nataniel Borges's avatar
      Split wm shell flicker tests into completely independent folders, which can be... · 7fcaee1a
      Nataniel Borges authored
      Split wm shell flicker tests into completely independent folders, which can be transferred to the respective teams.
      
      This also allows the tests to be better configured, so that app compat tests don't run on phones
      
      Bug: 307885357
      Fixes: 307359855
      Test: atest WMShellFlickerTestsPip1 WMShellFlickerTestsPip2 WMShellFlickerTestsSplitScreenGroup1 WMShellFlickerTestsSplitScreenGroup2 WMShellFlickerTestsService WMShellFlickerTestsBubbles WMShellFlickerTestsPlatinum
      Change-Id: Ia17b04256becf04969223527e886a170dc11642b
      7fcaee1a
  24. Oct 31, 2023
  25. Oct 23, 2023
  26. Oct 20, 2023
  27. Oct 13, 2023
  28. Oct 06, 2023
  29. Oct 02, 2023
    • Perry Wu's avatar
      [Flicker] Add pip aspect ratio test · c096ffdb
      Perry Wu authored
      Adds flicker test for changing aspect ratio while in pip.
      
      Bug: 264554866
      Test: atest PipAspectRatioChangeTest
      Change-Id: I46882ff6f2825c0ecce661ca350da95b98b61e69
      c096ffdb
  30. Sep 22, 2023
    • Orhan Uysal's avatar
      Create RotateImmeriveAppInFullscreenTest · e3e759b5
      Orhan Uysal authored
      Introduce a new test for when immersive apps are rotated. This test
      makes sure that the rotation button appears on the screen after the
      rotatation and the app is in fullscreen mode. Note that this test works
      only on CF devices.
      
      Test: Manual
      Bug: 285849560
      Change-Id: I325b0e4e8dac075080a1b4d4cc43eb7f7b6be6a5
      e3e759b5
Loading