testing library

Test support: drive forms that use external data with DartRosa's Scenario.

Functions

externalChoicesOf(Scenario scenario, String xPath) → List<SelectChoice>
The choices of the select at xPath in scenario, expanded from its search() appearance if it has one (see loadSelectChoices).
externalDataScenario(String xml, {Map<String, String> media = const {}, bool listMedia = true, PullDataInstanceAdapter? instanceAdapter, ExternalDataRepository? repository, String? instanceXml}) → Future<Scenario>
Parses the form xml with external data enabled and starts a Scenario on it.