diff --git a/eval/latency/philips-hue/alexa.yml b/eval/latency/philips-hue/alexa.yml index 3af658eaff23ad938f91eae3741d33542195e957..2a5246df3ccc614c839e5c4c9c3450b22710ff2e 100644 --- a/eval/latency/philips-hue/alexa.yml +++ b/eval/latency/philips-hue/alexa.yml @@ -2,42 +2,42 @@ appId: com.amazon.dee.app name: "Power-on/off TP-Link plug using Alexa" --- - launchApp: - clearState: false - stopApp: true - label: "Open the Amazon Alexa app" + clearState: false + stopApp: true + label: "Open the Amazon Alexa app" - tapOn: - id: "com.amazon.dee.app:id/tab_channels_device" - label: "Open the Devices tab" + id: "com.amazon.dee.app:id/tab_channels_device" + label: "Open the Devices tab" - tapOn: - id: "DevicePageSearchButton" - label: "Open the search menu" + id: "DevicePageSearchButton" + label: "Open the search menu" - tapOn: - id: "DeviceSearchPageSearchInput_SearchInput" - label: "Open the search bar" + id: "DeviceSearchPageSearchInput_SearchInput" + label: "Open the search bar" - inputText: - text: "Lamp" - label: "Type 'Lamp' in the search bar" + text: "Lamp" + label: "Type 'Lamp' in the search bar" - doubleTapOn: - text: "Lamp" - index: 1 - label: "Select the Philips Hue lamp" + text: "Lamp" + index: 1 + label: "Select the Philips Hue lamp" - tapOn: - point: "50%,23%" - label: "Turn on the lamp" + point: "50%,23%" + label: "Turn on the lamp" - tapOn: - id: "ColorControl::Color=Custom-primary" - label: "Open the color picker" + id: "ColorControl::Color=Custom-primary" + label: "Open the color picker" - scroll: - label: "Scroll down the color picker" -- tapOn: - text: "Orange" - label: "Set the color to orange" + label: "Scroll down the color picker" - tapOn: - id: "header-back-button" - label: "Close the color picker" + text: "Orange" + label: "Set the color to orange" - tapOn: - point: "85%,55%" - label: "Set the power to 100%" + id: "header-back-button" + label: "Close the color picker" - tapOn: - point: "50%,23%" - label: "Turn off the lamp" \ No newline at end of file + point: "85%,55%" + label: "Set the power to 100%" +- tapOn: + point: "50%,23%" + label: "Turn off the lamp" diff --git a/eval/latency/philips-hue/flow.yml b/eval/latency/philips-hue/flow.yml index 972622c893d35d4917a1c5b6d2404b3c44650515..edcabe003f1be5ffd804f034b820337edebfe917 100644 --- a/eval/latency/philips-hue/flow.yml +++ b/eval/latency/philips-hue/flow.yml @@ -1,8 +1,30 @@ appId: com.tplink.kasa_android --- - runFlow: - file: hueEssentials.yml - label: "Edit the light using Hue Essentials" + file: hue.yml + label: "Edit the light using Hue" - runFlow: - file: alexa.yml - label: "Edit the light using Alexa" \ No newline at end of file + file: hueEssentials.yml + label: "Edit the light using Hue Essentials" +- runFlow: + file: alexa.yml + label: "Edit the light using Alexa" +- runFlow: + file: wifi.yml + label: "Switch Wi-Fi to UCLouvain" + env: + WIFI: UCLouvain +- runFlow: + file: hue.yml + label: "Edit the light using Hue" +- runFlow: + file: hueEssentials.yml + label: "Edit the light using Hue Essentials" +- runFlow: + file: alexa.yml + label: "Edit the light using Alexa" +- runFlow: + file: wifi.yml + label: "Switch Wi-Fi to OpenWrt-5GHz" + env: + WIFI: OpenWrt-5GHz diff --git a/eval/latency/philips-hue/hue.yml b/eval/latency/philips-hue/hue.yml new file mode 100644 index 0000000000000000000000000000000000000000..9aa1e94c7d8e4fac70f66d867cca13cddb6048ad --- /dev/null +++ b/eval/latency/philips-hue/hue.yml @@ -0,0 +1,29 @@ +appId: com.philips.lighting.hue2 +name: Hue +--- +- launchApp: + appId: "com.philips.lighting.hue2" + clearState: false + stopApp: true + label: "Open the Hue app" +- tapOn: + text: "Office" + label: "Turn on the light" +- tapOn: + point: "50%,31%" + label: "Select the room" +- tapOn: + point: "19%,64%" + label: "Select the light" +- tapOn: "Effects" +- "scroll" +- tapOn: + point: "39%,49%" + label: "Switch color to `Opal`" +- "back" +- tapOn: + point: "15%,14%" + label: "Change the brightness" +- tapOn: + point: "19%,71%" + label: "Turn off the light"