* Updated saveVisualization to wait for toast instead of global indicator
* Fix RBAC tests.
The saveVisualization now fails directly if the visualization is not correctly saved.
* Change editor to use toast for errors
* Change saveVisualization method to new saveVisualizationExpectSuccess
For RBAC tests used also saveVisualizationExpectFail
* Fix wrong exists method call
* Fix missing exist function
* 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
* Use sleep until TagCloud data-render-complete is fixed
* Different getIsInEditMode courtesy of @chrisdavies
* combine switchToEditMode into one method
* Heatmap metric data points should only be quantized while the data full range is grate than the maxmum allowed color count
* The data cell with metric value 'null' should always be hidden in the heatmap
* Add one variable for max color count and follow the coding style
* Add Drop Partials option to date histogram agg settings UI
* Add timeRange to aggOpts and parse in _response_writer
* Implement dropPartials method in TabifyBuckets
* Fixed a couple issues
* Fixed issue with undefined timeRange
* Use braces for conditionals
* Translate Home page; add mountWithIntl method into enzyme_helper.js
* Update message ids
* Update component name
* Update message ids
* Fix unit tests
* Remove export from variables that get wrapped by a helper
Update Chromium to a recent version compatible with Puppeteer.
Update Chromium build scripts to initialize build environments and work with
recent versions of Chromium.
Modify Chromium reporting logic to be driven mostly by Puppeteer.
* Implement inspector for Saved Searches
* add inspect top nav to discover app
* add functional test, add support for empty results
* clean up functional test names
* create inspector request before processing response
Fixes#18835
This updates the url-overflow redirect to use the `modifyUrl()` helper which was written almost exclusively to help deal with the confusion that node's `path` and `pathname` nonsense creates. I tested this in Edge and things seem to work well, but I'd appreciate if @baracudda or @chandanpal could checkout this PR and see if it works for them.
* just getting the popover to open and start laying out the context menu
* pass getUnhashableStates to ShareMenu
* generate original and snapshot ids
* move state into ShareUrlContent
* start working on form
* use radio group
* add input for creating short URL
* display URL in alert until copy functionallity gets migrated to EUI
* allowEmbed prop
* replace share directive with showShareContextMenu
* fix button styling
* add jest test for share_context_menu
* use EuiCopy to copy URL, add jest test for ShareUrlContent component
* clean up
* display short URL create error message in form instead of with toast
* switch option order so disbaled option can not be first
* fix discover share functional tests
* add functions required by reporting
* typescript
* remove empty file
* fix typescript compile error
* move import so jest tests work
* fix Failed prop type: The proptextToCopyis marked as required inEuiCopy, but its value isundefined
* move shortUrl out of react state and into Component object
* getUnhashableStates type from any[] to object[]
* add comment about type change once EUI issue is solved
* add functional test for saved object URL sharing
* remove commit
This is an attempt to write a log capture integration for the functional test runner that will collect all log output written during a test, prevent it from being written to stdout to lower the amount of work Jenkins master has to do and include the entire log output for each test in the junit report. I'm slightly concerned about the amount of memory we'll be using to store a copy of the logs for each test, but streaming the XML report isn’t easy and there doesn’t seem to be a library out there to help. If we decide it’s torally necessary we might be able to figure it out.
* add retry to sample data unstall test
* fix flaky sample data test
* remove retry around expect
* simplify solution
* remove onRequestComplete and just track status in state
* move all state into new SampleDataSetCards
* track processing status in seperate object than sampleDataSets
* display toast notifications from SampleDataSetCards component
* remove checks for toast notifications, just causing flakyness
* only load sample data set status on initial component load
* set processing to false when there is an install failure
* 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
* Adds and uses new rgba generation method for generating rgba colors from hex variables
* Removes old comments and duplicate imports
* Adds tests for rgba method and some jsdocs, and prettier fixes
* Removed custom rgba in favor of polished.rgba
* let _claimPendingJobs have a valid job when updating leads to version conflict
* change _claimJob to reject the promise instead of resolve to true/false
* add _claimPendingJobs tests
* fix tests