Commit graph

1783 commits

Author SHA1 Message Date
LeeDr
a4088bbacc snake_case test files. 2016-01-28 16:17:23 -06:00
LeeDr
a30a70964c Improve baseUrl function. 2016-01-27 09:16:08 -06:00
LeeDr
ef9833f4a3 Missing a period. 2016-01-26 17:55:58 -06:00
LeeDr
91fe72c89a Allow either old Firefox Ctrl + C or new Firefox clipboard message. 2016-01-26 17:33:26 -06:00
LeeDr
5073aa520c Share expectedToastMessage variable between tests, and comment about Firefox version changes message. 2016-01-26 12:30:09 -06:00
LeeDr
82d993adff Add 5 tests for Discover shared links 2016-01-25 20:39:27 -06:00
LeeDr
696d50c0f2 Merge pull request #5975 from LeeDr/moreDiscoverTests
8 new discover tests, _field_data
2016-01-21 17:33:11 -06:00
LeeDr
aeb45136d4 8 new discover tests, _field_data 2016-01-21 15:44:33 -06:00
Court Ewing
d50c48bccb Configurable shield credentials for tests
While there are still hardcoded defaults, this change allows people to
specify custom credentials via environment variables for each shield
role in our tests.
2016-01-21 13:13:17 -05:00
LeeDr
c477ab40a8 Minor changes from review comments. 2016-01-20 12:14:49 -06:00
LeeDr
3da9d84fe7 Merge branch 'master' into addDiscoverIntervalTests 2016-01-20 08:27:07 -06:00
LeeDr
6a84f5cf1b Added tests that change the interval through most of the choices and check the data. 2016-01-19 18:05:14 -06:00
spalger
72ab9aa7b0 [devServer] include self-signed certificates for testing
When running the Kibana server in --dev mode the server will use the new `test/dev_certs/server.key/crt` files to provide SSL by default. These files are not secure, and should not be used in production, but are fine for local development. Directions for trusting these certs are linked from the CONTRIBUTING.md file and the new ssl config can be disabled completely by passing `--no-ssl` to the server on startup.
2016-01-19 14:19:25 -07:00
LeeDr
40f8450d61 Fix screenshots Data Table and Tile Map. Add comments.
Fixes #5932
2016-01-19 19:07:54 +00:00
LeeDr
86ab222d4d Fix screenshots Data Table and Tile Map.
Fixes #5932
2016-01-19 19:07:54 +00:00
LeeDr
667372194f Fix screenshots Data Table and Tile Map.
Fixes #5932
2016-01-19 19:07:54 +00:00
LeeDr
540ca8e267 Revert "Fix screenshots Data Table and Tile Map."
This reverts commit b6f67920aa.

