Commit graph

496 commits

Author SHA1 Message Date
Rashid Khan
13da673bc8 Merge branch 'master' of github.com:elastic/kibana into migrate/timelion 2016-09-02 12:47:19 -07:00
spalger
88427e9a43 add test sharding
The tests in master are currently failing regularly because our current browser tests are serious memory hogs. Investigation reveals that nearly every test is retaining all of the memory it causes to be allocated. We have made some progress to being able to diagnose the problems, but we expect that problem to take some serious work to fix. We need a short-term solution though, and this is it.

Rather than modify the bundling process, we will shard the top-level test suites by name. For now, we've created 4 shards, but adding new shards is trivial if we need to.

Sharding is accomplished by creating a murmur3 hash of the top level suite names, then bucketing based on the hash output. If a test suite resolves to shard2, but we are running shard1, we simply never pass the function to `mocha.describe()`. Rather than redefine every describe statement, we have shimmed the global `window.describe()` function to accomplish this.
2016-09-02 10:38:29 -07:00
Rashid Khan
1c47159939 Merge branch 'master' of github.com:elastic/kibana into migrate/timelion 2016-08-29 09:09:01 -07:00
Tyler Smalley
ad97552c03 Upgrade to Node 6.4.0
* Updated dependencies to include graceful-fs ~4.0
* Replaced deprecated grunt-s3 package with suggested grunt-aws-s3
* Update licenses task to better support npm 3

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2016-08-25 08:40:14 -07:00
Tyler Smalley
dad5195bfe Bump elasticsearch and elasticsearch-browser
Resolves issue with Elasticsearch breaking change introduced in https://github.com/elastic/elasticsearch/pull/20001

