Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wifi 13484 #1010

Open
wants to merge 22 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
4a81c74
Added/Modified Allure suite names.
jitendracandela Mar 21, 2024
1fc55a3
Merge branch 'master' of https://github.com/Telecominfraproject/wlan-…
jitendracandela Mar 22, 2024
854767e
Added Description and Title to test_master_config testcases.
jitendracandela Mar 22, 2024
0ec8616
Merge branch 'master' of https://github.com/Telecominfraproject/wlan-…
jitendracandela Mar 26, 2024
a0724e5
Added Description for Downlink MU-MIMO Tests and corrected suite for …
jitendracandela Mar 26, 2024
3ae8cbe
Added Description to Advanced Captive Portal Tests.
jitendracandela Mar 28, 2024
03cb466
Merge branch 'master' of https://github.com/Telecominfraproject/wlan-…
jitendracandela Mar 28, 2024
c1ff809
Added/Modified Description in the allure report for DFS Tests.
jitendracandela Mar 31, 2024
504a59d
Added unique marker and description to endurance_test/bridge/test_ap_…
jitendracandela Mar 31, 2024
04b0f8f
Added/Modified Description and Markers to Strict Forwarding Testcases.
jitendracandela Apr 1, 2024
284668f
Merge branch 'master' of https://github.com/Telecominfraproject/wlan-…
jitendracandela Apr 2, 2024
dc48922
Added/Modified description for Dataplane Tests.
jitendracandela Apr 3, 2024
4419da5
Merge branch 'master' of https://github.com/Telecominfraproject/wlan-…
jitendracandela Apr 10, 2024
95d2ecd
Add/Modify: Description and Markers in Client Scale Tests.
jitendracandela Apr 10, 2024
ad07798
Add/Fix: Unique Markers to Multi-PSK Tests.
jitendracandela Apr 11, 2024
c973c0c
Modify: Description and unique markers for Multi-VLAN Testplan.
jitendracandela Apr 11, 2024
9e6d4b0
Add/Modify: Markers in test_connectivity testcases.
jitendracandela Apr 11, 2024
680278d
Merge branch 'master' of https://github.com/Telecominfraproject/wlan-…
jitendracandela Apr 19, 2024
028fc37
Added description and markers to Dual band performance tests.
jitendracandela Apr 19, 2024
e22c6b9
Added description and markers to Dynamic vlan tests.
jitendracandela Apr 19, 2024
b51825a
Removed: Multi-Station Througput Tests and Throughput Benchmark Tests.
jitendracandela Apr 22, 2024
a36f1b1
Restored Multi Station Throughput tests and Throughput Benchmark test…
jitendracandela Apr 29, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 22 additions & 7 deletions tests/access_point_tests/master_config_tests/test_master_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@

@allure.feature("Master Configurations Test")
@allure.parent_suite("Master Configuration")
@allure.suite(suite_name="Master Configurations Test")
@allure.sub_suite(sub_suite_name="Test Master Configurations with Various Services")
class TestMasterConfig(object):
"""
Expand All @@ -49,10 +50,15 @@ class TestMasterConfig(object):
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-12752", name="WIFI-12752")
@pytest.mark.wpa_personal
@pytest.mark.master_config1
@allure.title("Master Config-One")
def test_master_config_one(self, get_test_library, check_connectivity, get_target_object):
"""
Master Config One
pytest -m "master_config1"
Combination of all master configurations together covers all Openwifi features.
All features are divided into three set of config files.
Verification of these 3 master configurations needs to be validated with every RC image,
that means all ssids are working fine with every image or not.

unique marker: master_config1
"""
for ap in range(len(get_target_object.device_under_tests_info)):
serial_number = get_target_object.device_under_tests_info[ap]['identifier']
Expand Down Expand Up @@ -104,10 +110,15 @@ def test_master_config_one(self, get_test_library, check_connectivity, get_targe
@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-12753", name="WIFI-12753")
@pytest.mark.wpa_personal
@pytest.mark.master_config2
@allure.title("Master Config-Two")
def test_master_config_two(self, get_test_library, check_connectivity, get_target_object):
"""
Master Config Two
pytest -m "master_config2"
Combination of all master configurations together covers all Openwifi features.
All features are divided into three set of config files.
Verification of these 3 master configurations needs to be validated with every RC image,
that means all ssids are working fine with every image or not.

