* Remove skip for testing on server. Unable to repro locally
* run kibana-ciGroup2 40 times per build
* Temporarily skip 'geo map' check
* Left out 'Rendering Test: ' in filter string
* Revert "run kibana-ciGroup2 40 times per build"
This reverts commit 103a5c9c6e.
* Review feedback. Remove 'Flaky' test ref
* [services/lib/web_element_wrapper] set custom wait for findAll
* [services/remote] print browser name and version on init
* [services/combo_box] fix return statement
* fix lint error
* EUIficate agg-select
* Improve validation; update TS
* Apply styles for helpLink
* Fix unit test
* Update functional tests
* Adjust comboBox service to chose the item where the text mates exactly
* Update vis page object
* Add default value for agg
* Move aggs grouping function to a separate file
* Use labelAppend prop for help link node
* Add watcher for aggType to manage to discard changes
* Add default value for agg type title
* Fix defining selected option when aggType is defined
* Fix validation issues
* Remove a bootstrap specific class
* Change css selector in test
* Update according to SASS guidelines
* Update functinal comboBox service
* Added check for undefined
* Add jsdoc for groupAggregationsBy function
* Add unit tests for groupAggregationsBy
* Move setValidity invocation to DefaultEditorAggSelect component
* Wrap setValidity into useEffect due to react warning when select is cleaned at the first time
* Move help link definition to select component
* use css selector instead of className, set implicit wait to 0
* set implicitWait to 2 sec
* set default implicitWait to WAIT_FOR_EXISTS_TIME
* set timeout to 1 sec, retry for query bar test
* sleep 5 sec waiting zoom is finished
* sleep is the only way to wait
* run x-pack-ciGroup3 20x times
* Revert "run x-pack-ciGroup3 20x times"
This reverts commit 55482de330.
* [@kbn/expect] "fork" expect.js into repo
* [eslint] autofix references to expect.js
* [tslint] autofix all expect.js imports
* now that expect.js is in strict mode, avoid reassigning fn.length
* Fixed a simple argument bug and removed infra date picker EUI types
* Fixes for EUI date picker types
* eui_8.0.0
* fix type errors in query_bar
* Small changes for EUI types
* Updates EUI to 9.0.0 and removes @types/react-datepicker as it now ships with EUI
* Updates to EUI 9.0.1 and removes duplicate types in infra eui.d.ts
* ts-ignore applied to ongoing type error with styled components and EUI
* Changes EuiProgress props to avoid TS errors
* Updates EUI 9.0 snapshots
* Updates kibana root snapshots for EUI 9.0 upgrade
* Update detail_panel.test.js for EUI changes
* Updated functioanl and unit tests to properly inspect EuiTableRowCell rendered values
* Fix docs_level_security_roles.js func tests
* Update EUI to 9.0.2
* Fixed failing snapshot for EUI icon default prop
In https://github.com/elastic/kibana/pull/31234 there were some extra changes that I've reverted, like use of the `tsconfig-paths` package to magically rewrite import statements to defy the standard node module resolution algorithm, the inclusion of several unnecessary options in the `test/tsconfig.json` file, and changes of the line-endings in the config files. This also brings a few enhancements from https://github.com/elastic/kibana/pull/30190 including a modularized version of the expect.js types, and options for explicit mappings for the PageObjects and services used in ftr tests.
* use cheerio to parse table innerHtml in functional tests
* rename function to parseDomContent
* test Bar charts by parsing Dom
* test X & Y axis data by parsing Dom
* get X Axis data for dashboard tests with Dom parsing
* replace kbnTimepicker directive with EuiSuperDatePicker
* remove kbnTimepicker directive
* remove bootstrap datepicker
* Embed timepicker in query bar (#29130)
* replace kbnTimepicker directive with EuiSuperDatePicker
* remove kbnTimepicker directive
* remove bootstrap datepicker
* embed timepicker in query bar
* flesh out date picker in query bar for maps app
* wire up refresh config
* fix bug with way update function called by watcher
* get maps application functional tests working with new timepicker
* update setAbsoluteRange for EuiSuperDatePicker
* replace setQuickTime with calls to setAbsoluteTime
* remove open time picker button in discover empty results view
* pass config values to super-date-picker directive
* remove getPrettyDuration
* clean up typescript lint problems
* some functional test fixes
* try something else to fix I18n problems
* fix some more functional tests
* update query_bar jest test
* remove unused method in kbn_global_timepicker
* do not import removed timepicker styles
* remove mode from time state
* remove mode from time_history interface
* fix problem with ui_settings_defaults
* fix failing TSVB functional test
* another round to test fixes
* more functional test changes
* fixes for failing tests
* add retry block to flaky tsvb test
* styles/bootstrap_dark.less
* fix functional tests
* call fetch event even when times are the same
* add retry around flaky tsvb test
* fix timefilter jest test, attempt to fix another flaky functional test
* revert emitting fetch outside of areTimePickerValsDifferent check
* clean up time mode code that is no longer needed in dashboard
* fix timefilter tests changed by timefilter emit revert
* [Maps] add saved objects for all sample data sets
* add functional tests that compare sample data maps to baseline images
* add check for layer loading in functional tests
* try something out in CI
* try map without EMS regions
* add weblogs test but hide region layer
* skip tests with EMS vector layers
* gis-map to map and ES_GEOHASH_GRID to ES_GEO_GRID
* add resolution property to ES_GEO_GRID source descriptor
* move alphaValue from style descriptor to layer descriptor and rename to alpha
* terms join label change 'group by' to 'of'
* ensure sample data sets work with no internet access
* get functional tests working with updated full screen snapshots
* delete gis folder left overs
* give time for visibility to toggle to fire
* make web logs screen comparision more forgiving
* wait for layers to load on full screen
Fixes the build issues introduced in #25563 and re-introduces the new react/eui/typescript filter bar, essentially reverting the revert in #29662. I did have to resolve one merge conflict in query_bar.tsx, and re-deleted all of the old filter bar code where translation code had been added.
* initial commit of K7 side nav
* [ui/persistedLog/recentlyAccessed] support observing history items
* [globalNav] use real recentlyAccessed and navLink data
* fixes header logo and mobile layout
* handle hidden links and no recents, use size vars
* handle hidden links and no recents, use size vars
* adds prop to wrap flyout link text
* fix menu scroll for IE
* [chrome/headerGlobalNav] fix typescript issues
* [chrome/headerGlobalNav] only ignore types that are actually missing
* update EUI to 6.6.0
* Revert "update EUI to 6.6.0"
This reverts commit 048cbf9157f8fc7410d4cf8e017b210c4548104e.
* [chrome] remove HeaderAppMenu component
* [ftr/services/appsMemnu] update for new style
* [ftr/discover] tweak size of discover tests and size-dependent assertions
* [chrome] disable offsets in embed mode
* [ftr/discover] try sticking with original screen width
* [ftr/discover] try to force screensize before checking axis labels
* [ftr/services/appMenu] ensure menu closed after clicking app
* uptime app icon, mobile header size removed
* [ftr/discover] make assertion resilient to minor changes in vis width
* [chrome] add types for nav apis
* [chrome/recentlyAccessed] display app icons when possible
* [ftr/discover] make a little wider so scroll doesn't interfer with vis width
* [ftr/services/globalNav] fix test subject
* [visualize] update breadcrumbs when updating visualization
* [ftr] auto-scroll elements passed the fixed header if necessary
* [uiSettings] enable the k7design by default
* [ftr/services/flyout] add ensureClosed() and ensureAllClosed()
* [ftr/services/globalNav] implement globalNav service
* [ftr/services/appsMenu] implement service for using app menu
* [ftr/services/userMenu] add service for using user menu
* [ftr/discover+visualize] update assertions that are based on the app width
* [ftr/monitoring] pass test subjects to new breadcrumbs
* [headerGlobalNav] don't offset the app container in embed mode
* update heights for slightly smaller header
As suggested by @legrego in #28792, this PR adds a config flag to completely disable the welcome screen, which is enabled by the functional test runner to ensure that the welcome screen doesn't pop up.
With https://github.com/elastic/kibana/pull/28503 we will be enabling the k7design by default, which adds a fixed header to the top of the page. This causes issues with the default "scroll into view" logic, as elements which are in the top overflow will be scrolled into view but then covered by the header.
My first attempt to solve this was adjusting the layout to only scroll the content below the header. This allowed the [standard scroll into view algorithm](https://drafts.csswg.org/cssom-view/#element-scrolling-members) to function as intended, but had a slightly worse UX on OSes like macOS, and @elastic/kibana-design ultimately pushed back because not allowing the body to scroll has other implications.
Instead I have implemented a `LeadfootElementWrapper#scrollIntoViewIfNecessary()` method which is automatically called before each `#click()` and `#moveMouseTo()` call. This new method scrolls the element into view when necessary, and then additionally adjusts the scroll position of the root scroll element by the necessary pixels if the top of the element is within `layout.fixedHeaderHeight` pixels.
* [pageObjects/welcome] automatically disable on navigation
* [pageObjects/welcome] disable on beforeTests to not slow down navigation
* [ftr/services/welcome] also disable welcome after logout
* [ftr/services/welcome] revist home after disabling welcome
* Refactor, clean up, new inspector, pie chart services
* Move inspector service to top level, outside of visualizations folder
* Refactor some more instances of getTableData into expectTableData
The functional test runner's find service wasn't awaiting the promises
returned by element.isEnabled which was causing some of the staleness
checks to not succeed and potentially crash the process if it was the
very last test to be run.
* Stabilize flaky visualize test
- don’t wait for header unnecessarily. - use clickWhenNotDisabled instead of click. - use an outer retry to account for stale elements from pie chart likely not editing render complete correctly
* More fixes
- fix interval selection so it doesn’t accidentally click Go. - fix legit bug with non existent _source field being used in a test. - Don’t “click Go” when not needed.
* Clean up
- can’t run pie chart tests multiple times in a row. - remove more unnecessary clickGos
* Fix dashboard to refresh visualizations when the refresh button is clicked
* Suggestions
* Fix tests
* Catch bug with a new test to ensure saved searches update when query in url is modified
* Add a test that would have caught the initial problem
* Final fixes that should get ci passing and the bug fixed
* Move requestReload out of _pushFiltersToState
* Fix comparison
* [visualise_page] improve searching of bucket element
* [discover_page] wait for visualisation loaded + dragAndDrop
* [services/browser] change dragAndDrop arguments
* fix dragAndDrop usage in dashboard test
* use clickByCssSelector