{ "description": "Test output from `Special:SearchByProperty` for `_num`, `_txt`, `_tel` (#1728, #2009, `wgContLang=en`, `wgLang=en`, skip-on sqlite, postgres)", "setup": [ { "namespace": "SMW_NS_PROPERTY", "page": "Has text", "contents": "[[Has type::Text]]" }, { "namespace": "SMW_NS_PROPERTY", "page": "P-20-25", "contents": "[[Has type::Number]]" }, { "namespace": "SMW_NS_PROPERTY", "page": "Has number", "contents": "[[Has type::Number]] [[Display precision of::2]]" }, { "namespace": "SMW_NS_PROPERTY", "page": "Has telephone number", "contents": "[[Has type::Telephone number]]" }, { "page": "Example/S0001/1", "contents": "[[Has text::S0001]]" }, { "page": "Example/S0001/2", "contents": "[[Has text::foo bar]]" }, { "page": "Example/S0001/3", "contents": "[[Has number::3.555567]]" }, { "page": "Example/S0001/4", "contents": "[[Has number::1.2e-13]]" }, { "page": "Example/S0001/5", "contents": "[[Has telephone number::+1-201-555-0123]]" }, { "page": "Example/S0001/6", "contents": "[[Has text::foo-bar]]" }, { "page": "Example/S0001/7", "contents": "[[Has text::foo-123#&^*%<1?=/->\"']]" }, { "page": "Example/S0001/8", "contents": "[[Has text::foo-123_abc']]" }, { "page": "Example/S0001/9", "contents": "[[Has number::-20]]" }, { "page": "Example/S0001/10", "contents": "[[Has number::-25]]" }, { "page": "Example/S0001/11", "contents": "[[Has text::AA-2000]]" }, { "page": "Example/S0001/12", "contents": "[[Has text::AA-20-2D00]]" }, { "page": "Example/S0001/13", "contents": "[[Has text::AA-20-2500]]" }, { "page": "Example/S0001/14", "contents": "[[Has text::AA-2000 with_&]]" }, { "page": "Example/S0001/15", "contents": "[[P-20-25::-25]]" } ], "tests": [ { "type": "special", "about": "#0 search for user-defined property to contain", "special-page": { "page": "SearchByProperty", "query-parameters": "", "request-parameters": { "property": "Has_text" } }, "assert-output": { "to-contain": [ "