unique marker: master_config2
"""
for ap in range(len(get_target_object.device_under_tests_info)):
serial_number = get_target_object.device_under_tests_info[ap]['identifier']
Expand Down Expand Up @@ -156,14 +167,18 @@ def test_master_config_two(self, get_test_library, check_connectivity, get_targe

assert True


@allure.testcase(url="https://telecominfraproject.atlassian.net/browse/WIFI-12753", name="WIFI-12753")
@pytest.mark.wpa_personal
@pytest.mark.master_config3
@allure.title("Master Config-Three")
def test_master_config_three(self, get_test_library, check_connectivity, get_target_object):
"""
Master Config Three
pytest -m "master_config3"
Combination of all master configurations together covers all Openwifi features.
All features are divided into three set of config files.
Verification of these 3 master configurations needs to be validated with every RC image,
that means all ssids are working fine with every image or not.

unique marker: master_config3
"""
for ap in range(len(get_target_object.device_under_tests_info)):
serial_number = get_target_object.device_under_tests_info[ap]['identifier']
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
@pytest.mark.ow_analytics_api_tests
@allure.parent_suite("OpenWifi SDK Tests")
@allure.suite("OpenWifi Analytics Service Tests")
@allure.sub_suite("Ucentral Analytic Service Tests")
class TestUcentralAnalyticService(object):
boards, clients = [], []
board_id, entity_id = "", "aefb7254-571f-42c3-be51-39a2b1441234"
Expand Down
4 changes: 3 additions & 1 deletion tests/controller_tests/ucentral_gateway/test_fms_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
@pytest.mark.owfms_api_tests
@allure.parent_suite("SDK Tests")
@allure.suite("FMS Service Tests")
@allure.sub_suite("Ucentral FMS Service Tests")
class TestUcentralFMSService(object):

@pytest.mark.fms_list_of_firmwares
Expand Down Expand Up @@ -149,7 +150,8 @@ def test_fms_system_configuration_items(self, get_target_object, get_testbed_det
@pytest.mark.firmware_upgrade_downgrade
@pytest.mark.ow_regression_lf
@allure.parent_suite("Firmware Tests")
@allure.suite("Firmware Upgrade/Downgrade Tests")
@allure.suite("Upgrade/Downgrade Tests")
@allure.sub_suite("Firmware Upgrade/Downgrade Tests")
class TestFirmwareUpgradeDowngrade(object):
@pytest.mark.upgrade_downgrade_test
@allure.title("Firmware Downgrade and Upgrade test")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
@pytest.mark.owgw_api_tests
@allure.parent_suite("SDK Tests")
@allure.suite("Gateway Service Tests")
@allure.sub_suite("UCentral Gateway Service Tests")
class TestUcentralGatewayService(object):
"""
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
@pytest.mark.owsec_api_tests
@allure.parent_suite("SDK Tests")
@allure.suite("Security Service Tests")
@allure.sub_suite("Ucentral Security Service Tests")
class TestUcentralSecService(object):

@allure.title("Get System Endpoints")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,15 @@ class TestMuMimoBridge(object):
@allure.title("Test for Downlink MU-MIMO")
def test_mu_mimo_open_bridge_5g(self, get_test_library, setup_configuration, check_connectivity):
"""
Downlink MU-MIMO Test: Bridge Mode
pytest -m mu_mimo_performance_tests and bridge and open and fiveg
Test Description:
Downlink MU-MIMO Performance Test intends to verify the performance of Wi-Fi device when Downlink MU-MIMO
is applied. This best represents a typical deployment, where stations may only support 1x1 or 2x2 RF chain
configurations. The test is only applicable to the Wi-Fi device supporting the 802.11ac/ax.

Marker:
mu_mimo_performance_tests and bridge and open and fiveg

Note: Please refer to the PDF report for the Test Procedure, Pass/Fail Criteria, and Candela Score.
"""
profile_data = {"ssid_name": "ssid_wpa2_5g", "appliedRadios": ["5G"], "security_key": "something"}
ssid_name = profile_data["ssid_name"]
Expand Down
11 changes: 9 additions & 2 deletions tests/e2e/advanced/downlink_mu_mimo_test/open/test_nat_mode.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,15 @@ class TestMuMimoNat(object):
@allure.title("Test for Downlink MU-MIMO")
def test_mu_mimo_open_nat_5g(self, get_test_library, setup_configuration, check_connectivity):
"""
Downlink MU-MIMO Test: Nat Mode
pytest -m mu_mimo_performance_tests and nat and open and fiveg
Test Description:
Downlink MU-MIMO Performance Test intends to verify the performance of Wi-Fi device when Downlink MU-MIMO
is applied. This best represents a typical deployment, where stations may only support 1x1 or 2x2 RF chain
configurations. The test is only applicable to the Wi-Fi device supporting the 802.11ac/ax.

Marker:
mu_mimo_performance_tests and nat and open and fiveg

Note: Please refer to the PDF report for the Test Procedure, Pass/Fail Criteria, and Candela Score.
"""
profile_data = {"ssid_name": "ssid_wpa2_5g", "appliedRadios": ["5G"], "security_key": "something"}
ssid_name = profile_data["ssid_name"]
Expand Down
13 changes: 10 additions & 3 deletions tests/e2e/advanced/downlink_mu_mimo_test/open/test_vlan_mode.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,16 @@ class TestMuMimoNat(object):
@allure.title("Test for Downlink MU-MIMO")
def test_mu_mimo_open_vlan_5g(self, get_test_library, setup_configuration, check_connectivity):
"""
Downlink MU-MIMO Test: VLAN Mode
pytest -m mu_mimo_performance_tests and vlan and open and fiveg
"""
Test Description:
Downlink MU-MIMO Performance Test intends to verify the performance of Wi-Fi device when Downlink MU-MIMO
is applied. This best represents a typical deployment, where stations may only support 1x1 or 2x2 RF chain
configurations. The test is only applicable to the Wi-Fi device supporting the 802.11ac/ax.

