* Fix missing check on empty response
* Fix test order and remove applying on each entered filter
* Change quotes on addNewFilterAggregation testsubject
* Rename test hasPieChartError method to expectPieChartError
* Refactor piechart zero-value slices data cleaning.
The previous implementation used to remove zero-value slices by mutating the vis data from the legend logic.
We moved the logic of "cleaning" the zero-value slices before rendering the piechart and/or the legend, so now piechart and legends are rendering themselves with the same data structure.
* Reverting _validatePieData method to the old one
* conditionalize Monitoring tests for Cloud testing
* make security_page/login wait
* revert these files from another PR
* revert these files from another PR
* Add detection of invalid JSON searchSource to saved_object and dashboard (#20379)
* Reenable import objects tests (#21250)
* Reenable import objects tests. Refine their assertions. Add primary callout to indicate completion of import process when the user has opted to not import anything.
* fixing importing saved objects when there's a missing index pattern (#22068)
* fixing issue with importing vis with missing saved search (#22029)
* Rebuild modulePath correctly if on Windows
* Adding 1 second sleep to fix flaky test
* Wait to find a gear in the visualization after clicking Edit
* Revert "Wait to find a gear in the visualization after clicking Edit"
This reverts commit 8dac3fbd63.
* use waitForRenderComplete and change that to 1s timeout
* Add retry.waitFor
* use waitFor and return === result
* Revert to files from another PR
* Remove a debug console.log
* Rebuild modulePath correctly if on Windows
* Change how we find dashboard add panel is loaded
* Add and use find.byClassName instead of remote
* cleanup a comment
* Add opton to run chrome headless. Mainly for windows tests which can't use xvfb.
* Update from review comments
Make environment variable Boolean, remove single quotes from keys, remove window size.
* Fix available fields option toggle (#21730)
a36b87a#diff-aff92ff718af4b68d02f030d8a438754 added an ng-if around the available fields button element. ng-if creates a child scope. The ng-click on the button directly modifies scope state. As a result, when the ng-if was added, that ng-click began modifying the ng-if's child scope instead of the parent scope.
The best solution would be to update the discFieldChooser directive to use the controllerAs property so its scope variables are namespaced. However, this is a bit risky because I'd need to make sure to update every single scope variable reference in the template, and it's a relatively large template. Since we'd like to backport this to 6.4 I've taken the less risky route of adding $parent to the scope reference inside the ng-if block.
* forgot I needed this one too
* Fix hidden ticks when using log scale (#21507)
* Add support for vertical axis
The vertical axis scale has an inverted range (max, min) and we need to compute the absolute scale width instead.
* Add functional test for Y axis scale type switching
* Remove unnecessary waitUntilLoadingHasFinished
* Skip scale tick tests because of possible flakyness (#21641)
* set pause to 'true' when refresh interval is zero
* keep original assertion
* fix expect message in functional tests now that pause is set to true
* fix executorProvider mocha test
* Add test that would have caught the bug
* Initialize global state with current time range
* Fix issue with failing tests - need to remove added "t" parameter to the url in the new tests
* remove unneccessary extra call
* Fix tests that failed due to globally added time in new tests
* Update home page test to not care about any state.
* avoid day long gaps in sample data
* avoid using toISOString to avoid an timezone problems
* unskip sample test now that problem is fixed
* use much better cj algorithm for translating time
* cjcenizal review updates
* update funtion name in install.js
* push source reference date back a week
* partial progress on reactifying users
* progress on EUIfication of users screen
* removing Angular stuff
* adding data-test-subj="passwordConfirmationInput"
* removing data-test-subj="userFormEmailInput" refs from tests
* fixing selector for role assignment
* some functional test fixes
* fixing some functional tests
* fixing last functional test
* removing stray console log
* fixing warnings
* attempting to fix flaky test
* trying again to fix flaky test
* PR feedback
* PR feedback
* fixing issue where form tried to submit
* adding sleep to allow user to load
* Design edits
Mainly adding wrapper EUI page elements, but also shifted around form elements.
* Fixed console error and added responsive prop to table
* addressing PR feedback
* A few more PR feedback
- Fixed alignment of table
- Removed the tooltip from the lock icon and placed the description inline.
- Changed delete button to an empty button
* addressing more PR feedback
* adding email field back in
* adding back username validation
* restoring original error message
* fixing dumb null error
* [Stats API] Set API field names per spec
* fix jest tests
* fix api integration test
* trash the original metrics collector
- constantly accumulating stats over time does not align with the existing behavior, which is to reset the stats to 0 whenever they are pulled
* move some logic out of the collector types combiner into inline
- change the signature of sourceKibana
* Make a new stats collector for the API
- to not clear the data when pulling via the api
- fetching is a read-only thing
* isolate data transforms for api data and upload data
* no static methods
* remove external in bytes
* remove the _stats prefix for kibana and reporting
* update jest test snapshot
* fix collector_types_combiner test
* fix usage api
* add test suite todo comment
* reduce some loc change
* roll back mysterious change
* reduce some more loc change
* comment correction
* reduce more loc change
* whitespace
* comment question
* fix cluster_uuid
* fix stats integration test
* fix bulk uploader test, combineTypes is no longer external
* very important comments about the current nature of stats represented and long-term goals
* add stats api tests with/without authentication
* fix more fields to match data model
* fix more tests
* fix jest test
* remove TODO
* remove sockets
* use snake_case for api field names
* restore accidental removal + copy/paste error
* sourceKibana -> getKibanaInfoForStats
* skip usage test on legacy endpoint
* fix api tests
* more comment
* stop putting a field in that used to be omitted
* fix the internal type to ID the usage data for bulk uploader
* correct the kibana usage type value, which is shown as-is in the API
* more fixes for the constants identifying collector types + test against duplicates
* add a comment on a hack, and a whitespace fix
* add savedObjects to tutorial schema, add savedObjects to APM, add bulk create endpoint
* SavedObjectInstaller component
* bulkCreate fixes
* fix tutorial jest test
* update from sqren review
* updated copy
* move saved object json into seperate json files
* minor commit clean up
* ensure isMounted before setting state after async call, allow manifest to customize saved object install message
* remove duplicated logic for getting config xpack.apm.indexPattern
* refactor get index pattern title
* add functional test that loads APM saved objects
* remove extra await
* display overwrite message
* use angular free savedObjectClient
* functional test cleanup
* handle bulkRequest exception and add jest tests for SavedObjectsInstaller
* use Promise.reject instead of throw
* update copy
* Improve tests for histogram, tag cloud, input controls and enable lab mode.
* enable skipped tests
* Update shakespeare test navigation to visualize
* Add sleep to shakespeare test
* Skip shakespeare test for now, it is not clear why it is failing and does not fail locally, need the other tests to run in CI
* Revert selector for selectAggregation, re-enable shakespeare test
* skip vega spec text test, was not fixed with changes
* Enable only visualize tests to run, need to see results and it's being blocked by other test failures
* Enable all tests again, visualization tests all passed
* Skipping sample data test due to bug #20807, let's see if rest of the tests pass
* add check that combobox was successfully cleared
* run test 25 times
* checkin the correct files this time
* re-enable skipped test
* remove extra test loaders
* Added coverage around search and dashboard tests.
* Added tests to check for whether the resource is available. If not, return 404.
* Skipped two tests due to https://github.com/elastic/kibana/issues/19713. Added error handling for relationships API for when no result is found. Return 404.
* Applied patch file per PR.
* Applied Chris patch and tested locally. No failures.
* Removed ajv and utilised joi for schema validation.
* Fixed package.json.
* Copied package.json description from master.
* Reverted package.json and made proper edit.
* refactor login page check, turn off telemetry
* significant refactor of navigateTo
* replace slashes with _ in test failure output html files
* re-do out of date PR
* create saved object client that is native javascript
* fix savedObjectClient unit tests
* get saved object client from chrome when being used outside of angular
* update error handlers to pull status code from FetchError
* add some debug messages to failing functional test
* revert changes to management/_objects
* add clicks to import done in import objects test
* take screenshots of test only failing in CI
* remove functional test screenshot code since test is passing in CI now
* remove unused file, clean up saved_objects_client test to not use global, add test to error_auto_create_index to ensure compatibility with kfetch errors
* add body to kfetch error
* update savedObjectClient.bulkCreate
* add bulkCreate wrapper to SavedObjectsClientProvider
* mark _createSavedObject and _processBatchQueue as private methods