diff options
| author | PMR <pmr@pmr-lander> | 2020-05-28 15:45:41 +0000 |
|---|---|---|
| committer | PMR <pmr@pmr-lander> | 2020-05-28 15:45:41 +0000 |
| commit | ebf8a2479675321f1659852f68bc2934b5e93470 (patch) | |
| tree | 2b73d40307ce742ee0934d2164014b087abaae63 /units/suspend | |
| parent | 46b4261b0ad121fd947eaec12dbeae3f206939f1 (diff) | |
| parent | c0b6d9c7b2208c6660b882b3b726ea48e43e561b (diff) | |
Merge #384164 from ~ray.chen/plainbox-provider-checkbox:lp1811948-add-rotation-after-s3
suspend-graphics: add rotation after suspend test and add new case into graphic test plan. lp: #1811948
Diffstat (limited to 'units/suspend')
| -rw-r--r-- | units/suspend/suspend-graphics.pxu | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/units/suspend/suspend-graphics.pxu b/units/suspend/suspend-graphics.pxu index 21effcc1..b0a8608b 100644 --- a/units/suspend/suspend-graphics.pxu +++ b/units/suspend/suspend-graphics.pxu @@ -262,3 +262,30 @@ command: fi _purpose: Suspend SUT 30 times while using {product_slug} graphics card + +unit: template +template-resource: graphics_card +template-filter: graphics_card.prime_gpu_offload == 'Off' +template-engine: jinja2 +plugin: user-interact-verify +category_id: com.canonical.plainbox::suspend +id: suspend/{{ index }}_rotation_after_suspend_{{ product_slug }}_graphics +depends: + {%- if gpu_count > "1" %} + suspend/{{ index }}_suspend_after_switch_to_card_{{ product_slug }}_auto + {%- else %} + suspend/suspend_advanced + {%- endif %} +command: + source graphics_env {{ driver }} {{ index }} + rotation_test +estimated_duration: 20.000 +_summary: Test rotation for {{ vendor }} {{ product }} after suspend +_description: + PURPOSE: + This test will test display rotation on the {{ vendor }} {{ product }} graphics card after suspend + STEPS: + 1. Click "Test" to test display rotation. The display will be rotated every 4 seconds. + 2. Check if all rotations (normal right inverted left) took place without permanent screen corruption + VERIFICATION: + Did the display rotation take place without permanent screen corruption after suspend? |