Marker:
mu_mimo_performance_tests and vlan and open and fiveg

Note: Please refer to the PDF report for the Test Procedure, Pass/Fail Criteria, and Candela Score.
"""
profile_data = {"ssid_name": "ssid_wpa2_5g", "appliedRadios": ["5G"], "security_key": "something"}
ssid_name = profile_data["ssid_name"]
security_key = "[BLANK]"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,15 @@ class TestMuMimoBridge(object):
@allure.title("Test for Downlink MU-MIMO")
def test_mu_mimo_wpa2_personal_bridge_5g(self, get_test_library, setup_configuration, check_connectivity):
"""
Downlink MU-MIMO Test: Bridge Mode
pytest -m mu_mimo_performance_tests and bridge and wpa2_personal and fiveg
Test Description:
Downlink MU-MIMO Performance Test intends to verify the performance of Wi-Fi device when Downlink MU-MIMO
is applied. This best represents a typical deployment, where stations may only support 1x1 or 2x2 RF chain
configurations. The test is only applicable to the Wi-Fi device supporting the 802.11ac/ax.

Marker:
mu_mimo_performance_tests and bridge and wpa2_personal and fiveg

Note: Please refer to the PDF report for the Test Procedure, Pass/Fail Criteria, and Candela Score.
"""
profile_data = {"ssid_name": "ssid_wpa2_5g", "appliedRadios": ["5G"], "security_key": "something"}
ssid_name = profile_data["ssid_name"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,15 @@ class TestMuMimoNat(object):
@allure.title("Test for Downlink MU-MIMO")
def test_mu_mimo_wpa2_personal_nat_5g(self, get_test_library, setup_configuration, check_connectivity):
"""
Downlink MU-MIMO Test: Nat Mode
pytest -m mu_mimo_performance_tests and nat and wpa2_personal and fiveg
Test Description:
Downlink MU-MIMO Performance Test intends to verify the performance of Wi-Fi device when Downlink MU-MIMO
is applied. This best represents a typical deployment, where stations may only support 1x1 or 2x2 RF chain
configurations. The test is only applicable to the Wi-Fi device supporting the 802.11ac/ax.

Marker:
mu_mimo_performance_tests and nat and wpa2_personal and fiveg

