The <detail> element can be contained in a <list-expect> element. When present the <detail> element must then contain a <text> element. The contents of the <text> element is then the text expected to be found in the detail pane of a list screen or a detail screen field with an edit type of List View. If the contents of the detail pane do not match the contents of the <text> element a script error is thrown.