Skip to content

Commit

Permalink
Updating formatting for TestSuite
Browse files Browse the repository at this point in the history
  • Loading branch information
StartAutomating committed Apr 15, 2021
1 parent ee66fd3 commit f869e09
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
6 changes: 5 additions & 1 deletion Formatting/PSDevOps.TestSuite.format.ps1
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
Write-FormatView -TypeName PSDevOps.TestSuite -Property Name, TestSuiteID, LastUpdated, QueryString -Width 20, 12, 12, 0 -Wrap -GroupByProperty TestPlanID
Write-FormatView -TypeName PSDevOps.TestSuite -Property Name, TestSuiteID, LastUpdated, QueryString -Width 20, 12, 20, 0 -Wrap -GroupByProperty TestPlanName -VirtualProperty @{
LastUpdated = {
$_.LastUpdated.ToString('s')
}
}
9 changes: 6 additions & 3 deletions PSDevOps.format.ps1xml
Original file line number Diff line number Diff line change
Expand Up @@ -1304,7 +1304,7 @@ $($ParentNode.CustomControl.CustomEntries.CustomEntry.CustomItem.ExpressionBindi
<TypeName>PSDevOps.TestSuite</TypeName>
</ViewSelectedBy>
<GroupBy>
<PropertyName>TestPlanID</PropertyName>
<PropertyName>TestPlanName</PropertyName>
</GroupBy>
<TableControl>
<TableHeaders>
Expand All @@ -1317,8 +1317,9 @@ $($ParentNode.CustomControl.CustomEntries.CustomEntry.CustomItem.ExpressionBindi
<Width>12</Width>
</TableColumnHeader>
<TableColumnHeader>
<Label>LastUpdated</Label>
<Alignment>left</Alignment>
<Width>12</Width>
<Width>20</Width>
</TableColumnHeader>
<TableColumnHeader>
<Alignment>left</Alignment>
Expand All @@ -1335,7 +1336,9 @@ $($ParentNode.CustomControl.CustomEntries.CustomEntry.CustomItem.ExpressionBindi
<PropertyName>TestSuiteID</PropertyName>
</TableColumnItem>
<TableColumnItem>
<PropertyName>LastUpdated</PropertyName>
<ScriptBlock>
$_.LastUpdated.ToString('s')
</ScriptBlock>
</TableColumnItem>
<TableColumnItem>
<PropertyName>QueryString</PropertyName>
Expand Down

0 comments on commit f869e09

Please sign in to comment.