Skip to content

Latest commit

 

History

History
94 lines (74 loc) · 4.24 KB

TESTS.md

File metadata and controls

94 lines (74 loc) · 4.24 KB

Slider Field – Filtering Tests

Filter Modes

  1. is
  2. less than
  3. greater than
  4. between

Sample Data – Single Values

  1. 0
  2. 1
  3. 9
  4. 99
  5. 100

Tests – Single Values

Performed with Slider Field 1.3 and Symphony CMS 2.3.1, 2.4.0, 2.5.2 (DF only) and 2.6.2 (DF and PF)
Nr. Filter Mode Filter Value Expected Result DF PF
1.1 is 0 1
1.2 is 1 2
1.3 is 99 4
1.4 is 99, 100 4, 5
1.5 is 99 + 100
2.1 less than less than 0
2.2 less than less than 10 1, 2, 3
2.3 less than < 100 1, 2, 3, 4
3.1 greater than greater than 0 2, 3, 4, 5
3.2 greater than greater than 10 4, 5
3.3 greater than > 100
3.4 greater than + less than > 1 + < 100 3, 4
4.1 between 0 to 1 1, 2
4.2 between 0 to 10 1, 2, 3
4.3 between 0 to 100 1, 2, 3, 4, 5
4.3 between 1-99 2, 3, 4
4.4 between 0-1, 99-100 1, 2, 4, 5
DF = Datasource Filtering / PF = Publish Filtering

Sample Data – Value Range

  1. 0-1
  2. 1-10
  3. 9-90
  4. 50-100
  5. 100-100

Tests – Value Range

Performed with Slider Field 1.3 and Symphony CMS 2.3.1, 2.4.0, 2.5.2 (DF only) and 2.6.2 (DF and PF)
Nr. Filter Mode Filter Value Expected Result DF PF
1.1 is 0 1
1.2 is 1 1, 2
1.3 is 99 4
1.4 is 99, 100 4, 5
1.5 is 99 + 100 4
2.1 less than less than 0
2.2 less than less than 10 1
2.3 less than < 100 1, 2, 3
3.1 greater than greater than 0 2, 3, 4, 5
3.2 greater than greater than 10 4, 5
3.3 greater than > 100
3.4 greater than + less than > 1 + < 100 3
4.1 between 0 to 1 1
4.2 between 0 to 10
4.3 between 9 to 10 2, 3
4.4 between 50-75 3, 4
4.4 between 0-100
4.5 between 0-1, 50-75 1, 3, 4
4.6 between 50-75 + 80-90 3, 4
DF = Datasource Filtering / PF = Publish Filtering