44 lines
1.5 KiB
JSON
44 lines
1.5 KiB
JSON
{
|
|
"description": "Test tooltip with error output on `_PVUC` (`smwgDVFeatures`, `wgContLang=en`, `wgLang=en`)",
|
|
"setup": [
|
|
{
|
|
"namespace": "SMW_NS_PROPERTY",
|
|
"page": "Has Url",
|
|
"contents": "[[Has type::URL]] [[Has uniqueness constraint::true]]"
|
|
},
|
|
{
|
|
"page": "Test/P0110/1",
|
|
"contents": "[[Has Url::http://example.org/Foo]]"
|
|
},
|
|
{
|
|
"page": "Test/P0110/2",
|
|
"contents": "[[Has Url::http://example.org/Foo]]"
|
|
}
|
|
],
|
|
"tests": [
|
|
{
|
|
"type": "parser",
|
|
"about": "#0 error tooltip, title does not include <a> elements",
|
|
"subject": "Test/P0110/2",
|
|
"assert-output": {
|
|
"to-contain": [
|
|
"title=\"A unique_value_constraint constraint is assigned to the "Has Url" property which only permits unique value assignments and the .*http://example.org/Foo.* value annotation was already found to be annotated in the "Test/P0110/1" subject.\"",
|
|
"<span class=\"smwttcontent\">A <code>unique_value_constraint</code> constraint is assigned to the \"<a href=.*>Has Url</a>\" property which only permits unique value assignments and the <i><a rel=\"nofollow\" class=\"external free\" href=\"http://example.org/Foo\">http://example.org/Foo</a></i> value annotation was already found to be annotated in the \"Test/P0110/1\" subject.</span>"
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"settings": {
|
|
"smwgDVFeatures": [
|
|
"SMW_DV_PVUC"
|
|
],
|
|
"wgContLang": "en",
|
|
"wgLang": "en"
|
|
},
|
|
"meta": {
|
|
"version": "2",
|
|
"is-incomplete": false,
|
|
"debug": false
|
|
}
|
|
}
|