* First version of change view functionality
* Adds the 'replace view' functionality to dashboard edit mode
* Fixed type_check errors
* Make action part of dashboard_embeddable_container
* Fixed import paths for type check errors
* Fixed i18n errors
* Renamed action to 'Replace panel' and adjusted jest tests to pass type check
* test: add functional tests
Closes#43900
* Added 5 second sleep to let thte page load before checking for title.
* Made changes to Rollups page object, added data test subjects to some elements, added function to get Indices to indexmanagement page.
* Removed 5 second wait from old commit,
* Updated home page for a more simplified create rollups method. Simplified data for the rollups to use a simple data structure rather than using makelogs.
* Added stop to the previous rollup job that ran. Added some timeouts to wait for the rollup to run. Added future data to be rolled into hybrid index pattern. Added some custom handling for creating different types of index patterns.
* Added forking condition for if the create index pattern button has the dropdown due to rollup data being present and to handle that case. Changed assertion for rollup job test to ensure that there is one index created with the proper name from the rollup job. Made adjustment to cron expression to run every 10 seconds. Added deletion clauses for all rollup jobs, index patterns and indices to ensure proper teardown.
* Added navigate to the discover page and verify the number of hits.
* Fixed assertion: Not supposed to contain hits.
* Fixing the button that's being searched for.
* Made adjustment to setings page due to test failures.
* Made adjustment to setings page due to test failures.
* Made a change to the order of the parameters for createIndexPattern which was causing non rollup index patterns to break. Also added new conditional and function to click on rollup index pattern button.
* Changed ciGroup and also added logging statements to rollup jobs test.
* Trying an additional wait to see if there is a race condition.
* Changed timing of when rollup job is stopped. It was getting stopped before having triggered.
* Added waitlogic for condition rather than hardcoded skeep. Used cheerio methods to parse table instead of bluebird's map async. Updated tests assertiuons to ensure the rollup has triggered and produced the right number of documents. Tested many times with Throttling and headless mode enabled.
* Returned the method reloadIndicesButton back to the page object instead of modifying it.
* Changed CI job to run test repeatedly.
* Forgot some script omissions.
* Reverting the script changes. Did not work.
* Readded config to run tests repeatedly per Dima.
* Added additional config for running CI tests.
* Fixed config error.
* Removed extra rollup cration step.
* Made edits per review and added some comments to clarify functions purposes.
* Added explanation of assertion and change that the rollup_info file was renamed.
* Adjusted assertion to compensate for CI's slow network.
* Split the hybrid index pattern test out and rollup job to be in separate files. Mocked out rollups and cleaned up log statements.
* Added load empty kibana to reset kibana to an empty state.
* Removed duplicate file and move method over from it. Updated references.
* Renamed test suite to hybrid index pattern as that's what the test entails
* Fixed missed reference rename.
* Fixed mistaken async keyword causing unhandled rejection error. Also deleted rollup job in hybrid index pattern test in after hook. Renoved log statements.
* Reverted changes to build scripts to normal.
* Fixed jobs file to match upstream due to a missed fix in a merge conflict.
* Added remainder of CI groups to job.
* Removed whitespace error.
* Made fixes per CJs review. Fixed clashing variable names. Reverted rollup job test to assert using rollups table. Changed group back to ciGroup1. Removed duplicate teardown index deletion calls.
* Created more concrete assertion for checking if hybrid index pattern was created. Some refactorings. Changed Math.floor() to Date.now() for avoidance of name collisions.
* Removed the data.json file.
* Addressed nits.
* [apps/management] improve import objects tests
* [page_objects/dashboard_page] replace link navigation with direct url
* [dashboard/time_zones] reset date format via API
* update jest snapshot
* [management/_kibana_settings] reset date format via API
* revert changees to dashboard tests
* run ciGroup 7 & 8 15x times
* Revert "run ciGroup 7 & 8 15x times"
This reverts commit 8be64d52dc.
* layout selector refactoring
* remove some any types
* Expose the time duration for sharing apps
* switch Reporting to use timeRange.duration
* fix mock
* up the logs for platform bug
* add jest snapshot test
* add functional ui test
* Revert "up the logs for platform bug"
This reverts commit b128c35e15.
* fix snapshot test
* Add message in new vis modal
* Add help menu util with link to github
* Fix import
* Oh snap
* Uncomment docs link but make it only visible if page url exists
* Remove Lens-specific code from visualize
* Add Lens help to the chrome help menu
* Replace `calloutText` with `buttonText`
* Dont show docs link yet
* Add beta label to grid and listings
* Fix page object
* Add method to detect oss in settings pages
- if it's not OSS, than 'Maps' is added to the expected chart types
Co-authored-by: liza-mae <liza-mae@users.noreply.github.com>
* Add option for Internet Explorer IE11
* WIP trying to figure out IE options/capabilities
* more attempts to get IE tests working
* more work, but still can't set font size in Dev Tools Console
* two changes for IE
* revert skip in console test
* this change *appears* to set absolute times but they don't stick
* Shakespeare passing on all 3 browsers
* add config.ie.js, change 'internet explorer' to 'ie'
* increase notifications:lifetime so ew have a chance to see the message
* fix lint error remove unused Options
* updates from PR review, remove console.log
* cleanup + reuse existing code
* make iedriver path work for x-pack tests
* try to avoid changing notification timeout
* resolve path and add correct delimiter
* remove unused code, make timepicker work on IE11
* work-around 45333 for IE11
* [WIP] removing some work-arounds
* revert work-arounds
* cleanup
* remove debugging code
* remove debugging code
* removed unused code
* reverting 2 files that didn't have any material changes
The current angular implementation of the tooltip, applied to the Apply button of the visualize editor, suffer from missing the mouseleave event in some cases. This cause the tooltip to remain open in some cases halting the test from clicking the underlying button.
The tooltip implementation will be soon replaced by EUI, so on this PR we are only unskipping the test and scrolling the visualize editor sidebar to avoid this overlap.
* First attempt at editor.tsx integration test
* Fix typo in variable name
* Expanded smoke test integration tests
* Mounting happens in beforeEach
Added i18n context to suppress error messages
Updated name of data-test-subj for the send request button
* enable switch index patterns test
* run ciGroup6 20x times
* [page_objects/visual_builder_page] retry selecting index pattern
* Revert "run ciGroup6 20x times"
This reverts commit 2151ea9905.
* [services/combo_box] clear input in seperate function
* run ciGroup12 30x times
* update logging message
* Revert "run ciGroup12 30x times"
This reverts commit 08fac11139.
* use new setScreenshotSize
* change tolerance from 1% to 2% (originally 5%)
* retake baseline without notification dialog
* close add and save notifications
* wait for render complete when going in to FullScreen mode
* add 5 second sleep to see if it ever goes to full screen mode
* add debugging screenshots and sleeps
* try reloading the Kibana index before this test
* 30 iterations with only the first test enabled
* revert multi-run changes
* ran node scripts/build_renovate_config
* fix tslint errors
* fix tslint error
* update xpack dependency to match oss
* update yarn.lock
* revert notifications:lifetime:info change by reducing some other timeouts
* remove commented-out code
* fixed and Unskipped 2nd test
* re-arrange order of dashboard tests to pass :-(
* removed commented-out sleep
Hopefully this won't be an issue
* Add comment about the order of tests
```
loadTestFile(require.resolve('./view_edit'));
// Order of test suites *shouldn't* be important but there's a bug for the view_edit test above
// https://github.com/elastic/kibana/issues/46752
// The dashboard_snapshot test below requires the timestamped URL which breaks the view_edit test.
// If we don't use the timestamp in the URL, the colors in the charts will be different.
loadTestFile(require.resolve('./dashboard_snapshots'));
```
* [page_objects/visual_builder_page] improve text area input clearing and typing value
* run ciGroup6 15x times
* Revert "run ciGroup6 15x times"
This reverts commit d94491769b.
* EUIficate pointe-series and grid
* Apply TS
* Show grid on a panel
* Remove extra space
* Add TS
* Use BasicOptions
* Adjust func test
* Add dataTestSubj prop to SelectOption
* Use id instead of data-sest-subj
* Disable show x-axis lines when there is histogram agg
* Add tooltip for disabled 'Show x-axis lines' config
* Add series_options.tsx
* Migrate series
* Improve changeValueAxis
* Create CategoryAxisPanel
* Create ValueAxesPanel
* Create CustomExtentsOptions
* File renaming
* Use TruncateLabelsOption
* Set min value
* Add validation
* Refactoring
* Move types upper
* Convert series logic
* Convert valueAxes logic
* Rename function
* Add validation and refactoring
* Adjust styles
* Fix rotates
* Apply config for other vis
* Remove old directives
* Fix useHook usage
* Update vislib_vis_type.js
* Fix
* Move Threshold line panel into a separate component
* Remove unused translations
* Apply ui suggestions
* Update functional tests
* Remove angular unit test
* Refactoring
* Fix dependencies
* Refactoring
* Add validation
* Add validation for other vis
* Refactoring of onPositionChanged handler
* Refactoring of addValueAxis
* Get rid of a useEffect
* Refactoring of updateAxisTitle
* Update useCallback
* Refactoring
* Refactoring of collections config
* Refactoring of setChartValueByIndex and setValueAxisByIndex
* Update metrics_axes_options.tsx
* Watch current tab for correct accordion height
* Revert axis title logic
* Fix axis id and name number
* Fix code review comments
* Fix functional tests
* Update visualize_page.js
* Move option tabs in common
* Fix code review comments
* Update index.tsx
* Refactoring
* Fix merge conflict
* Show ThresholdPanel when it's configured
* Fix passing a current tab to vis-options
* Localize 'Count' text
* Pass one axis to CategoryAxisPanel
* Fix y-axis name number when x-axis position changed
* Fix Y-axis name number when position Y-axis changed
* Fix refresh loop
* Re-organize controls
* Apply code review comments
* Refactoring
* Fix extents empty value
* Update y_extents.tsx
* Fix code review comments
* Fix updating several seriesParams when removing axis
* Add thresholdLine config to horizontal bar
* Refactoring
* Reset grid.valueAxis when the axis deleted
* Fix refresh loop
* Set interpolate config for line
* Enable "show dots"
* use elastic-charts for histogram
* add class accessibility
* specify onElementClick type annotation
* set chartElement tooltip type to Follow
* use moment methods for now annotation logic
* move historam inside directive folder
* remove unused timechart directive
* remove dependency from tsvb brush handler
* remove non-required class to fix tooltip overflow
* change the cursor/crosshair
* fix(ie11): add fixed width for header text
* fix: annotation colors on dark theme
* unpdate click and brush ui functional tests
* move functional tests to percy
* Replace TSVB timeseries charts with elastic-charts
* Add sort index for series
* Update src/legacy/core_plugins/metrics/public/visualizations/views/timeseries/index.js
Co-Authored-By: Nick Partridge <nick.ryan.partridge@gmail.com>
* Fix PR comments
* fix issue with scaling
* fix crosshair styles for bar
* [services/web_element_wrapper] add actions API methods
* fixes
* [services/browser] fix dragAnDrop to work in both w3c/non-w3c modes
* small review changes
* dragAndDrop: add default values for offset
* Add core-only bundle
* Add ApplicationService mounting
* Add LegacyCore{Setup,Start}
* Fix PR comments
* Add functional tests
* Fix PR comments
* Fix PR comments
* Remove other usages of rootRoute
* Use state field notation
* Add support for open in new tab
* Fix PR comments
* Fix pesky await from the dead
* Update docs
* Bump @types/history
* Add url without type to discover context
* Add redirectTo for the legacy URL
* Adapt link to context in discover table
* Remove code duplication by usage of redirectTo
* Remove anchorType from application and tests
* Cleanup mocha tests
* EUIficate pointe-series and grid
* Apply TS
* Show grid on a panel
* Remove extra space
* Add TS
* Use BasicOptions
* Adjust func test
* Add dataTestSubj prop to SelectOption
* Use id instead of data-sest-subj
* Disable show x-axis lines when there is histogram agg
* Add tooltip for disabled 'Show x-axis lines' config
* Remove extra space
* fixes scaling logic to check agg type instead schema
* adding selenium test
* updating jest snapshot
* fixing test
* Change test order
* Fix test order
* Create default_editor_agg.tsx
* Create default_editor_agg_group
* Apply drag and drop
* Remove unused dragula dependency
* Remove old mocha tests
* Add ts for state
* Update functional tests
* Update touched condition
* Apply styles for accordion button content
* Apply truncate for agg description
* Remove unused styles
* Separate common props
* Move aggGroupNamesMap to agg_group.js
* Update _sidebar.scss
* Pass schemas prop
* Prevent scroll bar and add space
* Remove unused min from stats
* Add OnAggParamsChange type
* Show error as an icon
* Update background color
* Update title size
* Remove Schema.deprecate since it's not used
* [home/_sample_data] unskip tests
* [visualize/_tsvb_chart] unskip switch index pattern test
* unskip nodes filter test
* run specific groups 10x times
* Revert "run specific groups 10x times"
This reverts commit ad7302f33f.