From 680a2c9c24616d61884c30f4af5837140f0519ab Mon Sep 17 00:00:00 2001 From: Kangho Hur Date: Thu, 5 Mar 2020 11:34:17 +0900 Subject: [PATCH] Add appium auto test for CircularShell (#242) * Add appium test for CircularShell (#241) * Add Appium unit testcase * Update Shell UI Tests (#236) Co-authored-by: shmin * Update Icon Images (#245) * Update WearableUIGallery to use Shell (#252) Co-authored-by: shmin --- .../FlyoutExample/ConfigPage.xaml | 2 +- .../FlyoutExample/RandomColorPage.cs | 17 +-- .../Xaminals/Xaminals.Tizen/res/back.png | Bin 1658 -> 1857 bytes .../Xaminals/Xaminals.Tizen/res/bear.png | Bin 2505 -> 2941 bytes .../Xaminals/Xaminals.Tizen/res/cat.png | Bin 2500 -> 3032 bytes .../Xaminals/Xaminals.Tizen/res/dog.png | Bin 2900 -> 3378 bytes .../Xaminals/Xaminals.Tizen/res/elephant.png | Bin 2758 -> 3137 bytes .../Xaminals/Xaminals.Tizen/res/help.png | Bin 3160 -> 3464 bytes .../Xaminals/Xaminals.Tizen/res/info.png | Bin 2867 -> 3094 bytes .../Xaminals/Xaminals.Tizen/res/monkey.png | Bin 3073 -> 3613 bytes .../Xaminals/Xaminals.Tizen/res/paw.png | Bin 2956 -> 3391 bytes .../Xaminals/Xaminals.Tizen/res/random.png | Bin 3346 -> 3823 bytes .../AppInitializer.cs | 17 +++ .../Appium.CircularShell.Tests.csproj | 16 +++ .../Appium.CircularShell.Tests.sln | 25 ++++ .../TC/TCFlyoutBackgroundColor.cs | 42 +++++++ .../TC/TCFlyoutForegroundColor.cs | 32 ++++++ .../TC/TCFlyoutIcon.cs | 35 ++++++ .../TC/TCFlyoutIconBackgroudColor.cs | 32 ++++++ .../TestCaseBase.cs | 80 +++++++++++++ .../TizenDriverApp.cs | 108 ++++++++++++++++++ .../WearableUIGallery.Tizen.Wearable.cs | 4 +- .../WearableUIGallery.Tizen.Wearable.csproj | 4 +- .../res/favorite.png | Bin 0 -> 339 bytes .../res/home.png | Bin 0 -> 206 bytes .../res/play.png | Bin 0 -> 332 bytes .../WearableUIGallery/App.xaml | 10 -- .../WearableUIGallery/App.xaml.cs | 9 +- .../WearableUIGallery/AppShell.xaml | 24 ++++ .../WearableUIGallery/AppShell.xaml.cs | 43 +++++++ .../WearableUIGallery/MainPage.xaml | 12 ++ .../WearableUIGallery/MainPage.xaml.cs | 21 ++++ .../WearableUIGallery/RandomColorPage.xaml | 12 ++ .../WearableUIGallery/RandomColorPage.xaml.cs | 19 +++ .../TC/CustomViewCell.xaml.cs | 2 + .../ShellTest/FlyoutBackgroundColorTest.xaml | 17 +++ .../FlyoutBackgroundColorTest.xaml.cs | 36 ++++++ .../ShellTest/FlyoutForegroundColorTest.xaml | 17 +++ .../FlyoutForegroundColorTest.xaml.cs | 36 ++++++ .../FlyoutIconBackgroundColorTest.xaml | 16 +++ .../FlyoutIconBackgroundColorTest.xaml.cs | 31 +++++ .../TC/ShellTest/FlyoutIconTest.xaml | 16 +++ .../TC/ShellTest/FlyoutIconTest.xaml.cs | 46 ++++++++ .../TC/TCCircleListViewNoEffect.xaml.cs | 1 + .../{AppViewModel.cs => TCData.cs} | 22 +++- .../WearableUIGallery/TCDescribe.cs | 1 + .../WearableUIGallery/TCListPage.xaml | 0 .../WearableUIGallery/TCListPage.xaml.cs | 18 +-- .../WearableUIGallery/TCSubListPage.xaml.cs | 35 +++--- 49 files changed, 789 insertions(+), 69 deletions(-) create mode 100644 test/Appium.CircularShell.Tests/AppInitializer.cs create mode 100644 test/Appium.CircularShell.Tests/Appium.CircularShell.Tests.csproj create mode 100644 test/Appium.CircularShell.Tests/Appium.CircularShell.Tests.sln create mode 100644 test/Appium.CircularShell.Tests/TC/TCFlyoutBackgroundColor.cs create mode 100644 test/Appium.CircularShell.Tests/TC/TCFlyoutForegroundColor.cs create mode 100644 test/Appium.CircularShell.Tests/TC/TCFlyoutIcon.cs create mode 100644 test/Appium.CircularShell.Tests/TC/TCFlyoutIconBackgroudColor.cs create mode 100644 test/Appium.CircularShell.Tests/TestCaseBase.cs create mode 100644 test/Appium.CircularShell.Tests/TizenDriverApp.cs create mode 100644 test/WearableUIGallery/WearableUIGallery.Tizen.Wearable/res/favorite.png create mode 100644 test/WearableUIGallery/WearableUIGallery.Tizen.Wearable/res/home.png create mode 100644 test/WearableUIGallery/WearableUIGallery.Tizen.Wearable/res/play.png mode change 100755 => 100644 test/WearableUIGallery/WearableUIGallery/App.xaml mode change 100755 => 100644 test/WearableUIGallery/WearableUIGallery/App.xaml.cs create mode 100644 test/WearableUIGallery/WearableUIGallery/AppShell.xaml create mode 100644 test/WearableUIGallery/WearableUIGallery/AppShell.xaml.cs create mode 100644 test/WearableUIGallery/WearableUIGallery/MainPage.xaml create mode 100644 test/WearableUIGallery/WearableUIGallery/MainPage.xaml.cs create mode 100644 test/WearableUIGallery/WearableUIGallery/RandomColorPage.xaml create mode 100644 test/WearableUIGallery/WearableUIGallery/RandomColorPage.xaml.cs create mode 100644 test/WearableUIGallery/WearableUIGallery/TC/ShellTest/FlyoutBackgroundColorTest.xaml create mode 100644 test/WearableUIGallery/WearableUIGallery/TC/ShellTest/FlyoutBackgroundColorTest.xaml.cs create mode 100644 test/WearableUIGallery/WearableUIGallery/TC/ShellTest/FlyoutForegroundColorTest.xaml create mode 100644 test/WearableUIGallery/WearableUIGallery/TC/ShellTest/FlyoutForegroundColorTest.xaml.cs create mode 100644 test/WearableUIGallery/WearableUIGallery/TC/ShellTest/FlyoutIconBackgroundColorTest.xaml create mode 100644 test/WearableUIGallery/WearableUIGallery/TC/ShellTest/FlyoutIconBackgroundColorTest.xaml.cs create mode 100644 test/WearableUIGallery/WearableUIGallery/TC/ShellTest/FlyoutIconTest.xaml create mode 100644 test/WearableUIGallery/WearableUIGallery/TC/ShellTest/FlyoutIconTest.xaml.cs rename test/WearableUIGallery/WearableUIGallery/{AppViewModel.cs => TCData.cs} (91%) mode change 100755 => 100644 test/WearableUIGallery/WearableUIGallery/TCListPage.xaml diff --git a/sample/ShellExamples/FlyoutExample/ConfigPage.xaml b/sample/ShellExamples/FlyoutExample/ConfigPage.xaml index 70d72eb8..34e08ffe 100644 --- a/sample/ShellExamples/FlyoutExample/ConfigPage.xaml +++ b/sample/ShellExamples/FlyoutExample/ConfigPage.xaml @@ -15,7 +15,7 @@