jQuery Annex Dynamic Loading Package Testcase Scenario

$.getCss / $.getCSS

The body background should rotate colors between red, green and blue through a dynamically loaded CSS, which should be included in the header twice. Once as a reference to the file and one inline. Both should have data-ids to identify them by and the browser console should print a link and a style on pageload referencing these two elements in the head as well as info that both promises were resolved.

$.getHtmlBody

This element should contain a selection of remotely loaded elements from the index page, which were extracted from the returned html body element of the site getHtmlBody requested.