Commit graph

316 commits

Author SHA1 Message Date
spalger 508d94540e [grunt/run] be more lenient with flag prefix parsing 2016-02-12 16:01:46 -07:00
spalger 2722f42d30 [grunt/run] support passing arbitrary commands to underlying kibana started via grunt-run 2016-02-12 09:37:37 -07:00
spalger da5acc499b [es] upgrade to master 2016-02-05 10:22:26 -07:00
Spencer c54b9ca6b7 Merge pull request #5891 from spalger/implement/mochaSetup
formalize mocha setup
2016-02-01 15:31:42 -07:00
spalger 1b85822e26 [cli/serve] allow disabling the base path proxy if needed 2016-01-21 16:52:25 -07:00
Spencer 006333fd99 Merge pull request #5671 from spalger/implement/esvmConfigForShield
Implement esvm config for shield
2016-01-15 17:54:29 -07:00
Spencer 9537d680dc [esvm] rename config name 2016-01-15 17:53:44 -07:00
spalger 7773625690 [simplemocha] always perform mocha setup if grunt task is loaded 2016-01-14 10:32:28 -07:00
spalger 7b15ee05d1 [mochaSetup] added notes to explain the purpose for the workarounds in place 2016-01-13 16:50:55 -07:00
spalger c87aec3dae [mocha] move setup work into module
with https://github.com/elastic/kibana/pull/5553 we added command line flags the told mocha it was supposed to use babel. This changes the strategy here and instead uses mocha's -r option (and it's mocha.opts file to specify it). This means that using mocha directly from the command line still works, and that we have a place where we can do other setup work.
2016-01-12 16:26:42 -07:00
Rashid Khan 1043884a48 Merge pull request #5213 from Bargs/indexPatternApi
Create an Ingest API
2016-01-11 14:26:30 -07:00
Matthew Bargar a5178be0a7 avoid repetition 2016-01-07 17:25:33 -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 fe296b4b36 First pass at adding support for fields that are part of an object 2016-01-05 16:45:08 -05:00
spalger 102f6bf0a4 Merge branch 'master' of github.com:elastic/kibana into implement/esvmConfigForShield 2016-01-05 13:18:09 -07:00
Jonathan Budzenski 64a0375f56 [build] Update node download path for Windows 2016-01-05 12:51:56 -06:00
Matthew Bargar 83bbcb6c14 Convert index-pattern keys to snakeCase before sending to ES for the sake of backwards compatibility 2015-12-29 13:37:50 -05:00
Matthew Bargar c5565d72c6 Give API tests their own intern config
Adding a 'suites' property to the existing intern configuration caused
an error to be thrown at the beginning of the functional test run. Even
if the value of 'suites' was just an empty array. The existence of the
property seemed to enabled execution of the config file in the selenium
browser because it complained about not having the node require
function. To fix this, I created a separate api test config file without
the node require and removed the 'suites' property from intern.js.
2015-12-29 13:37:50 -05:00
Matthew Bargar 07e3a33b55 disable xsrf protection when running api tests 2015-12-29 13:37:50 -05:00
Matthew Bargar e6100c2f4e First API test 2015-12-29 13:37:50 -05:00
LeeDr 2a8c79d350 Bump Selenium version from 2.47.1 to 2.48.2 to work with latest Firefox 43. Add more debug logging around get url.
Fixes #5750
2015-12-22 16:45:05 +00:00
spalger 45478a3d5f [esvm] added admin role with full access to es 2015-12-14 11:56:01 -07:00
spalger 8e9cb6927c [esvm] add config to start es with shield 2015-12-14 11:10:56 -07:00
Court Ewing ea23878435 More conservative glob against dep tests
When creating builds, we were using a glob that was too liberal in its
matching to identify and clean test files in our dependencies in order
to shave some bytes off of our final build. We now only remove files or
directories that outright match either "test" or "tests" rather than any
file or directory that even includes the word "test" in it.

