Test:Investor portfolio test: Difference between revisions
Created page with "{{Investor/Portfolio}} = System Status Test Suite = This suite verifies that SMW data is housed on the '''Subpage''' (Portfolio) but points to this '''Main Page'''. == 1. Data Existence Check == Does the data exist in the wiki database? * '''Expected:''' 2 rows (SpaceX, Stripe). * '''Actual:''' {{#ask: [[Is part of investor::{{PAGENAME}}]] | format=count }} == 2. Physical Storage Location Verification == Where are the subobjects physically stored? We want them on the..." |
No edit summary |
||
| Line 29: | Line 29: | ||
Even though the data lives on the subpage, does the property `Is part of investor` correctly point to the Main Page? | Even though the data lives on the subpage, does the property `Is part of investor` correctly point to the Main Page? | ||
* '''Target Page:''' {{PAGENAME}} | * '''Target Page:''' {{PAGENAME}} | ||
* '''Property Value:''' {{#ask: [[-Has subobject::{{PAGENAME}}/Portfolio]] |?Is part of investor | * '''Property Value:''' {{#ask: [[-Has subobject::{{PAGENAME}}/Portfolio]] |?Is part of investor#- |mainlabel=- |limit=1 |searchlabel= }} | ||
* '''Match Status:''' {{#ifeq:{{#ask: [[-Has subobject::{{PAGENAME}}/Portfolio]] |?Is part of investor | * '''Match Status:''' {{#ifeq:{{#ask: [[-Has subobject::{{PAGENAME}}/Portfolio]] |?Is part of investor#- |mainlabel=- |limit=1 |searchlabel= }}|{{PAGENAME}}| <span style="color:green; font-weight:bold">PASS</span> | <span style="color:red; font-weight:bold">FAIL (Points to wrong page)</span> }} | ||
== 4. Example Queries == | == 4. Example Queries == | ||