Fixes #5932
2016-01-19 19:07:54 +00:00
LeeDr
df6c34f4ca Fix screenshots Data Table and Tile Map.
Fixes #5932
2016-01-19 19:07:54 +00:00
LeeDr
f480b9b510 Fix screenshots Data Table and Tile Map.
Fixes #5932
2016-01-19 19:07:53 +00:00
LeeDr
c0d049c050 Fix screenshots with minimal sleep calls. Remove a couple unnecessary promise chains in visualizePage.
Fixes #5932
2016-01-19 19:07:53 +00:00
LeeDr
967cc0c0e3 switch from sleeps to waiting for visualize-legend.
Fixes #5932
2016-01-19 19:07:53 +00:00
LeeDr
e2face2071 Trying 4 sec sleep before screenshots.
Fixes #5932
2016-01-19 19:07:53 +00:00
LeeDr
d41f985f53 Trying 4 sec sleep before screenshots.
Fixes #5932
2016-01-19 19:07:53 +00:00
LeeDr
4c5f822429 Initial test to see if screenshot timing is the prob.
Fixes #5932
2016-01-19 19:07:53 +00:00
LeeDr
24b0177688 Fix screenshots Data Table and Tile Map. Add comments. 2016-01-19 12:41:17 -06:00
LeeDr
127e8e67dd Fix screenshots Data Table and Tile Map. 2016-01-19 12:20:09 -06:00
LeeDr
21e996bd88 Fix screenshots Data Table and Tile Map. 2016-01-19 10:50:30 -06:00
LeeDr
24fa2d41f9 Revert "Fix screenshots Data Table and Tile Map."
This reverts commit b6f67920aa.
2016-01-19 10:39:51 -06:00
LeeDr
b6f67920aa Fix screenshots Data Table and Tile Map. 2016-01-19 10:28:05 -06:00
LeeDr
b9d626aa70 Fix screenshots Data Table and Tile Map. 2016-01-19 10:08:33 -06:00
LeeDr
720faf45dd Fix screenshots with minimal sleep calls. Remove a couple unnecessary promise chains in visualizePage. 2016-01-18 20:40:54 -06:00
LeeDr
9157cf7e16 switch from sleeps to waiting for visualize-legend. 2016-01-18 16:50:40 -06:00
LeeDr
55330638c7 Trying 4 sec sleep before screenshots. 2016-01-18 13:43:40 -06:00
LeeDr
a7dce5012c Trying 4 sec sleep before screenshots. 2016-01-18 13:09:30 -06:00
LeeDr
68a46618ab Initial test to see if screenshot timing is the prob. 2016-01-18 11:37:51 -06:00
Court Ewing
2ef3f19621 Merge pull request #5884 from epixa/5562-tests-with-shield
Basic support for running server tests with shield
2016-01-15 18:08:13 -05:00
LeeDr
cc882ca539 Remove unused variable. 2016-01-15 12:19:56 -06:00
LeeDr
84a54618da Remove commented code. 2016-01-15 12:18:58 -06:00
LeeDr
cefbb5ede4 Fix multiple problems with discover 'should show the correct bar chart'. UTC timezone, array.length, improve cssSelector. 2016-01-15 12:00:15 -06:00
Court Ewing
4b0ac79c6f Inline documentation for kbn_server test utility 2016-01-15 11:48:46 -05:00
Court Ewing
eccb3d6f97 Basic support for running server tests with shield
These changes will make sure the kibana server in tests is using shield
credentials, as are any requests made through the kbn_server test
helper.

The current credentials are hardcoded based on our internal best
practices, but they should be made configurable in the future.

This will pass credentials to ES regardless of whether shield is
actually enabled, but that will have no negative effect if shield
happens to be disabled.
2016-01-12 17:16:10 -05:00
Court Ewing
41de597e42 Abstract kbn server setup in tests
The new kbn_server test utility allows us to setup KbnServer instances
with consistent defaults and make requests through a common test-only
interface. These abstractions allow us to configure global behaviors
such as shield authorization for all of our tests rather than
re-implementing it in every test.
2016-01-12 17:11:58 -05:00
Matthew Bargar
4f5aa95fca ingest API requires at least one field 2016-01-07 17:58:09 -05:00
Matthew Bargar
e1bb5f58c4 return 204 for successful POST an use JSON for all response payloads 2016-01-06 15:59:07 -05:00
Matthew Bargar
e9810328a9 Change the name of the index_pattern api to ingest and remove the JSON API payload wrapper 2016-01-06 15:48:12 -05:00
Matthew Bargar
b4ef144ae0 Created more robust defaults and removed support for overriding them 2016-01-06 12:40:37 -05:00
Matthew Bargar
a0ac2135d7 Remove endpoints that we don't need for the Add Data UI 2016-01-05 17:09:27 -05:00
Matthew Bargar
fe296b4b36 First pass at adding support for fields that are part of an object 2016-01-05 16:45:08 -05:00
Matthew Bargar
d4e85bc7da Better defaults for scripted fields and prevent scripted fields from getting in the index template 2016-01-04 17:12:58 -05:00
Matthew Bargar
1b916a34cf Added API tests for initialization of default index pattern field values and creation of index template field mappings 2016-01-04 16:44:49 -05:00