Note: Please refer to the PDF report for the Test Procedure, Pass/Fail Criteria, and Candela Score.
"""
profile_data = {"ssid_name": "ssid_wpa2_5g", "appliedRadios": ["5G"], "security_key": "something"}
ssid_name = profile_data["ssid_name"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,16 @@ class TestMuMimoNat(object):
@allure.title("Test for Downlink MU-MIMO")
def test_mu_mimo_wpa2_personal_vlan_5g(self, get_test_library, setup_configuration, check_connectivity):
"""
Downlink MU-MIMO Test: VLAN Mode
pytest -m mu_mimo_performance_tests and vlan and wpa2_personal and fiveg
"""
Test Description:
Downlink MU-MIMO Performance Test intends to verify the performance of Wi-Fi device when Downlink MU-MIMO
is applied. This best represents a typical deployment, where stations may only support 1x1 or 2x2 RF chain
configurations. The test is only applicable to the Wi-Fi device supporting the 802.11ac/ax.

Marker:
mu_mimo_performance_tests and vlan and wpa2_personal and fiveg

Note: Please refer to the PDF report for the Test Procedure, Pass/Fail Criteria, and Candela Score.
"""
profile_data = {"ssid_name": "ssid_wpa2_5g", "appliedRadios": ["5G"], "security_key": "something"}
ssid_name = profile_data["ssid_name"]
security_key = profile_data["security_key"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,15 @@ class TestMuMimoBridge(object):
@allure.title("Test for Downlink MU-MIMO")
def test_mu_mimo_wpa3_personal_bridge_5g(self, get_test_library, setup_configuration, check_connectivity):
"""
Downlink MU-MIMO Test: Bridge Mode
pytest -m mu_mimo_performance_tests and bridge and wpa3_personal and fiveg
Test Description:
Downlink MU-MIMO Performance Test intends to verify the performance of Wi-Fi device when Downlink MU-MIMO
is applied. This best represents a typical deployment, where stations may only support 1x1 or 2x2 RF chain
configurations. The test is only applicable to the Wi-Fi device supporting the 802.11ac/ax.

Marker:
mu_mimo_performance_tests and bridge and wpa3_personal and fiveg

Note: Please refer to the PDF report for the Test Procedure, Pass/Fail Criteria, and Candela Score.
"""
profile_data = {"ssid_name": "ssid_wpa2_5g", "appliedRadios": ["5G"], "security_key": "something"}
ssid_name = profile_data["ssid_name"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
scope="class"
)
@allure.parent_suite("Downlink MU_MIMO Tests")
@allure.suite("WPA Personal Security")
@allure.suite("WPA3 Personal Security")
@allure.sub_suite("NAT Mode")
@allure.feature("TR-398 Issue 2")
@pytest.mark.usefixtures("setup_configuration")
Expand All @@ -45,8 +45,15 @@ class TestMuMimoNat(object):
@allure.title("Test for Downlink MU-MIMO")
def test_mu_mimo_wpa3_personal_nat_5g(self, get_test_library, setup_configuration, check_connectivity):
"""
Downlink MU-MIMO Test: Nat Mode
pytest -m mu_mimo_performance_tests and nat and wpa3_personal and fiveg
Test Description:
Downlink MU-MIMO Performance Test intends to verify the performance of Wi-Fi device when Downlink MU-MIMO
is applied. This best represents a typical deployment, where stations may only support 1x1 or 2x2 RF chain
configurations. The test is only applicable to the Wi-Fi device supporting the 802.11ac/ax.

Marker:
mu_mimo_performance_tests and nat and wpa3_personal and fiveg

Note: Please refer to the PDF report for the Test Procedure, Pass/Fail Criteria, and Candela Score.
"""
profile_data = {"ssid_name": "ssid_wpa2_5g", "appliedRadios": ["5G"], "security_key": "something"}
ssid_name = profile_data["ssid_name"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,16 @@ class TestMuMimoNat(object):
@allure.title("Test for Downlink MU-MIMO")
def test_mu_mimo_wpa3_personal_vlan_5g(self, get_test_library, setup_configuration, check_connectivity):
"""
Downlink MU-MIMO Test: VLAN Mode
pytest -m mu_mimo_performance_tests and vlan and wpa3_personal and fiveg
"""
Test Description:
Downlink MU-MIMO Performance Test intends to verify the performance of Wi-Fi device when Downlink MU-MIMO
is applied. This best represents a typical deployment, where stations may only support 1x1 or 2x2 RF chain
configurations. The test is only applicable to the Wi-Fi device supporting the 802.11ac/ax.

Marker:
mu_mimo_performance_tests and vlan and wpa3_personal and fiveg

Note: Please refer to the PDF report for the Test Procedure, Pass/Fail Criteria, and Candela Score.
"""
profile_data = {"ssid_name": "ssid_wpa2_5g", "appliedRadios": ["5G"], "security_key": "something"}
ssid_name = profile_data["ssid_name"]
security_key = profile_data["security_key"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,15 @@ class TestMuMimoBridge(object):
@allure.title("Test for Downlink MU-MIMO")
def test_mu_mimo_wpa_personal_bridge_5g(self, get_test_library, setup_configuration, check_connectivity):
"""
Downlink MU-MIMO Test: Bridge Mode
pytest -m mu_mimo_performance_tests and bridge and wpa_personal and fiveg
Test Description:
Downlink MU-MIMO Performance Test intends to verify the performance of Wi-Fi device when Downlink MU-MIMO
is applied. This best represents a typical deployment, where stations may only support 1x1 or 2x2 RF chain
configurations. The test is only applicable to the Wi-Fi device supporting the 802.11ac/ax.

Marker:
mu_mimo_performance_tests and bridge and wpa_personal and fiveg

Note: Please refer to the PDF report for the Test Procedure, Pass/Fail Criteria, and Candela Score.
"""
profile_data = {"ssid_name": "ssid_wpa2_5g", "appliedRadios": ["5G"], "security_key": "something"}
ssid_name = profile_data["ssid_name"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,15 @@ class TestMuMimoNat(object):
@allure.title("Test for Downlink MU-MIMO")
def test_mu_mimo_wpa_personal_nat_5g(self, get_test_library, setup_configuration, check_connectivity):
"""
Downlink MU-MIMO Test: Nat Mode
pytest -m mu_mimo_performance_tests and nat and wpa_personal and fiveg
Test Description:
Downlink MU-MIMO Performance Test intends to verify the performance of Wi-Fi device when Downlink MU-MIMO
is applied. This best represents a typical deployment, where stations may only support 1x1 or 2x2 RF chain
configurations. The test is only applicable to the Wi-Fi device supporting the 802.11ac/ax.

Marker:
mu_mimo_performance_tests and nat and wpa_personal and fiveg

Note: Please refer to the PDF report for the Test Procedure, Pass/Fail Criteria, and Candela Score.
"""
profile_data = {"ssid_name": "ssid_wpa2_5g", "appliedRadios": ["5G"], "security_key": "something"}
ssid_name = profile_data["ssid_name"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,16 @@ class TestMuMimoNat(object):
@allure.title("Test for Downlink MU-MIMO")
def test_mu_mimo_wpa_personal_vlan_5g(self, get_test_library, setup_configuration, check_connectivity):
"""
Downlink MU-MIMO Test: VLAN Mode
pytest -m mu_mimo_performance_tests and vlan and wpa_personal and fiveg
"""
Test Description:
Downlink MU-MIMO Performance Test intends to verify the performance of Wi-Fi device when Downlink MU-MIMO
is applied. This best represents a typical deployment, where stations may only support 1x1 or 2x2 RF chain
configurations. The test is only applicable to the Wi-Fi device supporting the 802.11ac/ax.

Marker:
mu_mimo_performance_tests and vlan and wpa_personal and fiveg

Note: Please refer to the PDF report for the Test Procedure, Pass/Fail Criteria, and Candela Score.
"""
profile_data = {"ssid_name": "ssid_wpa2_5g", "appliedRadios": ["5G"], "security_key": "something"}
ssid_name = profile_data["ssid_name"]
security_key = profile_data["security_key"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@


@allure.feature("Multi-Station Performance")
@allure.parent_suite("Multi-Station Performance Test")
@allure.suite(suite_name="BRIDGE Mode")
@allure.sub_suite(sub_suite_name="WPA2 Personal")
@allure.parent_suite("Multi Station Performance Test")
@allure.suite(suite_name="WPA2 Personal Security")
@allure.sub_suite(sub_suite_name="Bridge Mode")
@pytest.mark.parametrize(
'setup_configuration',
[setup_params_general],
Expand Down Expand Up @@ -103,3 +103,4 @@ def test_multistaperf_ax_bridge(self, get_test_library, setup_configuration, che
assert True
else:
assert False, description

Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

pytestmark = [pytest.mark.advance, pytest.mark.rate_vs_range, pytest.mark.bridge]


setup_params_general = {
"mode": "BRIDGE",
"ssid_modes": {
Expand All @@ -37,11 +38,10 @@
"radius": False
}


@allure.feature("RATE VS RANGE")
@allure.parent_suite("Rate vs Range Test")
@allure.suite(suite_name="BRIDGE Mode")
@allure.sub_suite(sub_suite_name="WPA2 Personal")
@allure.feature("Rate v/s Range")
@allure.parent_suite("Rate v/s Range Test")
@allure.suite(suite_name="WPA2 Personal Security")
@allure.sub_suite(sub_suite_name="Bridge Mode")
@pytest.mark.parametrize(
'setup_configuration',
[setup_params_general],
Expand Down
Loading
Loading