HELP Pleas : Add tests for ImportWmsDirective

I try to test the loading and parsing of the GetCapabilities. The list of layers is correctly updated in the scope but not the HTML elements in the table.

Any ideas why?