e2e_tests.test_warp_mode package

Submodules

e2e_tests.test_warp_mode.test_warp_mode module

e2e_tests.test_warp_mode.test_warp_mode.test_consumer_warp_protocols_mode_switching(warp: WarpActions)

Test that consumer WARP can switch service mode and tunnel protocol through warp-cli

Steps:
  1. Create consumer WARP registration

  2. Connect WARP

  3. Iterate over setting and confirming each WARP service mode and tunnel protocol using warp-cli

  4. Confirm appropriate connectivity based on service mode and tunnel protocol

  5. Verify successful disconnection and connectivity

e2e_tests.test_warp_mode.test_warp_mode.test_consumer_warp_protocols_modes(warp: WarpActions, warp_mode: WarpModes, warp_protocol: WarpProtocols)

Test that consumer WARP can set service mode and tunnel protocol through warp-cli

Steps:
  1. Create consumer WARP registration

  2. Set WARP tunnel protocol, confirm that value reported in settings matches set tunnel protocol value

  3. Set WARP service mode and confirm that mode is set correctly in settings

  4. Connect WARP and confirm appropriate connectivity based on service mode and tunnel protocol

  5. Verify successful disconnection and connectivity

e2e_tests.test_warp_mode.test_warp_mode.test_zero_trust_warp_protocols_mode_switching(single_device_profile: DeviceProfileModel, warp: WarpActions)

Test switching between Zero Trust WARP service modes and tunnel protocols on the dashboard gets applied to the local WARP client.

Steps:
  1. Connect the WARP client

  2. Iterate over setting each WARP service mode and tunnel protocol on dashboard

  3. Verify the WARP service mode and tunnel protocol on test system matches values set on dashboard

  4. Verify that there is appropriate connectivity based on service mode and tunnel protocol

  5. Verify successful disconnection and connectivity

e2e_tests.test_warp_mode.test_warp_mode.test_zero_trust_warp_protocols_modes(single_device_profile: DeviceProfileModel, warp: WarpActions, zt_dashboard_mode: DashboardWarpModes, warp_mode: WarpModes, warp_protocol: WarpProtocols)

Test setting each Zero Trust WARP service mode and tunnel protocol on the dashboard gets applied to the local WARP client.

Steps:
  1. Set Zero Trust WARP tunnel protocol on dashboard

  2. Set Zero Trust WARP service mode on dashboard

  3. Verify the WARP client tunnel protocol matches value set on dashboard

  4. Connect and verify that the WARP client service mode matches value set on dashboard

  5. Verify that there is appropriate connectivity based on service mode and tunnel protocol

  6. Verify successful disconnection and connectivity

e2e_tests.test_warp_mode.test_warp_mode.warn_for_tunnel_only(zt_dashboard_mode: DashboardWarpModes) bool

Log occurrences of WARP Tunnel Only service mode defect.

Parameters:

zt_dashboard_mode (DashboardWarpModes) – Zero Trust WARP service mode

Returns:

True if the current WARP service mode is Tunnely Only

Return type:

bool