Fixes #5636
2015-12-10 19:05:36 +00:00
Court Ewing 38d5fc5051 Isolate esvm clusters by purpose
Attempting to run multiple elasticsearch clusters on the same host
without specifying different cluster names actually triggers the
discovery behaviors of elasticsearch, which adds the second es process
as another node of the original cluster. This means that despite running
on different ports, our test setups of elasticsearch actually attempt to
modify the main dev setup.

Fixes #5529
2015-12-02 21:20:56 +00:00
Court Ewing af6175e81a Run server tests on port 9210
The UI tests were already running against a non-default port (ie 9200),
so there is already precedent for this.

Fixes #5529
2015-12-02 21:20:55 +00:00
Joe Fleming e7fdbd11ae Merge branch 'master' into test-rebuild
Conflicts:
	tasks/config/run.js
2015-11-11 11:48:47 -07:00
Joe Fleming 1431d28852 Merge pull request #5292 from w33ble/functional-tests-settings
Initial Kibana functional UI tests - settings app
2015-11-10 15:41:30 -07:00
Joe Fleming beec996a2d make testUIServer run in dev env
force optimize step to run every time
2015-11-10 13:52:07 -07:00
Joe Fleming 2d04ec4afa change serverConfig servers path 2015-11-04 16:08:00 -07:00
Court Ewing 73804e6647 Elasticsearch 2.1 branch for esvm
Kibana 4.3 should be developed against the 2.1 branch of elasticsearch.
2015-11-03 13:01:05 -05:00
Jonathan Budzenski 8af41458ae [functional testing] Centralize server configs 2015-10-26 13:11:28 -05:00
Jonathan Budzenski 90969d9308 [functional testing] Add url configs and util to get pages 2015-10-21 14:26:42 -05:00
Jonathan Budzenski db8f7cdf22 [functional testing] Load scenarios 2015-10-14 15:33:25 -05:00
Jonathan Budzenski d6aed640a2 Merge branch 'master' into functional-testing 2015-10-13 08:59:34 -05:00
Jonathan Budzenski f74eafe5f7 Merge pull request #5025 from w33ble/farewell-zeroclipboard-and-thanks-for-all-the-fish
Remove ng-clip and zeroclipboard
2015-09-23 15:58:51 -05:00
Tim Sullivan 145464138f Merge pull request #5017 from spalger/chore/eslintMocha
[eslint] update and add mocha plugin
2015-09-23 13:43:25 -07:00
Joe Fleming d75bd51171 purge kibana of ng-clip and zeroclipboard 2015-09-23 13:24:26 -07:00
spalger 292a490730 [grunt/eslint] correct comment 2015-09-23 13:15:21 -07:00
Jim Unger ae0f624b2d [unit tests] Fixes generated paths to support windows 2015-09-23 14:50:32 -05:00
spalger 3510336077 [npm] added lint and lintroller scripts 2015-09-22 18:58:14 -07:00
Matt Bargar 67e7c5f578 Merge pull request #4982 from spalger/dev/ensureEsOn9200
[esvm] when starting es, ensure it runs on 9200 or fails
2015-09-21 11:09:09 -04:00
spalger 86454764af [esvm] when starting es, ensure it runs on 9200 or fails 2015-09-18 16:12:56 -07:00
spalger aa42cf786d [tests] log with dots on travis/jenkins 2015-09-18 11:58:12 -07:00
Jonathan Budzenski bb85a6c244 Merge branch 'master' into functional-testing 2015-09-18 09:09:14 -05:00
Spencer 1bcd867f49 Merge pull request #4916 from Bargs/esvmForAllTests
Use esvm to start and stop elasticsearch for all tests that need it
2015-09-17 15:40:39 -07:00
Jonathan Budzenski ca81d4b777 [functional testing] Use grunt-run with selenium 2015-09-15 16:26:04 -05:00
Rashid Khan b7e667df76 Revert npm3, go back to npm2 2015-09-14 13:39:17 -07:00
Jonathan Budzenski 6d44d2e9ef [functional testing] Move task defaults to configs 2015-09-14 09:17:41 -05:00
Jonathan Budzenski a77b962834 Merge branch 'master' into functional-testing 2015-09-11 16:22:18 -05:00