Test:Funding history test: Difference between revisions

Created page with "= Visual Test: The Table = Here is the funding history table. It should look like a standard wikitable and be collapsible. {{Startup/Funding history table | investors = {{Startup/Funding entry | investor = Sequoia Capital | round = Seed }} {{Startup/Funding entry | investor = Andreessen Horowitz | round = Series A }} {{Startup/Funding entry | investor = Khosla Ventures | round = Series B }} }} = Data Test: The Query = If the subobjects are working, the table below shou..."
 
No edit summary
Line 1: Line 1:
= Visual Test: The Table =
= Visual Test: The Wrapper =
Here is the funding history table. It should look like a standard wikitable and be collapsible.
Below should be the Funding History table, automatically transcluded from the subpage. You should also see an "Edit Funding History" button.


{{Startup/Funding history table
{{Funding history}}
| investors =
{{Startup/Funding entry | investor = Sequoia Capital | round = Seed }}
{{Startup/Funding entry | investor = Andreessen Horowitz | round = Series A }}
{{Startup/Funding entry | investor = Khosla Ventures | round = Series B }}
}}


= Data Test: The Query =
= Data Test: Context Verification =
If the subobjects are working, the table below should list the 3 investors and rounds defined above.
The query below tests if the sub-objects created on the sub-page are correctly linked to ''this'' page (Test:Funding_Example) via the "Is part of startup" property.


{{#ask: [[Is part of startup::{{PAGENAME}}]]
{{#ask: [[Is part of startup::{{PAGENAME}}]]
Line 17: Line 12:
  |format=table
  |format=table
  |mainlabel=-
  |mainlabel=-
|default=❌ '''FAIL:''' No subobjects found linked to {{PAGENAME}}.
}}
}}


= Debugging info =
= Debugging =
* '''Page Name:''' {{PAGENAME}}
* '''Current Page:''' {{PAGENAME}}
* '''Expected "Is part of startup":''' {{#titleparts:{{PAGENAME}}|1}}
* '''Expected Data Source:''' [[{{PAGENAME}}/Funding_history]]