Commit graph

173 commits

Author SHA1 Message Date
archana b58e757794
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-09 18:23:49 -05:00
Justin Kambic 3eb559def5
Fix typo. (#18750) 2018-05-03 08:41:09 -04:00
Nathan Reese 9681fd4cf4
add jest instructions to CONTRIBUTING.md (#18620)
* add jest instructions to CONTRIBUTING.md

* remove package language and move x-pack jest instructions to x-pack/README.md
2018-05-02 13:57:10 -06:00
Hilko a2dae73efa HTTP for standard development URL in documentation (#17834)
The documentation states, that after using `yarn start` one should navigate to https://localhost:5601. For me it did not work, since kibana only seems to listen to https if one provides the "--ssl" flag as option (just as described in #### Setting Up SSL).
Thus, I changed the documentation to reflect this fact.
2018-04-30 10:41:29 -05:00
Tyler Smalley 5d8cf56532
[kbn-es] Use basic license as default (#18577)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2018-04-25 14:00:24 -07:00
Jenkins CI fe4609647d Migrate x-pack-kibana source to kibana 2018-04-24 13:48:10 -07:00
Court Ewing e0424608a6
docs: pull request review guidelines (#17101)
Outlines the general goals/philosophy behind our pull request review
process.
2018-04-19 12:36:37 -04:00
Anh Le 293fee9a59 Added Effective issue reporting in Kibana heading (#17424)
Added missing heading.
2018-03-28 14:27:02 +02:00
Tyler Smalley 82e17f435f
[kbn-es] Package for managing Elasticsearch during dev and testing (#17168)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2018-03-20 08:30:15 -07:00
Søren Louv-Jansen f47cac6427
Add .nvmrc file (#17145)
* Add .nvmrc file

* Update contributing docs

* Fix typo in `nvm use`

* Update "install node" text

* Add test to ensure .nvmrc and .node-version are identical

* Use async/await instead of promise

* Feedback
2018-03-15 14:34:31 +01:00
Spencer 4d246a10a8
[kbn-pm] rename from kbn-build (#16739) 2018-02-14 10:57:13 -07:00
Sherwin a75db2ff53 small gramatical fix in the 'CONTRBUTING.md' (#16659) 2018-02-12 11:40:29 +01:00
Kim Joar Bekkelund 08e48aa847
Kibana build tool (#15055)
* Introduce `kbn`, the Kibana build tool

* yarn kbn

* Make all deps devDeps

* Exclude __fixtures__ folder from Jest to avoid warnings

* Review fixes

* Update readme

* Use 'yarn kbn'

* Consistent rootPath

* Link to kbn tool

* Unsupported URL 'debug help' in contributing guide
2018-01-24 10:34:52 +01:00
Jonathan Budzenski 4a06fd9e0d
Add debug script to set inspect flags (#15967)
* Add debug script to set inspect flags

* remove no-base-path flag
2018-01-10 17:12:20 -06:00
Spencer 0fde087ca2 Switch to Yarn (#15485)
* switch to yarn

* cleanup misc references to npm

* [yarn] loosen dependency ranges so yarn will merge more deps

* fix linting error now that moment uses ESM

* [licenses] font-awesome changed the format of its license id

* Use local yarn

* Misc fixes

* eslintignore built yarn file

* Remove mkdir which doesn't do what it should do

* Check build without upgrading lots of versions

* Fix license check

* too many moments

* Better description

* Review fixes

* Lock to angular@1.6.5

* More specific version locks

* Revert "More specific version locks"

This reverts commit 11ef81102e.

* Revert "Lock to angular@1.6.5"

This reverts commit 3ade68c14c.

* rm yarn.lock; yarn

* Forcing a specific version of React, Angular, Moment

* Using vendored version of yarn in ci

* Use --frozen-lockfile

* fixes
2018-01-10 13:23:43 +01:00
CJ Cenizal 8090af46c8 Update CONTRIBUTING.md with information on how to focus the browser tests on a particular suite when running test:dev. (#14317) 2017-10-05 18:17:05 -07:00
Jonathan Budzenski e2dbf77a6c [build] Commit generated init scripts (#11205) 2017-09-28 14:55:35 -05:00
Kurt Funai 395626efa2 Added a link to the Microsoft VSCode ESLint tool in the CONTRIBUTING.md (#13827) 2017-09-06 15:23:20 -04:00
archana a01959451b Complete doc on running functional tests (#13035)
* Complete doc on running functional tests

* Update development-functional-tests.asciidoc

* Fix section title
2017-08-29 16:48:57 -05:00
Court Ewing 7b836f91b2 Shortcut to build asciidocs (#13164)
* Shortcut to build asciidocs

The command to build the Kibana docs using the elastic/docs repo can be
easy to forget, so this script is an easy to way to do it right every
time.

* Configurable docs repo location

For folks that clone the elastic docs repo to a different location than
as a sibling of kibana.
2017-08-23 10:27:34 -04:00
Jonathan Budzenski c79e22386c Revert same port http -> https redirect (#10930)
- httpolyglot is removed, we no longer automatically redirect from http to https
- server.ssl.redirectHttpFromPort option added to allow for http -> https redirect from one port to another
- We no longer start the dev server with tls by default, it can be turned on with the --ssl flag, npm start -- --ssl, or ./bin/kibana --dev --ssl
- There will currently be error log messages if you connect over the wrong protocol, we have #11209 for downgrading these
2017-07-07 17:15:56 +02:00
CJ Cenizal 45e966b292 Document merge conflict resolution process in CONTRIBUTING.md. (#12212)
* Document merge conflict resolution process in CONTRIBUTING.md.
* Refer to the GitHub forking model.
2017-06-08 15:05:23 -07:00
Court Ewing 2876f1fdf6 Revert "Switch to Yarn (#11637)"
This reverts commit 71a9b8b6bc.

Until we get all the relevant infra configured with yarn as well.
2017-05-27 08:51:19 -04:00
Spencer 71a9b8b6bc Switch to Yarn (#11637) 2017-05-26 19:32:03 -07:00
Chris Roberson b03128da83 Update contributing guidelines due to recent npm script changes (#11794)
* [docs] update contributing guidelines to account for recent changes to makelogs and mocha script execution

* Update for changes to test:ui:runner

* Remove unnecessary command prefix
2017-05-15 14:06:23 -04:00
Jonathan Budzenski 2803fd333a [contributing.md] Remove appSuites (#11369) 2017-04-26 09:02:37 -04:00
Court Ewing 363bdaf22e readme: remove descriptions of P labels
We removed P labels from the repo entirely, so there's no need to
document them.
2017-04-25 11:01:05 -04:00
Jonathan Budzenski 3a6e68a601 Revert update pleaserun (#11304)
* Revert "Update pleaserun.js to use `--log-directory` with 0.0.28 (#11286)"

This reverts commit e96a8d8273.

* Revert "[jenkins] update call to pleaserun with --log-path (#11275)"

This reverts commit be609d9505.
2017-04-18 10:21:05 -05:00
archana be609d9505 [jenkins] update call to pleaserun with --log-path (#11275)
* [jenkins] update pleaserun with --log-path for 0.0.28

* [jenkins] update contributing guide pleaserun version
2017-04-17 11:08:06 -05:00
Spencer 6b0aface7a Minor issues fixed while trying to write browser tests in plugins (#11214)
* [contributing.md] fix command for testing plugins

* [ui/chrome] add navLinkExists() method

* [mocha] expose describe.skip
2017-04-12 17:17:46 -07:00
Spencer 90434765c0 [functionalTestRunner] replace intern (#10910)
* [functional_test_runner] replace functional testing tools with custom/pluggable solution

* [functional_test_runner] Convert unit tests to commonjs format

* [functional_test_runner] Fix dashboard test in wrong mode

* [functional_test_runner] Add dashboardLandingPage test subject

* [functional_test_runner] Get Visualize page object

* [functional_test_runner] Fix outdated references

* [functional_test_runner] Fix more outdated refs

* [functional_test_runner] Remove duplicate tests

* [functional_test_runner] Improve test readability

* [functional_test_runner] 😞 So many duplicate methods

* [functional_test_runner] Move mgmt `before` outside toplevel describe

* [functional_test_runner] Settings page obj missing methods

* [functional_test_runner] Add improvements from @gammon

* [functional_test_runner] Fix return statements in async funcs

* [functional_test_runner] Move before() to correct scope

* [functional_test_runner] Add after() hooks to remove index patterns

* [functional_test_runner] Attempt to fix vertical bar chart tests

* [functional_test_runner] Clean up

* [functional_test_runner] Reinstate unit tests

* [functional_test_runner] Set default loglevel back to info

* [functional_test_runner] Replace `context`s with `describe`s

* [functional_test_runner] Better error handling

* [functional_test_runner] Add in new Tile Map tests

* Incorporate changes from master

* [functional_test_runner] validate that every test file has a single top-level suite

* Update contributing doc with link to full doc

* [docs] Spelling and grammar fixes

* docs: writing and running functional tests

* [docs] Move plugin doc to plugin area

* [docs] Housekeeping. Doc in wrong place

* [docs] Remove dup doc file

* [grunt] Only run mocha_setup when running tests, not every grunt task
2017-04-11 17:01:06 -05:00
MathijsHoogland 36aadda072 Updated broken url in CONTRIBUTING.md (#10715)
* Updated broken url in CONTRIBUTING.md

* Switched url to the master documentation.

* Changes from future release documentation to current release docs.
2017-03-07 20:25:07 -05:00
Spencer 9b39a19856 [optimizer] use "unsafe" defaults that have proven to be safe enough (#10275)
* [optimizer] use "unsafe" defaults that have proven to be safe enough

* [docs] add a note to the CONTRIBUTING.md regarding potential pitfalls
2017-02-15 14:14:12 -07:00
Jesus M. Gonzalez-Barahona 018c3f4677 Add a notice about the port to access Kibana. (#9622) 2016-12-23 14:12:40 -05:00
CJ Cenizal d99976995d Add details on how we use Git and GitHub to CONTRIBUTING.md. (#8978) 2016-11-07 11:26:30 -08:00
Lee Drengenberg 8ed3b333b0 Port #8880 to master Support Cloud testing (#8915)
* Support Cloud Kibana UI testing master

* Add xpack file

* cherry-pick 9f63224e77
2016-11-01 10:44:12 -05:00
fanfan 26cf4c45fc misspelling substituting to subtituting 2016-10-18 16:09:14 +08:00
Stacey Gammon 9c1a0a916b Update contributing guide to be explicit about creating a fork first 2016-09-15 16:14:18 -04:00
CJ Cenizal 244d88e6e5 Add notes on how to test on an IE VM on OS X. 2016-08-19 16:57:58 -07:00
Shaunak Kashyap 28080f3b88
Reverting (the most awesome) part of c4b01f6 2016-08-01 16:21:48 -07:00
Joe Fleming 76e1ad180f Merge pull request #7874 from ycombinator/courté
Clarifying PR approval step
2016-08-01 16:07:41 -07:00
Nicolás Bevacqua 85efc7c1f3 [doc] Adding a comma into to master like there's no tomorrow. 🎉 2016-07-29 20:44:52 -03:00
Nicolás Bevacqua eba253e3f1 [doc] Removed semi-condescending wording. 2016-07-29 17:22:11 -03:00
Shaunak Kashyap c4b01f6e1a
Merge branch 'master' into courté 2016-07-27 16:34:24 -07:00
Shaunak Kashyap 01b2146679
Clarifying PR approval step 2016-07-27 16:30:40 -07:00
Nicolás Bevacqua 86b55d1165 [doc] Improve readability of contributing guidelines. 2016-07-27 18:12:22 -03:00
Thomas Neirynck 4f6b7d42bd Merge pull request #7858 from thomasneirynck/fix/typo
Fix typo
2016-07-27 11:47:35 -04:00
Thomas Neirynck ca4814d3a1 Fix typo 2016-07-27 09:50:23 -04:00
Shaunak Kashyap c823392914
Simplifying language 2016-07-27 06:46:06 -07:00
Nicolás Bevacqua e4775ea6a2 Change into unordered list 2016-07-25 18:36:00 -03:00
Nicolás Bevacqua ed31de6684 Point to test/dev_certs 2016-07-25 10:36:45 -03:00
Jonathan Budzenski b053aad5df [tests] Rename apps option to appSuites so we don't override the intern.apps object 2016-07-19 17:08:01 -05:00
Jonathan Budzenski bcfc69c3d9 [tests] Add docs about filtering options 2016-07-19 16:43:57 -05:00
Jonathan Budzenski 315fc5dc91 [build] update pleaserun version in docs 2016-07-05 16:30:46 -05:00
Jonathan Budzenski 28f30f8b73 [folder structure] installedPlugins -> plugins 2016-07-05 14:05:59 -05:00
LeeDr 596198276b Update switch from Firefox to Chrome 2016-06-17 10:46:05 -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
Shaunak Kashyap df0cad1874
Updating instructions for building OS packages 2016-05-26 08:18:59 -07:00
LeeDr 82b06cd464 Minor update to CONTRIBUTING.md for required Cygwin packages on Windows. 2016-05-05 10:46:13 -05:00
Shaunak Kashyap af7b5f4bfe
Using "pull request" instead of "PR" for consistency with rest of doc 2016-04-08 13:50:24 -05:00
Shaunak Kashyap 8c19da14c7
Adding explicit note about contributors not assigning version labels 2016-04-08 13:47:15 -05:00
Shaunak Kashyap b5b47b6107
s/tag/label/ to match GitHub terminology 2016-04-08 13:46:44 -05:00
Shaunak Kashyap f6b6feea0a
Removing outdated instructions on labeling PRs with versions 2016-04-06 14:49:03 -07:00
Rashid Khan 08ff029b49 Add coverage test notes 2016-03-18 13:11:44 -07:00
Joe Fleming b00a9d97ac Merge pull request #6542 from bevacqua/feature/cli-on-windows
Cross-platform CLI execution of "npm start".
2016-03-17 11:08:39 -07:00
Nicolas Bevacqua 8fce2d2e5c [cli] Cross-platform CLI execution of "npm start". Fixes #4962 2016-03-17 14:19:36 -03:00
Steven R. Loomis 02d2210572 Update CONTRIBUTING.md
* fix a redirected link
* Update docs to mention using a recent Firefox, and use of PATH.
2016-03-16 09:50:32 -07:00
Nicolás Bevacqua 2618d1aa4d Removed typo 2016-03-14 16:00:38 -03:00
Rashid Khan 4f72ae2c29 Add step about merging the target branch 2016-03-08 09:11:33 -07:00
Rashid Khan 0f07dac4f4 Add plugin testing notes, clean up test section formatting 2016-03-01 10:36:55 -07:00
Rashid Khan 705a7b44cc Update CONTRIBUTING.md 2016-03-01 10:16:27 -07:00
Spencer 05085548e1 [contributing] change irc channel to a link 2016-02-26 13:23:44 -07:00
Emily Wenberg 136bafaa91 Fix another typo in contributing doc 2016-02-20 14:16:53 -08:00
Emily Wenberg fe82f04ba6 Fix typo in CONTRIBUTING.md 2016-02-19 18:47:52 -08:00
LeeDr d68f018328 Update CONTRIBUTING.md 2016-02-05 13:38:50 -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
Rashid Khan 5b9b291a3f Fix titles 2016-01-04 13:46:27 -07:00
Rashid Khan 3efdceeb08 Add difficulty 2016-01-04 13:43:41 -07:00
Rashid Khan 9dda629dd2 Add some bits on how issues work 2016-01-04 13:42:07 -07:00
Jonathan Budzenski 4bbee0a88b [packages] Add args for deb and rpm, remove pkg 2015-12-29 15:35:19 -06:00
Jonathan Budzenski c35172bfca [packages] Note that rpm/deb package building is only supported on Linux 2015-12-29 14:24:29 -06:00
Jonathan Budzenski afff6492c2 [packages] Init instructions 2015-12-28 13:55:52 -06:00
Spencer 2c3b9e43d6 Updated formatting 2015-12-14 11:43:33 -07:00
Jesse McCarthy fbc8ee5763 Note Java requirement for npm run elasticsearch. 2015-12-11 13:55:18 -05:00
Matthew Bargar 048f05189a Add documentation for npm run mocha scripts 2015-12-07 10:59:29 -05:00
Joe Fleming 87510bc439 move the automation notes to contributing 2015-11-03 16:42:01 -07:00
Spencer 1e3dd08b99 Merge pull request #4939 from rashidkpc/revert/npm3
Revert npm3, go back to npm2
2015-09-17 15:39:23 -07:00
Rashid Khan b7e667df76 Revert npm3, go back to npm2 2015-09-14 13:39:17 -07:00
Timothy Sullivan 4d4be167b0 update .editorconfig for Markdown
- add trim_trailing_whitespace to .editorconfig, because trailing spaces
  in Markdown have the function of <br>
- also added some content in the CONTRIBUTING doc about Editorconfig
2015-09-14 12:10:32 -07:00
Matt Bargar 96a4e2a44e encourage the use of npm as the main build tool 2015-09-11 15:50:05 -04:00
Spencer c1c632e08a Update CONTRIBUTING.md 2015-09-10 11:19:13 -07:00
spalger 65a261e8a3 [CONTRIBUTING.md] added note about standard config 2015-09-09 16:21:35 -07:00
spalger 7eb3161d67 [CONTRIBUTING.md] added note about using kibana.dev.yml 2015-09-09 15:09:07 -07:00
spalger 941b4b4a0c [npm] rename es task to elasticsearch 2015-08-31 13:09:49 -07:00
spalger 238deaad9e [npm] added es script for running elasticsearch with esvm 2015-08-28 21:45:28 -07:00
spalger edc1734b3c added note to CONTRIBUTING.md about switch 2015-08-26 16:40:00 -07:00
spalger 3cf56058e8 [spelling] 💉 2015-08-19 10:02:07 -07:00
spalger 54a0ce048b [docs] document test commands in contributing.md 2015-08-18 15:45:21 -07:00
spalger 6be825f768 fix the link to eslint in the contributing.md 2015-08-10 20:43:17 -07:00
spalger e0d78a8475 switch to eslint 2015-07-31 17:16:09 -07:00