Renames references to index pattern to data views.
- Updates references in `data-test-subj` attributes for data frame
analytics.
- Renames methods in the ` ml.testResources` service used in tests.
- `IndexPattern` references in testing code referring to single indices
were renamed to use `IndexName`. For variable names still using
`IndexPattern` they were prefixed with e.g. `esIndexPattern` to avoid
ambiguity with the legacy data view name.
Note there are still references in the state management code of the data
frame analytics creation wizard, this wasn't picked up in this PR since
it focuses mostly on test related code.
* Use PointInTimeFinder to paginate through indexPatterns in a more performant way
* commit using @elastic.co
* Start working on tests
* Add tests
* Add missing types
* Fix tests
* Update tests responses
* Remove unnecessary mocks
* Fix type
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>