Add CtsVerifier tests for turn off work.
BUG: 26767881
Change-Id: I2684c8b10a68bc638addc234c4c670f05dec6cea
diff --git a/apps/CtsVerifier/res/values/strings.xml b/apps/CtsVerifier/res/values/strings.xml
index 9f09b93..16e376c 100644
--- a/apps/CtsVerifier/res/values/strings.xml
+++ b/apps/CtsVerifier/res/values/strings.xml
@@ -1829,6 +1829,34 @@
3. Go back to the cts-verifier tests using the back button, then mark the test accordingly.\n
</string>
+ <string name="provisioning_byod_turn_off_work_icon">Icon when work mode is off</string>
+ <string name="provisioning_byod_turn_off_work_icon_instruction">
+ This test verifies that a status bar icon indicates if work mode is off.\n
+ 1. Press the go button to go to the settings apps, set work mode to off.\n
+ 2. Verify that the status bar shows an icon indicating that work mode is off.\n
+ 3. Set work mode to on.\n
+ 4. Check that the work icon on the status bar is removed.
+ </string>
+ <string name="provisioning_byod_turn_off_work_launcher">Starting work apps when work mode is off</string>
+ <string name="provisioning_byod_turn_off_work_launcher_instruction">
+ This test verifies that work applications cannot be started if work mode is off.\n
+ 1. Press the go button to go to the settings apps, set work mode to off.\n
+ 2. Press home to go to the launcher.\n
+ 3. Verify that work applications are greyed out.\n
+ 4. Tap on a work application.\n
+ 5. Verify that the application does not start.\n
+ 6. Set work mode to on.\n
+ 7. Go to the launcher and verify that you can start a work application.\n
+ </string>
+ <string name="provisioning_byod_turn_off_work_notifications">Notifications when work mode is off</string>
+ <string name="provisioning_byod_turn_off_work_notifications_instruction">
+ This test verifies that work notifications are not shown if work mode is off.\n
+ 1. Press the go button to send a work notification.\n
+ 2. Set work mode to off.\n
+ 3. Check that the work notification has disappeared.\n
+ 4. Set work mode to on.\n
+ </string>
+
<!-- Strings for DeviceOwnerProvisioningTest -->
<string name="provisioning_device_owner">Device Owner Provisioning</string>
<string name="device_owner_provisioning_tests">Device Owner provisioning tests</string>