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:
  1. Enroll test system in organization and create a device profile for the system

  2. Connect the WARP client

  3. Set switch to disallow user from manually switching between Gateway with WARP and Gateway with DNS

  4. Verify setting is applied to local client

  5. Verify user is not allowed to switch WARP client service mode

  6. Set switch to allow user to manually switch between Gateway with WARP and Gateway with DNS

  7. Verify setting is applied to local client

  8. Verify user is allowed to switch WARP client service mode to Gateway with DNS

  9. 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:
  1. Enroll test system in organization and create a device profile for the system

  2. Connect the WARP client

  3. Set switch to prevent users from turning off the WARP switch and disconnecting the client

  4. Verify setting is applied to local client

  5. Verify user is unable to disconnect the client

  6. Disable switch to prevent users from turning off the WARP switch and disconnecting the client

  7. Verify setting is applied to local client

  8. 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:
  1. Enroll test system in organization and create a device profile for the system

  2. Connect the WARP client

  3. Set switch to disallow user from leaving organization

  4. Verify user is unable to leave organization, unless executed with elevated system privileges

  5. Set switch to allow user to leave organization

  6. Verify user is able to leave organization by deleting the current registration

  7. Verify WARP is not registered