Commit graph

557 commits

Author SHA1 Message Date
liza-mae
53d0c6758a
skip test (#20993) 2018-07-19 12:01:38 -06:00
liza-mae
c7eb1e2aa1
[6.3] Improve visualization tests (#20783)
* Improve test flakiness for histogram and tag cloud tests.
Skip titlemap test.

* Add visualize page object

* Update histogram tests

* Enable skipped tests

* fix lint errors

* Update shakespeare test navigation to visualize

* Revert selector for selectAggregation

* Unskip vega test

* increase sleep
2018-07-18 07:33:21 -06:00
liza-mae
6fa36227df
[6.3] Add telemetry false for dashboard tests (#20901) (#20907)
* resolve merge conflict

* Add comma
2018-07-17 20:48:42 -06:00
Lee Drengenberg
85c761b906
refactor login page check, turn off telemetry (#17435) (#20723)
* 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
2018-07-12 11:58:30 -05:00
Tim Roes
9369fccbcc
[6.3] fixing disabled aggs (#18796) (#20450)
* fixing disabled aggs (#18796)

* adding dissabled aggs functional tests (#20454)

* Add missing visualize page method in 6.3
2018-07-05 17:27:59 +02:00
liza-mae
b3287ff3d8
Add wait for page to load in methods (#20413) 2018-07-03 12:02:44 -06:00
liza-mae
3ef4a45806
Fix flaky context _size tests and bug in context page object file (#20254) (#20392)
* Update getSuccessorLoadMoreButton() to point to correct selector
Add a sleep in navigateTo() and remove refresh()
Add methods to click predecessor and successor load more buttons
Update waitUntilContextLoadingHasFinished to check buttons are enabled and displayed
Update tests to use click methods

* Fix lint issues
2018-07-02 17:55:14 -06:00
Lee Drengenberg
7ae7845abd
[6.3] ES 6 visualize tests (#20178) (#20281)
* merge

* add missing async

* add missing async

* eslint cleanup

* fix vertical bar chart and data table tests

* es6 syntax and un-skip test
2018-07-02 14:38:48 -05:00
liza-mae
df4ae35e97
Fix flaky dashboard nested visualizations test (#20166)
* Fix flaky dashboard nested visualizations test

* Update dashboard_page.js

The wait for page to load did not work consistently in a loop.  I also tried a retry in setQuery method which failed also, but was only for one of the tests, the other test did not use that method.  

The only way I could get it to pass in a run 18 times in a loop was to put a sleep in clickEditVisualization.  This change is only for 6.3.
2018-06-27 12:02:00 -06:00
liza-mae
7f59b12886
Fix flaky visualize lab mode tests (#20165) (#20234)
* Update saveSearch method in discover and add wait page loading for advance settings

* Fix spaces
2018-06-26 11:45:18 -06:00
Rashmi Kulkarni
d44abbbc69
[6.3] Conversion to ES6 - Discover tests (#20112) (#20159)
* changes after fixing merge conflicts into 6.3

* incorporated review changes
2018-06-22 12:21:57 -07:00
Rashmi Kulkarni
737b987afc
Console test modified for ES6 conversion (#20048) 2018-06-19 12:53:50 -07:00
liza-mae
1d70939f6d
Make timelion tests less flaky (#19996) (#20011)
* Update sleeps in timelion tests

* Add comment
2018-06-18 14:06:49 -06:00
liza-mae
709e9acbbb
Add option to exclude tests in functional test runner (#19806) (#19851)
* Add option to exclude tests in functional test runner

* Move tag to end of test name
2018-06-14 04:22:49 -06:00
liza-mae
dfec4e5e35
Add wait for page to load for dashboard test (#19828) 2018-06-12 12:54:25 -06:00
liza-mae
896334e540
Remove flaky selectors: .ng-scope, .ng-binding and .ng-isolate.scope (#19688) (#19739) 2018-06-11 15:29:02 -06:00
Tim Roes
6659b82b77
[6.3] Fix broken linked save searches (#19722) (#19725)
* Fix broken linked save searches (#19722)

* Fix bug

* Retry navigation

* skip 'linked saved searched' tests

These tests pass over and over locally but fair (every time?) on Jenkins :-(

Since this is a blocker PR for the release, and since these tests pass locally, I'm going to `skip` these new tests for now.
2018-06-08 08:54:46 +02:00
liza-mae
269e616609
Update browser window size for console test (#19664) (#19667) 2018-06-04 18:16:44 -06:00
archana
cb0cdc7694
[6.3] Option to run kibana from build for CI (#19125) (#19225) (#19257)
* Option to run kibana from build for CI (#19125)

* Support --dev option for servers only

* try skipping dashboard time zones test
2018-05-21 19:06:40 -05:00
archana
ccefa303e4 Revert "Option to run kibana from build for CI" (#19224)
* Revert "[DOCS] Removes redundant index.asciidoc files (#19192)"

This reverts commit d11b5aae9a.

* Revert "[typescript] add typescript support for the server and browser (#19104)"

This reverts commit c6112067fc.

* Revert "Option to run kibana from build for CI (#19125)"

This reverts commit 5969860303.
2018-05-18 14:11:23 -05:00
archana
55107878c1 Option to run kibana from build for CI (#19125) 2018-05-18 12:49:27 -05:00
archana
3c540273a5
Functional test setup with kbn-test package (#18568) (#19175) 2018-05-17 13:43:09 -05:00
spalger
891ab7e25a Revert "Functional test setup with kbn-test package (#18568)"
This reverts commit 079a01fe6f.
2018-05-15 13:18:25 -07:00
archana
079a01fe6f Functional test setup with kbn-test package (#18568)
Restructure testing with kbn-test package

 - Run with multiple configs, move cli options to config
 - Package-ify kbn-test
 - Eventually we'll have functional_test_runner live in a package
of its own, and then this kbn-test will use that as a dependency,
probably still as a devDependency.
 - Implement functional_tests_server
 - Collapse single and multiple config apis into one command

Use kbn-es

Replace es_test_cluster + es_test_config with kbn/test utils

Implement new createEsTestCluster

Improve scripts, jsdocs, cli top-level tools

Lift error handling to the top level
2018-05-15 12:22:52 -05:00
Thomas Neirynck
ab50bfc3fc
Do not handle precision changes when no aggregations have been configured on the coordinate map (#18826) (#18860) 2018-05-07 10:29:11 -04:00
spalger
4bdcc9aa44 disable flaky test
(cherry picked from commit 6667c63a91)
2018-05-04 12:21:03 -07:00
Spencer
a8676bd2b1 Fix loading indicator for uiSettingsClient (#18694)
* [ui/chrome/loadingIndicator] expose VanillaJS hooks for gloabl loading indicator

* [ui/uiSettingsClient] increment/decrement loading count while request in progress

* [ui/loadingIndicator] fix HeaderPage.isGlobalLoadingIndicatorHidden()

* [ui/loadingIndicator] remove rxjs, fix tests

* [ui/loadingIndicator] improve docs

* [ui/loadingIndicator] remove needless unmounts

* [ui/loadingCount] correct typo

* [functionalTests/headerPage] awaitGlobalLoadingIndicatorHidden

* [ui/loadingCount] send subscribers the loading count on subscription

* [ui/loadingIndicator] remove error throwing, cleanup render

(cherry picked from commit d35316642d)
2018-05-02 16:39:30 -07:00
Tim Roes
608cd39d25
Fix map not refetching correctly (#18600) (#18604) 2018-04-26 17:02:50 +02:00
Stacey Gammon
64083ca284
Add failing test (#17688) (#17744) 2018-04-17 12:37:50 -04:00
Chris Cowan
84ad08e70d [TSVB] Math Aggregation (two point oh) (#16965)
* Revert "Remove MathJS Feature (#15652)"

This reverts commit 43bf1dbf4a.

* replacing math with tinymath

* pining version

* updating yarn.lock

* Fixing Prettier mis formatting

* fixing tests

* Adding unsupported agg back

* Adding functional test for math aggregation

- Fixing bad tests
- Resetting page for every test suite (why donesn't beforeEach work?)
- Adding test for Math agg

* Trying to fix values (due to inconsistencies in env)
2018-04-11 14:17:03 -07:00
Tim Roes
9b23529fc5
Fix flaky lab mode test (#17622) (#17652) 2018-04-11 10:24:40 +02:00
archana
a03e37cb9c
[CLI] Readable logs on Windows with chalk colors (#15557) (#17636)
* [colors] try new cli colors

* [colors] try magentaBright instead of magenta

* [colors] try white for log text

* [colors] replace all remaining ansicolors with chalk

* [colors] try yellowBright instead of yellow

* remove ansicolors from package.json

* [tests] attempt to fix tests

* [tests] attempt to fix tests again

* [color] backgrounds, cleanup

* [color] update yarn.lock
2018-04-10 10:57:56 -05:00
Stacey Gammon
c149ab9213
Gain extra info when nested query visualization test fails (#17390) (#17494)
* add more output

This will let us know if the filter is failing to be added on the
visualization before being saved.

* run 20x

* go back to single run
2018-04-02 12:41:46 -04:00
Bhavya RM
c4e71d733a
Test for ensuring that options *hide all panel titles" work on dashboards. (#17440) (#17459)
Test for making sure option hide all panel titles work
2018-03-29 19:13:49 -04:00
Bhavya RM
544c26b659
Functional tests to add index alias reference (#17343) (#17406)
* Functional tests to add index alias reference (#17343)
Test to make sure Kibana handles index alias reference.
2018-03-27 14:48:03 -04:00
Stacey Gammon
0990f564ea
De-couple redux panels object with app state (url) panels (#17361) (#17400)
* separate implicit connection between app state panels and redux tree panels.

They are now two different objects.  This will help pave the way to
removing so much apostate in view mode where it isn’t necessary

* remove console output

* fix tests and propagate dashboard title & description

* Clean up with review comments

* use reduce instead of map so the array becomes an object
2018-03-27 11:27:20 -04:00
Rashmi Kulkarni
54f3a803a8
Large fileds 6.x (#17404)
* adding large_string_test (#17312)

* adding large_string_test

* removed a failing test, modified the existing one

* new line at the end of mappings.json

* removed the data.json file and also removed the navigateTo() and clickKibanaIndices() as createIndexPattern() takes care of it

* more modifications

* Test for Large number of Fields in Kibana.  (#16237)

* test huge data

* new file for testing large number of fields
*  testing large fields
* large_fields_test
* add the unload of es_archiver
* incorporated the changes in kibana.yml
* Revert "incorporated the changes in kibana.yml"
This reverts commit 8682121678.
* cleanup
* code simplification
* removed commented code
2018-03-26 13:29:39 -07:00
Rashmi Kulkarni
6bc6c6a250
adding large_string_test (#17312) (#17371)
- Loads a huge PDF book as a large string via es_archiver
- Creates index pattern
-Navigates to discover and checks the Highlighted search terms
-------------------------------------------------------------------------------------------------


* adding large_string_test

* removed a failing test, modified the existing one

* new line at the end of mappings.json

* removed the data.json file and also removed the navigateTo() and clickKibanaIndices() as createIndexPattern() takes care of it

* more modifications
2018-03-23 12:48:54 -07:00
Matt Bargar
4f2fbe7fb6
[6.x] Add query enhancements opt-in switch to query bar (#17232) (#17353)
* Add query enhancements opt-in switch to query bar (#17232)

Makes our language updates more visible to users and removes mentions of Kuery as a separate language. Users still get the old lucene experience by default, but have the option to opt-in to "experimental query features" directly in the query bar. Goal is to get more feedback by making these new features more prominent and less of a jump from lucene.

* fix test
2018-03-22 18:00:25 -04:00
CJ Cenizal
e4a6cf2cca
Improve feedback in Discover (#16771) (#17354)
* Add Painless scripted field error callout to Discover. Remove recursive beginSegmentedFetch call.
* Add getDocLink service. EUIfy Discover 'no results' state.
* Rename initSegmentedFetch to handleSegmentedFetch to differentiate it from beginSegmentedFetch.
2018-03-22 13:06:03 -07:00
Stacey Gammon
65f7f638c4
Don't use transforms (#17175) (#17308)
* Don't use transforms

* dismiss toasts so they don't interfere with the snapshot tests

* try again

* Fix styling during expanded panel mode

* See if putting the sleep back fixes the build.

* fix typo
2018-03-21 16:37:03 -04:00
Nathan Reese
c659eca14f fix dashboard grid test timing issue (#17250)
* add 50 extra pixel to move to ensure panel goes above first panel
2018-03-19 19:52:31 -07:00
Lee Drengenberg
9afc7511a9
Getting Started - Shakespeare (#16827) (#17164)
* WIP - add shakespeare data for getting started guide

* Refactor of getLineChartData, getBarChartData, getAreaChartData

* Added changing extents and test

* Fix opening axis options

* Change precision from 8 to 7

* lower precision to 6

* Fix index pattern creation

* update from review, remove comments, add others
2018-03-14 17:01:40 -05:00
Lee Drengenberg
0d56e9a9dd
Save html for failed tests (#16850) (#17160)
* When failure, log URL and save page source

* log Taking screenshot  at info level

* Force a failure, then revert this

* [ftr/failureDebugging] create failure debugging service

* Cleanup and create the failure_debug/html dir, strip special chars from filenames

* Remove a debugging log

* refactored replacing invalid filename chars

* Revert forced failing tests
2018-03-14 15:42:04 -05:00
Jen Huang
b8fcf06336
Change indexed fields table to use EuiToolTip and display 10 rows by default (#17074) (#17129) 2018-03-14 09:27:37 -07:00
spalger
ac060f450e [functionalTests/context] disable flaky test 2018-03-13 13:23:14 -07:00
Nathan Reese
74982f83bd
Dashboard smaller panel grid dimensions (#16763) (#17105)
* change panel height from 100 to 20

* scale default height

* change number of grid columns to 48 so there is better control of panel width

* remove input controls resize test since its using EUI components and no longer needs to be functionally tested

* fix dashboard_grid_container test

* clean up rebase artifacts

* scale x and y in panel_state test

* make DASHBOARD_GRID_HEIGHT a constant
2018-03-12 09:37:16 -06:00
Jen Huang
03d9c4218e
React/EUI-ify indexed fields table (#16695) (#17068)
* React/EUI-ifying indexed fields table
2018-03-09 09:17:55 -08:00
Chris Roberson
27b0e88e32
Await for config changes and re-enable tests (#17016) (#17044) 2018-03-08 14:22:21 -05:00
Stacey Gammon
9245cf5def
Investigate flaky dashboard state test (#16977) (#17020)
* Increase test runs to reliably trigger failure

* Determine where dashboard is failing to pop into view mode

* Drop down to only one check

* Go back to only one run of state tests
2018-03-07 17:14:41 -05:00