e2e_tests.test_device_profiles package¶
Submodules¶
e2e_tests.test_device_profiles.test_device_profile_settings module¶
- e2e_tests.test_device_profiles.test_device_profile_settings.test_allow_mode_switch(single_device_profile: DeviceProfileModel, warp: WarpActions)¶
Test the Zero Trust dashboard “Mode switch”.
- Steps:
Enroll test system in organization and create a device profile for the system
Connect the WARP client
Set switch to disallow user from manually switching between Gateway with WARP and Gateway with DNS
Verify setting is applied to local client
Verify user is not allowed to switch WARP client service mode
Set switch to allow user to manually switch between Gateway with WARP and Gateway with DNS
Verify setting is applied to local client
Verify user is allowed to switch WARP client service mode to Gateway with DNS
Verify user is not allowed to switch to any other WARP client service modes, except Gateway with WARP
- e2e_tests.test_device_profiles.test_device_profile_settings.test_allow_user_to_disconnect(single_device_profile: DeviceProfileModel, warp: WarpActions)¶
Test the Zero Trust dashboard “Lock WARP switch”.
- Steps:
Enroll test system in organization and create a device profile for the system
Connect the WARP client
Set switch to prevent users from turning off the WARP switch and disconnecting the client
Verify setting is applied to local client
Verify user is unable to disconnect the client
Disable switch to prevent users from turning off the WARP switch and disconnecting the client
Verify setting is applied to local client
Verify user is able to disconnect the client
- e2e_tests.test_device_profiles.test_device_profile_settings.test_allow_user_to_leave_switch(single_device_profile: DeviceProfileModel, waft_restricted_user: Waft)¶
Test the Zero Trust dashboard “Allow device to leave organization” switch.
- Steps:
Enroll test system in organization and create a device profile for the system
Connect the WARP client
Set switch to disallow user from leaving organization
Verify user is unable to leave organization, unless executed with elevated system privileges
Set switch to allow user to leave organization
Verify user is able to leave organization by deleting the current registration
Verify WARP is not registered