Describe the feature: We're calling createIndexPattern as setup in some tests which are not specifically testing that feature. We should replace those with index patterns already created in the esArchiver date being loaded;
Describe a specific use case for the feature: Here's a grep to find these instances;
[ ] x-pack/test/functional/apps/graph/graph.js: await PageObjects.settings.createIndexPattern('secrepo', '@timestamp'); (I think this test is skipped right now?)
I don't think these tests are specifically about checking the privileges required to create index patterns?
I purposely left the getting started one in to mimic the steps in the doc. And this might be the only instance where we create a non-time based index pattern?; test/functional/apps/getting_started/_shakespeare.js: await PageObjects.settings.createIndexPattern('shakes', null);
I think this one should be left as-is. It's testing that we can (through the UI) create an index pattern with a huge number of fields (8000 I think); test/functional/apps/management/_test_huge_fields.js: await PageObjects.settings.createIndexPattern('testhuge', 'date');
Describe the feature: We're calling createIndexPattern as setup in some tests which are not specifically testing that feature. We should replace those with index patterns already created in the esArchiver date being loaded;
Describe a specific use case for the feature: Here's a grep to find these instances;
Here's a list of the ones from above I think should be replaced with esArchives which already contain the index pattern;
test/functional/apps/discover/_large_string.js: await PageObjects.settings.createIndexPattern('testlargestring', null);
35374
x-pack/test/functional/apps/graph/graph.js: await PageObjects.settings.createIndexPattern('secrepo', '@timestamp');
(I think this test is skipped right now?)I don't think these tests are specifically about checking the privileges required to create index patterns?
[ ]
x-pack/test/functional/apps/security/doc_level_security_roles.js: await PageObjects.settings.createIndexPattern('dlstest', null);
[ ]
x-pack/test/functional/apps/security/field_level_security.js: await PageObjects.settings.createIndexPattern('flstest', null);
I purposely left the getting started one in to mimic the steps in the doc. And this might be the only instance where we create a non-time based index pattern?;
test/functional/apps/getting_started/_shakespeare.js: await PageObjects.settings.createIndexPattern('shakes', null);
I think this one should be left as-is. It's testing that we can (through the UI) create an index pattern with a huge number of fields (8000 I think);
test/functional/apps/management/_test_huge_fields.js: await PageObjects.settings.createIndexPattern('testhuge', 'date');