plugin: resource
id: clock-worldcity/system-image
_summary: [Automated] gather system information
command: system-image-cli -i
_description:
 Gather system info

id: clock-worldcity/language-change
plugin: manual
_summary: Test to check if world city language changes when the system language is changed
estimated_duration: 600
_description:
    Test to check if world city language changes when the system language is changed
    1. Launch system settings app and navigate to Language&Text.
        The display language is English.
    1. Launch the clock app.
        Clock app opens showing the current local time.
    2. Press the add city button.
        The add world city page is shown with a list of cities in English.
    3. Select a city from the list shown.
        The main clock page will be shown with the city you selected in English.
    4. Switch to the system settings app and change display language to Espanol (Espana).
        The restart dialog will be shown asking to reboot the device to change the
        system language.
    5. Reboot the device.
        The device restarts and is now in Espanol.
    6. Launch the clock app.
        Clock app opens showing the current local time along with the city you added
        in step 3 in Espanol.
    7. Press the add city button.
        The add world city page is shown with a list of cities in Espanol

id: worldcity/timezone-change
plugin: manual
_summary: Test to check if clock time and world city times are correct after changing timezone during runtime
estimated_duration: 600
_description:
    Test to check if clock time and world city times are correct after changing timezone during runtime
    1. Launch the clock app.
        Clock app opens showing the current local time. 
    2. Press on clock face and switch to Digital mode.
        Main clock is showing current time in digital mode.
    3. Press the add city button.
        The add world city page is shown with a list of cities.
    4. Select a city from different timezone.
        The main clock page will be shown with the city you selected.
    5. Press the add city button.
        The add world city page is shown with a list of cities.
    6. Select a city from current timezone.
        The main clock page will be shown with the city you selected.
    7. Remeber time of World Cities and Main Clock
    8. Switch to the system settings app. Navigate to Date & Time.
        The field with current timezone should be visible. Remember current timezone setting.
    9. Press the current timezone field and change system timezone to something different.
        The timezone field now shows the newly selected timezone.
   10. Switch to clock app.
        The Main Clock hours have not been changed. 
        The Main Clock shows the same time as on top bar (system time).
        The World Clocks hours should remains unchanged.
