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:
Create consumer WARP registration
Connect WARP
Iterate over setting and confirming each WARP service mode and tunnel protocol using warp-cli
Confirm appropriate connectivity based on service mode and tunnel protocol
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:
Create consumer WARP registration
Set WARP tunnel protocol, confirm that value reported in settings matches set tunnel protocol value
Set WARP service mode and confirm that mode is set correctly in settings
Connect WARP and confirm appropriate connectivity based on service mode and tunnel protocol
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:
Connect the WARP client
Iterate over setting each WARP service mode and tunnel protocol on dashboard
Verify the WARP service mode and tunnel protocol on test system matches values set on dashboard
Verify that there is appropriate connectivity based on service mode and tunnel protocol
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:
Set Zero Trust WARP tunnel protocol on dashboard
Set Zero Trust WARP service mode on dashboard
Verify the WARP client tunnel protocol matches value set on dashboard
Connect and verify that the WARP client service mode matches value set on dashboard
Verify that there is appropriate connectivity based on service mode and tunnel protocol
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