From 5bdefa7e660cfb4f75ac74ba062ce3e0569e37da Mon Sep 17 00:00:00 2001
From: Sagar Kishore Benani <SagarKishore.Benani@in.bosch.com>
Date: Mon, 23 Mar 2020 11:07:12 +0530
Subject: [PATCH] Add new HMI test cases

Signed-off-by: Sagar Kishore Benani <SagarKishore.Benani@in.bosch.com>
---
 test-cases/hmi-audio-detail-view.yaml | 24 ++++++++++++++++++++++++
 test-cases/hmi-audio-play-pause.yaml  | 23 +++++++++++++++++++++++
 test-cases/hmi-video-load.yaml        | 23 +++++++++++++++++++++++
 test-cases/hmi-video-play-pause.yaml  | 24 ++++++++++++++++++++++++
 4 files changed, 94 insertions(+)
 create mode 100644 test-cases/hmi-audio-detail-view.yaml
 create mode 100644 test-cases/hmi-audio-play-pause.yaml
 create mode 100644 test-cases/hmi-video-load.yaml
 create mode 100644 test-cases/hmi-video-play-pause.yaml

diff --git a/test-cases/hmi-audio-detail-view.yaml b/test-cases/hmi-audio-detail-view.yaml
new file mode 100644
index 0000000..949effa
--- /dev/null
+++ b/test-cases/hmi-audio-detail-view.yaml
@@ -0,0 +1,24 @@
+metadata:
+  name: hmi-audio-detail-view
+  format: "Apertis Test Definition 1.0"
+  image-types:
+    target: [armhf, amd64 ]
+    sdk:     [ amd64 ]
+  image-deployment:
+    - APT
+    - OSTree
+  type: compatibility
+  exec-type: manual
+  priority: medium
+  maintainer: "Apertis Project"
+  description: "Test that the songs play in detail view"
+  pre-conditions:
+    - "The respective target (i.MX6 or Minnowboard) should be on and running"
+    - "Lilluput/LVDS touch screens must be connected to the respective targets" 
+  expected:
+    - "Transition to detail view should happen and the first track of an album which is in focus should start playing"
+run:
+ steps:
+   - "Open Music Application"
+   - "From the drop down menu select the Detail view drawer button"
+   - "Click on the thumbnails to play any song"
diff --git a/test-cases/hmi-audio-play-pause.yaml b/test-cases/hmi-audio-play-pause.yaml
new file mode 100644
index 0000000..123c6fb
--- /dev/null
+++ b/test-cases/hmi-audio-play-pause.yaml
@@ -0,0 +1,23 @@
+metadata:
+  name: hmi-audio-play-pause
+  format: "Apertis Test Definition 1.0"
+  image-types:
+    target: [armhf, amd64 ]
+    sdk:     [ amd64 ]
+  image-deployment:
+    - APT
+    - OSTree
+  type: compatibility
+  exec-type: manual 
+  priority: high
+  maintainer: "Apertis Project"
+  description: "Test that the songs present play and can be paused"
+  pre-conditions:
+    - "The respective target (i.MX6 or Minnowboard) should be on and running"
+    - "Lilluput/LVDS touch screens must be connected to the respective targets"
+  expected:
+    - "Audio files play without any glitch and can be paused"
+run:
+ steps:
+   - "Open the Music Application"
+   - "Play and Pause any song"
diff --git a/test-cases/hmi-video-load.yaml b/test-cases/hmi-video-load.yaml
new file mode 100644
index 0000000..56c2959
--- /dev/null
+++ b/test-cases/hmi-video-load.yaml
@@ -0,0 +1,23 @@
+metadata:
+  name: hmi-video-load
+  format: "Apertis Test Definition 1.0"
+  image-types:
+    target: [armhf, amd64 ]
+    sdk:     [ amd64 ]
+  image-deployment:
+    - APT
+    - OSTree
+  type: compatibility
+  exec-type: manual
+  priority: high
+  maintainer: "Apertis Project"
+  description: "Tests that the video files are present"
+  pre-conditions:
+    - "The respective target (i.MX6 or Minnowboard) should be on and running"
+    - "Lilluput/LVDS touch screens must be connected to the respective targets"
+  expected:
+    - "Video files must be present"
+run:
+ steps:
+   - "Open the VIDEO & TV application"
+   - "Launch VIDEOS/TITLE"
diff --git a/test-cases/hmi-video-play-pause.yaml b/test-cases/hmi-video-play-pause.yaml
new file mode 100644
index 0000000..0fa11dd
--- /dev/null
+++ b/test-cases/hmi-video-play-pause.yaml
@@ -0,0 +1,24 @@
+metadata:
+  name: hmi-video-play-pause
+  format: "Apertis Test Definition 1.0"
+  image-types:
+    target: [armhf, amd64 ]
+    sdk:     [ amd64 ]
+  image-deployment:
+    - APT
+    - OSTree
+  type: compatibility
+  exec-type: manual
+  priority: high
+  maintainer: "Apertis Project"
+  description: "Test that the video files play without any glitches"
+  pre-conditions:
+    - "The respective target (i.MX6 or Minnowboard) should be on and running"
+    - "Lilluput/LVDS touch screens must be connected to the respective targets"
+  expected:
+    - "Video files must be present"
+run:
+ steps:
+   - "Go to VIDEO & TV"
+   - "Launch VIDEOS/TITLE"
+   - "Play any video file"
-- 
GitLab