{ "description": "Test output from `Special:SearchByProperty` to show all values for a property (#3531)", "setup": [ { "namespace": "SMW_NS_PROPERTY", "page": "Has vtext", "contents": "[[Has type::Text]]" }, { "page": "Test/Special-search-by-property-0003/1", "contents": "[[Has vtext::123]] [[Has vtext::456]] [[Has vtext::abc]] [[Has vtext::def]] [[Has vtext::1001]] [[Has vtext::42]]" }, { "page": "Test/Special-search-by-property-0003/2", "contents": "[[Has vtext::123]] [[Has vtext::456]] [[Has vtext::abc]] [[Has vtext::def]] [[Has vtext::1001]] [[Has vtext::42]]" }, { "page": "Test/Special-search-by-property-0003/3", "contents": "[[Has vtext::123]] [[Has vtext::456]] [[Has vtext::abc]] [[Has vtext::def]] [[Has vtext::1001]] [[Has vtext::42]]" }, { "page": "Test/Special-search-by-property-0003/4", "contents": "[[Has vtext::123]] [[Has vtext::456]] [[Has vtext::abc]] [[Has vtext::def]] [[Has vtext::1001]] [[Has vtext::42]]" } ], "tests": [ { "type": "special", "about": "#0 (find all values for property `Has vtext`)", "special-page": { "page": "SearchByProperty", "query-parameters": "", "request-parameters": { "limit": 6, "property": "Has vtext" } }, "assert-output": { "to-contain": [ "
  • 1001.*
  • ", "
  • 123.*
  • ", "
  • 42.*
  • ", "
  • 456.*
  • ", "
  • abc.*
  • ", "
  • def.*" ] } } ], "settings": { "wgContLang": "en", "wgLanguageCode": "en" }, "meta": { "version": "2", "is-incomplete": false, "debug": false } }