summaryrefslogtreecommitdiffstats
path: root/tests/systemtests/sys_declarative-music-browser/sys_declarative-music-browser.qtt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/systemtests/sys_declarative-music-browser/sys_declarative-music-browser.qtt')
-rw-r--r--tests/systemtests/sys_declarative-music-browser/sys_declarative-music-browser.qtt138
1 files changed, 79 insertions, 59 deletions
diff --git a/tests/systemtests/sys_declarative-music-browser/sys_declarative-music-browser.qtt b/tests/systemtests/sys_declarative-music-browser/sys_declarative-music-browser.qtt
index e0e027adcc..7b6feec1c0 100644
--- a/tests/systemtests/sys_declarative-music-browser/sys_declarative-music-browser.qtt
+++ b/tests/systemtests/sys_declarative-music-browser/sys_declarative-music-browser.qtt
@@ -41,84 +41,104 @@
//TESTED_COMPONENT=src/gallery
-function startTestApp()
-{
- prompt('Start application \'declarative-music-browser\'
- Verify test application started and closed without issue');
-}
-
-
testcase = {
- // prove that the test application starts before anything else is tested.
- Run_Test_Application: function()
- {
- startTestApp();
- if (!runAsManualTest()){
- // ensure we have a widget to work with, dump its details
- // TODO when run this test case 'automaticly' then enable this following code
- //print('Focus widget is' + focusWidget());
- }
- },
-
List_Albums: function()
{
- prompt(twiki('*List Albums*
-
- 1 Start application *declarative-music-browser*
- 1 Click Albums icon
- 1 Verify that the albums listed match what is seen via the native music/document browser
- 1 Verify that albums have the expected cover thumbnail above the album title
- 1 Click on an album in view that is known to have more that once song in it
- 1 Verify that the expected songs are listed in view
- 1 Click *Back* button
- 1 Click *Back* button to return to top \"menu\"
- '));
+ // Test meta data
+ testApplication = "Music - List Albums";
+ testBinary = "declarative-music-browser";
+ testGoal = "Verify that all available music albums can be shown and selected";
+ testPreconditions = "None";
+ testGroups = "BAT";
+
+ // Test steps
+ prompt(twiki("---+++ " + testApplication + "<br><br>
+ *Goal:* " + testGoal + "<br>
+ *Pre-Requisites:* " + testPreconditions + "<br>
+ *Tested Binary:* " + testBinary + "<br>
+
+ | *Step* | *Verification* |
+ | Launch " + testBinary + " | App launches normally |
+ | Click Albums icon | Verify that the albums listed match what is seen via the native music/document browser |
+ | | Verify that albums have the expected cover thumbnail above the album title |
+ | Click on an album in view that is known to have more that once song in it | Verify that the expected songs are listed in view |
+ | Click *Back* button | |
+ | Click *Back* button to return to top 'menu' | |
+ "));
},
List_Artists : function()
{
- prompt(twiki('*List Artists*
-
- 1 Start application *declarative-music-browser*
- 1 Click Artists icon
- 1 Verify that the artists listed match what is seen via the native music/document browser
- 1 Click on an artist in view
- 1 Verify that the artist name is listed correctly at top of view
- 1 Verify that expected songs are listed in view
- 1 Click *Back* button
- 1 Click *Back* button to return to top \"menu\"
- '));
+ testApplication = "Music - List Artists";
+ testBinary = "declarative-music-browser";
+ testGoal = "Verify that all available artists can be shown and selected";
+ testPreconditions = "None";
+ testGroups = "BAT";
+
+ // Test steps
+ prompt(twiki("---+++ " + testApplication + "<br><br>
+ *Goal:* " + testGoal + "<br>
+ *Pre-Requisites:* " + testPreconditions + "<br>
+ *Tested Binary:* " + testBinary + "<br>
+
+ | *Step* | *Verification* |
+ | Launch " + testBinary + " | App launches normally |
+ | Click Artists icon | Verify that the artists listed match what is seen via the native music/document browser |
+ | Click on an artist in view | Verify that the artist name is listed correctly at top of view |
+ | | Verify that expected songs are listed in view |
+ | Click *Back* button | |
+ | Click *Back* button to return to top 'menu' | |
+ "));
},
List_Genres : function()
{
- prompt(twiki('*List Genres*
-
- 1 Start application *declarative-music-browser*
- 1 Click Genres icon
- 1 Verify that the genres listed match what is seen via the native music/document browser
- 1 Click on an genre in view
- 1 Verify that albums matching the genres are listed
- 1 Verify that the expected songs are listed in view
- 1 Click *Back* button
- 1 Click *Back* button to return to top \"menu\"
- '));
+ testApplication = "Music - List Genres";
+ testBinary = "declarative-music-browser";
+ testGoal = "Verify that available genres are shown correctly";
+ testPreconditions = "None";
+ testGroups = "BAT";
+
+ // Test steps
+ prompt(twiki("---+++ " + testApplication + "<br><br>
+ *Goal:* " + testGoal + "<br>
+ *Pre-Requisites:* " + testPreconditions + "<br>
+ *Tested Binary:* " + testBinary + "<br>
+
+ | *Step* | *Verification* |
+ | Launch " + testBinary + " | App launches normally |
+ | Click Genres icon | Verify that the genres listed match what is seen via the native music/document browser |
+ | Click on an genre in view | Verify that albums matching the genres are listed |
+ | | Verify that the expected songs are listed in view |
+ | Click *Back* button | |
+ | Click *Back* button to return to top 'menu' | |
+ "));
},
List_Songs : function()
{
- prompt(twiki('*List Songs*
-
- 1 Start application *declarative-music-browser*
- 1 Click Songs icon
- 1 Verify that the song listed match what is seen via the native music/document browser
- 1 Verify that two of the listed songs have the correct song length mentioned on right
- 1 Click *Back* button to return to top \"menu\"
- '));
+ testApplication = "Music - List Songs";
+ testBinary = "declarative-music-browser";
+ testGoal = "Verify that available songs are listed correctly";
+ testPreconditions = "None";
+ testGroups = "BAT";
+
+ // Test steps
+ prompt(twiki("---+++ " + testApplication + "<br><br>
+ *Goal:* " + testGoal + "<br>
+ *Pre-Requisites:* " + testPreconditions + "<br>
+ *Tested Binary:* " + testBinary + "<br>
+
+ | *Step* | *Verification* |
+ | Launch " + testBinary + " | App launches normally |
+ | Click Songs icon | Verify that the song listed match what is seen via the native music/document browser |
+ | | Verify that two of the listed songs have the correct song length mentioned on right |
+ | Click *Back* button to return to top menu' | |
+ "));
}
}