Closed gsanchietti closed 3 months ago
Testing image: 8-23.05.3-ns.1.0.1-10-g168db29
QA
Install the test image
configure a multiwan configuration for test purposes (two WAN and one LAN)
test case 1 create a default policy create a policy edit the default policy, the label must be disabled create a rule edit the rule, the label must be disabled
test case 2 when you have an error form, the cancel must have cleaned the form when you have filled input fields, the cancel must have cleaned the form
test case 3 Create a rule with IP destinations with ports and let at the end of the input box some trailing spaces, the validation must not fail and the trailing spaces must be removed (label, IP, port)
Create a policy with a trailing space in the name, the validation must not fail and the trailing spaces must be removed
echo '{}' | /usr/libexec/rpcd/ns.mwan call index_rules
echo '{}' | /usr/libexec/rpcd/ns.mwan call index_policies
test case 4 Create a rule with IP destinations with ports try to create rule with ports : 25,26,27 try to create rule with ports : 25-27 try to create rule with single port : 25 a tooltip must be present to explain what to use an error validation must raise if it is not something expected
test case 5 every strings are translated in english
port range is stored in the database with a hyphen (-) instead of colon (:) as requested.
Testing image: 23.05.3-ns.1.0.1-15-g10de678
now it works as expected.
Proposed changes:
Update Validator:
Add Information Tooltip:
Documentation Update:
Fix Input Field Issue:
Add Form Validation:
Clean Forms on Exit:
Improve Translation Handling: