Commit graph

435 commits

Author SHA1 Message Date
Elastic Jasper
3ea9a7e154 Backport PR #6792
---------

**Commit 1:**
Update selenium from 2.48.2 to 2.53.0 to work with latest Firefox 45.0.1

* Original sha: 81821fc99d
* Authored by LeeDr <lee.drengenberg@elastic.co> on 2016-04-05T20:46:06Z

**Commit 2:**
Update downloadSelenium to match version in intern.js.

* Original sha: 431fe52cec
* Authored by LeeDr <lee.drengenberg@elastic.co> on 2016-04-06T12:36:06Z

**Commit 3:**
Add selenium-server-standalone jar md5.

* Original sha: 4002140a9c
* Authored by LeeDr <lee.drengenberg@elastic.co> on 2016-04-06T13:46:17Z
2016-04-06 14:37:30 -04:00
LeeDr
47c61bb13a 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

Fixes #6194
2016-02-11 16:21:04 +00:00
Court Ewing
255d9a2f28 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.
2015-12-08 10:22:53 -05:00
Court Ewing
ec978ea0d4 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.
2015-12-08 10:21:52 -05:00
LeeDr
1989f114cb Don't run functional UI tests on Travis (add eslint:source).
Fixes #5569
2015-12-04 20:00:13 +00:00
LeeDr
29a10d3601 Don't run functional UI tests on Travis (add eslint:source).
Fixes #5569
2015-12-04 20:00:13 +00:00
LeeDr
f35c0e6557 Don't run functional UI tests on Travis, the resources are insufficient.
Fixes #5569
2015-12-04 20:00:13 +00:00
Joe Fleming
5e1b9f2f07 make testUIServer run in dev env
force optimize step to run every time
2015-11-11 11:50:50 -07:00
Joe Fleming
9592c4d273 change serverConfig servers path 2015-11-10 16:27:14 -07:00
spalger
67e2d68f23 babel requires the directory containing the cache exist 2015-11-06 16:56:59 -06:00
Court Ewing
982d9c73dd Include node engine version in build manifests 2015-11-06 10:41:58 -07:00
Jonathan Budzenski
3602b3e364 Centralize server configs 2015-10-28 14:57:26 -05:00
Jonathan Budzenski
7153162af4 Add url configs and util to get pages 2015-10-28 14:57:26 -05:00
Jonathan Budzenski
a4a99b873c Load scenarios 2015-10-21 08:53:21 -05:00
Jonathan Budzenski
0b78359f9e Backport #4904 2015-10-14 13:27:40 -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
Jonathan Budzenski
611ebf9381 Merge pull request #4978 from spalger/fix/testOutputOnCi
[tests] log with dots on travis/jenkins
2015-09-18 14:57:12 -05:00
spalger
aa42cf786d [tests] log with dots on travis/jenkins 2015-09-18 11:58:12 -07:00
Court Ewing
e2dd40e965 Remove package.json dependencies during build
The kibana app itself requires that package.json exist, so removing it
entirely from distributions is a no go. Instead, we remove only the
dependencies themselves from the package.json so people do not try to
reinstall dependencies on an official distribution.
2015-09-18 14:23:24 -04: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
Court Ewing
8161788eac Remove npm shrinkwrap tasks
We're not maintaining the shrinkwrap as part of the repo, and it doesn't
add any value when being generated automatically as part of our build
process. In its current form, it actually makes it so we cannot
successfully create new builds without manually setting up a local
shrinkwrap first.
2015-09-17 17:57:46 -04:00
Court Ewing
690d204b28 Create shrinkwrap from build
The npm shrinkwrap that we generate during build in order to package
with distributions is now properly created based on the built
dependencies rather than the local dev install.
2015-09-17 16:28:27 -04:00
Rashid Khan
b7e667df76 Revert npm3, go back to npm2 2015-09-14 13:39:17 -07:00
Matt Bargar
f9f0a9f163 give the test config its own esvm directory that it can purge as much as it likes 2015-09-10 19:44:56 -04:00
Matt Bargar
03e109f753 Use esvm to start and stop elasticsearch for all tests that need it 2015-09-10 14:57:54 -04:00
spalger
8aa0287dd7 [build] expose build specific babel config
During build we transpile the server source to prevent runtime transpilation with babel/register. In order to support untranspiled plugin code, we still use babel/register with special ignore options, which used to be included in cli/index.js and now is moved to src/optimize/babelOptions.js so other code that wants to initialize a server (without the cli) can also configure babel/register.
2015-09-07 17:22:42 -07:00
spalger
0f4fe22252 [build/shrinkwrap] apparently it is loglevel 2015-09-07 17:03:04 -07:00
spalger
3672ac5ebf [esvm] test against es 2.0 2015-09-03 16:28:31 -07:00
Joe Fleming
4463355c8f Merge pull request #4815 from spalger/node/downgradeTo012
[node] downgrade to 0.12.7
2015-09-01 14:49:22 -07:00
spalger
af2c09edbb [build] prevent massive warnings in build
Since npm is creating a shrinkwrap file that ignores devDeps it logs a huge number of warnings, and since these warnings are logged to stderr they are not hidden by exec.silent(). This changes the logLevel to "error" for these commands and removes the `.silent()` call so that it is clear what is happening
2015-09-01 09:06:28 -07:00
spalger
708f1f1a25 [node] downgrade to 0.12.7
While working to reintroduce shrinkwrap into our workflow it became
apparent that we needed to be using npm3 but unfortunately node-gyp
is not compatible with iojs, and the iojs distros actually contain a
patched version. This means that you can only use iojs with the npm
it ships with.

When trying to find a solution for this issue, we contemplated not
using npm3, but that would mean that we can't use npm-shrinkwrap and
decided that since we are using babel anyway that switching back to
node was the best option.

The only code that must be updated to work in the new node 0.12 env
is lodash templates that use the template string syntax inside their
source (Since 0.12 does not support template strings).
2015-08-31 21:58:46 -07:00
spalger
fa35652bd8 [babel] configure babel to use native generators in node 2015-08-27 19:06:50 -07:00
Joe Fleming
3b18afee8f use exec.silent so npm errors are not swallowed 2015-08-27 09:32:51 -07:00
Joe Fleming
62df5a19c6 proper shrinkwrap in build and release
build will create it if it's missing, copy it to the build and also create a version without dev deps
release requires it and fatals if it doesn't exist

Conflicts:
	tasks/build/index.js
2015-08-26 18:41:37 -07:00
Joe Fleming
8918f26e21 clearer task naming 2015-08-26 18:41:03 -07:00
spalger
694ab70cbe Merge branch 'master' of github.com:elastic/kibana into implement/npm3 2015-08-26 17:12:19 -07:00
spalger
af3387442d [build] ☝️ include webpackShims in build 2015-08-26 17:05:54 -07:00
spalger
faa1011bbd upgrade to npm 3.0 2015-08-26 16:36:19 -07:00
Jim Unger
85e3579105 Merge pull request #4742 from w33ble/test-coverage
Return of the test coverage
2015-08-26 11:51:02 -05:00
Joe Fleming
a395853f34 fix test server command for windows machines 2015-08-26 09:39:01 -07:00
Spencer
2f780507bf Merge pull request #4665 from spalger/chore/packageJsonUpkeep
[package.json] clear out old packages and move dev packages into place
2015-08-25 08:58:20 -07:00
Joe Fleming
2e3ba07774 generate the test coverage 2015-08-24 17:10:21 -07:00
Spencer
6525554a3d Merge pull request #4706 from spalger/implement/testingDocsAndHelpers
Testing docs and helpers
2015-08-19 13:14:24 -07:00