Fixes #8028

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2016-08-19 10:00:58 -07:00
Rashid Khan
c50c5fba53 Add timelion tests 2016-08-15 11:29:17 -07:00
Rashid Khan
52b1fea73b Add timelion dependencies 2016-08-12 14:15:58 -07:00
Court Ewing
4b36f9ab65 version 5.0.0-alpha6 2016-08-09 12:18:28 -04:00
Lee Drengenberg
a7942b1056 Merge pull request #7859 from ppisljar/downgradeChromeDriver
upgrade chromedriver 2.21.2 -> 2.22.1
2016-08-03 12:22:15 -05:00
ppisljar
0a1838ef6e upgrading chromedriver to latest version 2016-08-02 13:55:47 +02:00
ppisljar
13d7db3ebe downgrading chromedriver 2016-07-27 17:18:03 +02:00
Jonathan Budzenski
7cf64c75a5
Bump marked 2016-07-27 08:54:33 -05:00
Court Ewing
937dc70724 Bump makelogs to support timestamp changes in ES
Makelogs 3.0.2 is compatible with the latest breaking changes to
timestamps in Elasticsearch master.
2016-07-19 15:48:56 -04:00
CJ Cenizal
f23d98e7db Merge pull request #7591 from cjcenizal/refactor/remove-angular-bootstrap-dependency
Remove angular-bootstrap dependency.
2016-07-05 15:41:14 -07:00
CJ Cenizal
2cf49428a5 Remove bootstrap dependency. Move bootstrap less and glyphicon fonts into src/ui/public/styles/bootstrap and /fonts. 2016-07-05 13:30:48 -07:00
CJ Cenizal
08f5061247 Remove angular-bootstrap dependency. Copy required code into src/ui/public/angular-bootstrap directory for future refactoring and deprecation. 2016-07-05 12:27:20 -07:00
CJ Cenizal
d9cf54f119 Rename 'fields' property to 'stored_fields' to adhere to new ES msearch API.
- Upgrade elasticsearch client to 12.0.0-rc4.
2016-07-05 08:01:52 -07:00
Court Ewing
b940966471 Bump to 5.0.0-alpha5 2016-07-04 09:40:10 -04:00
Court Ewing
117581ffe2 Bump node to 4.4.7 and npm to 2.15.8 2016-06-29 10:48:24 -04:00
CJ Cenizal
37f82f146f Create visual_regression test suite.
- Add test:visualRegression npm script.
- Split up test:visualRegression grunt task into takeScreenshots and buildGallery subtasks.
- Add intern_visual_regression.js test file.
- Rename api_itern.js -> intern_api.js for consistency.
- Refactor delayed exports logic for readability.
- Refactor common.js page object to use ES2015 Class.
2016-06-21 20:50:55 -07:00
CJ Cenizal
5caa6c0626 Merge pull request #7515 from cjcenizal/grunt/visual-regression-subtask
Move visualRegression subtask from npm scripts to grunt task.
2016-06-21 12:03:24 -07:00
CJ Cenizal
ca9b085ef0 Remove test:visualRegression from test npm script.
- Add it to end of test grunt task.
2016-06-21 11:23:40 -07:00
CJ Cenizal
2694a84ea9 Merge pull request #7524 from cjcenizal/improvement/silence-dot-template-log
Update visualRegression task to use Handlebars instead of DoT templates.
2016-06-21 11:18:18 -07:00
CJ Cenizal
e1ef581747 Upgrade to npm@2.15.1, which resolves the discrepenacy with the defined engine, and resolves the licenses task failure wrt abbrev@1.0.7. 2016-06-21 10:51:56 -07:00
CJ Cenizal
45437de0ba Update visualRegression task to use Handlebars instead of DoT templates.
- This eliminates the annoying DoT messages from the terminal.
2016-06-21 10:42:49 -07:00
Matt Bargar
15a4fa1cdd Merge pull request #7372 from elastic/feature/ingest
Add Data - CSV
2016-06-17 16:23:46 -04:00
Lee Drengenberg
e2ff6bb7a5 Merge pull request #7442 from LeeDr/runTestsOnChrome
Re-implement most of PR #7024 switch to Chrome browser
2016-06-17 15:06:40 -05:00
Court Ewing
1e2c953f16 Release task now always publishes to staging
Production builds should never be published directly from a local
machine. Instead, the release command will now publish to a
commit-specific staging URL, so you use it to publish a release
candidate, and then when those builds have been verified, you need to
copy the RC builds from on the staging location on s3 to the production
folder.
2016-06-17 14:26:08 -04:00
Nicolás Bevacqua
6419e5a814 Merge pull request #6791 from bevacqua/feature/custom-toaster-banner
Added a custom banner feature in advanced settings
2016-06-16 16:12:54 -03:00
LeeDr
ae56c13583 merge master 2016-06-16 13:54:01 -05:00
Matthew Bargar
b853d89139 Merge branch 'master' into feature/ingest 2016-06-16 14:23:12 -04:00
Court Ewing
54af670045 Merge pull request #7476 from epixa/datemathbump
Bump datemath to 2.3.0
2016-06-16 14:19:05 -04:00
Nicolás Bevacqua
f36cb6524a Merge branch 'master' into feature/custom-toaster-banner 2016-06-16 14:32:39 -03:00
Matthew Bargar
0065fbaa9b Merge branch 'master' into feature/ingest
Resolved conflicts, still need to move around some add data files.
2016-06-16 12:57:29 -04:00
Court Ewing
49c3401864 Merge pull request #7478 from ycombinator/upgrade-makelogs
Use the latest makelogs
2016-06-16 07:31:39 -04:00
Shaunak Kashyap
aedcdf716d
Use the latest makelogs 2016-06-15 21:25:12 -07:00
Court Ewing
1febea9da6 Bump datemath to 2.3.0 2016-06-15 16:38:24 -04:00
Timothy Sullivan
ac9f59fced bump version to 5.0.0-alpha4 2016-06-15 10:25:06 -07:00
LeeDr
bfcb875c77 Merge master 2016-06-15 11:29:23 -05:00
Court Ewing
dbfee59b66 Merge pull request #7317 from epixa/newbuild
Apply -snapshot suffix during build task
2016-06-14 16:25:39 -04:00
CJ Cenizal
aa47599cd1 Merge pull request #7410 from cjcenizal/improvement/ui-screenshot-coverage
Take screenshots of UI throughout functional tests.
2016-06-14 08:54:17 -07:00
LeeDr
3e22acdaf9 Update intern version to 3.2.3, fix failing test 2016-06-14 10:41:37 -05:00
CJ Cenizal
9e353fd451 Add visual regression screenshot gallery.
- Add 'test:visualRegression' grunt task.
- Run 'test:visualRegression' as part of npm script 'test'.
- Add 'clean:screenshots task'.
- Clean screenshots/session when funtional tests are run.
2016-06-14 08:33:45 -07:00
Court Ewing
4b36d05e52 Bump moment.js to latest version 2016-06-14 07:52:31 -04:00
LeeDr
01255ee4d4 Re-implement most of PR #7024 switch to Chrome browser 2016-06-13 16:03:40 -05:00
Court Ewing
834f56392e Apply -snapshot suffix during build task
The default behavior of the build task is to now apply the -snapshot
suffix dynamically rather than us manually hardcoding and managing it
within the source code itself. The `--release` flag will drop the
-snapshot suffix on a build, which should be used for any release
candidate.

The default behavior of the build task has also changed to create
rpm/deb packages as well. Since we've only confirmed that this works on
linux, you can override that behavior by passing `skip-os-packages`.

If you do not want to create any zip or tar.gz archives, you can pass
`--skip-archives`.
2016-06-11 15:57:30 -04:00
Matthew Bargar
a0915145dd Merge branch 'master' into feature/ingest 2016-06-10 16:27:42 -04:00
spalger
a28dd03d66 updated grunt-esvm to latest 2016-06-09 13:49:31 -07:00
CJ Cenizal
9fa2e82b31 Add screenshot-comparison utility, to protect against visual regressions during CSS refactors.
- Remove test/output and added test/screenshots (requires a Jenkins change).
- Add test/screenshots/baseline images. These document the expected state of the UI.
- Add dependency on image-diff package.
- Add utilities/compareScreenshots.js, which can be run via 'npm run compareScreenshots'.
2016-06-08 15:52:23 -07:00
Matthew Bargar
0a956057f6 Merge branch 'master' into feature/ingest 2016-06-03 15:53:42 -04:00