Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add flag for building static storybook site #58050

Merged
merged 5 commits into from
Feb 20, 2020

Conversation

poffdeluxe
Copy link
Contributor

Summary

Using the --site flag you can build a static version of the given storybook

Checklist

Delete any items that are not applicable to this PR.

- [ ] Any text added follows EUI's writing guidelines, uses sentence case text and includes i18n support
- [ ] Documentation was added for features that require explanation or tutorials
- [ ] Unit or functional tests were updated or added to match the most common scenarios
- [ ] This was checked for keyboard-only and screenreader accessibility
- [ ] This renders correctly on smaller devices using a responsive layout. (You can test this in your browser
- [ ] This was checked for cross-browser compatibility, including a check against IE11

For maintainers

@poffdeluxe poffdeluxe added loe:small Small Level of Effort v8.0.0 release_note:skip Skip the PR/issue when compiling release notes impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. v7.7.0 labels Feb 19, 2020
@poffdeluxe poffdeluxe requested a review from a team as a code owner February 19, 2020 20:51
@poffdeluxe poffdeluxe requested a review from streamich February 19, 2020 20:51
@kibanamachine
Copy link
Contributor

💛 Build succeeded, but was flaky


Test Failures

Kibana Pipeline / kibana-xpack-agent / Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/discover/feature_controls/discover_security·ts.discover feature controls security global discover all privileges allow saving via the saved query management component popover with no query loaded

Link to Jenkins

Standard Out

Failed Tests Reporter:
  - Test has failed 14 times on tracked branches: https://github.com/elastic/kibana/issues/45348

[00:00:00]       │
[00:03:35]         └-: discover
[00:03:35]           └-> "before all" hook
[00:03:35]           └-: feature controls
[00:03:35]             └-> "before all" hook
[00:03:35]             └-: security
[00:03:35]               └-> "before all" hook
[00:03:35]               └-> "before all" hook
[00:03:35]                 │ info [discover/feature_controls/security] Loading "mappings.json"
[00:03:35]                 │ info [discover/feature_controls/security] Loading "data.json"
[00:03:35]                 │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1582145494671731139] [.kibana_1/2VmRm9RqRS2skbndTSsdCw] deleting index
[00:03:35]                 │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1582145494671731139] [.kibana_2/JslPRcuITjmbv7-V4lJI0w] deleting index
[00:03:35]                 │ info [discover/feature_controls/security] Deleted existing index [".kibana_2",".kibana_1"]
[00:03:35]                 │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1582145494671731139] [.kibana] creating index, cause [api], templates [], shards [1]/[0], mappings [_doc]
[00:03:35]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1582145494671731139] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana][0]]]).
[00:03:35]                 │ info [discover/feature_controls/security] Created index ".kibana"
[00:03:35]                 │ debg [discover/feature_controls/security] ".kibana" settings {"index":{"number_of_shards":"1","auto_expand_replicas":"0-1","number_of_replicas":"0"}}
[00:03:35]                 │ info [discover/feature_controls/security] Indexed 3 docs into ".kibana"
[00:03:37]                 │ info Creating index .kibana_2.
[00:03:37]                 │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1582145494671731139] [.kibana_2] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:03:37]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1582145494671731139] updating number_of_replicas to [0] for indices [.kibana_2]
[00:03:37]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1582145494671731139] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_2][0]]]).
[00:03:37]                 │ info Reindexing .kibana to .kibana_1
[00:03:37]                 │ info [o.e.c.m.MetaDataCreateIndexService] [kibana-ci-immutable-centos-tests-xl-1582145494671731139] [.kibana_1] creating index, cause [api], templates [], shards [1]/[1], mappings [_doc]
[00:03:37]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1582145494671731139] updating number_of_replicas to [0] for indices [.kibana_1]
[00:03:37]                 │ info [o.e.c.r.a.AllocationService] [kibana-ci-immutable-centos-tests-xl-1582145494671731139] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_1][0]]]).
[00:03:37]                 │ info [o.e.t.LoggingTaskListener] [kibana-ci-immutable-centos-tests-xl-1582145494671731139] 4558 finished with response BulkByScrollResponse[took=38.7ms,timed_out=false,sliceId=null,updated=0,created=3,deleted=0,batches=1,versionConflicts=0,noops=0,retries=0,throttledUntil=0s,bulk_failures=[],search_failures=[]]
[00:03:37]                 │ info [o.e.c.m.MetaDataDeleteIndexService] [kibana-ci-immutable-centos-tests-xl-1582145494671731139] [.kibana/2F1CLQEpS2OG-9YnU7y04A] deleting index
[00:03:37]                 │ info Migrating .kibana_1 saved objects to .kibana_2
[00:03:37]                 │ debg Migrating saved objects index-pattern:logstash-*, config:6.0.0, query:okjpgs
[00:03:37]                 │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1582145494671731139] [.kibana_2/oeKzSLskStKSZZrvdARLww] update_mapping [_doc]
[00:03:37]                 │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1582145494671731139] [.kibana_2/oeKzSLskStKSZZrvdARLww] update_mapping [_doc]
[00:03:37]                 │ info Pointing alias .kibana to .kibana_2.
[00:03:37]                 │ info Finished in 708ms.
[00:03:37]                 │ debg applying update to kibana config: {"accessibility:disableAnimations":true,"dateFormat:tz":"UTC"}
[00:03:38]                 │ info [o.e.c.m.MetaDataMappingService] [kibana-ci-immutable-centos-tests-xl-1582145494671731139] [.kibana_2/oeKzSLskStKSZZrvdARLww] update_mapping [_doc]
[00:03:39]                 │ info [logstash_functional] Loading "mappings.json"
[00:03:39]                 │ info [logstash_functional] Loading "data.json.gz"
[00:03:39]                 │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.22"
[00:03:39]                 │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.20"
[00:03:39]                 │ info [logstash_functional] Skipped restore for existing index "logstash-2015.09.21"
[00:03:42]                 │ debg SecurityPage.forceLogout
[00:03:42]                 │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=100
[00:03:42]                 │ debg --- retry.tryForTime error: .login-form is not displayed
[00:03:42]                 │ debg Redirecting to /logout to force the logout
[00:03:42]                 │ debg Waiting on the login form to appear
[00:03:42]                 │ debg Waiting up to 100000ms for login form...
[00:03:42]                 │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:03:42]                 │ debg browser[INFO] http://localhost:6131/logout?_t=1582147852780 350 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:03:42]                 │
[00:03:42]                 │ debg browser[INFO] http://localhost:6131/bundles/app/logout/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:03:48]                 │ debg --- retry.tryForTime error: .login-form is not displayed
[00:03:49]                 │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:03:54]                 │ debg browser[INFO] http://localhost:6131/bundles/plugin/data/data.plugin.js 67:139970 "INFO: 2020-02-19T21:31:02Z
[00:03:54]                 │        Adding connection to http://localhost:6131/elasticsearch
[00:03:54]                 │
[00:03:54]                 │      "
[00:03:54]                 │ debg browser[INFO] http://localhost:6131/login?_t=1582147852780 350 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:03:54]                 │
[00:03:54]                 │ debg browser[INFO] http://localhost:6131/bundles/app/login/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:03:54]                 │ debg --- retry.tryForTime error: .login-form is not displayed
[00:03:55]                 │ debg Find.existsByDisplayedByCssSelector('.login-form') with timeout=2500
[00:03:58]                 │ debg browser[INFO] http://localhost:6131/bundles/plugin/data/data.plugin.js 67:139970 "INFO: 2020-02-19T21:31:08Z
[00:03:58]                 │        Adding connection to http://localhost:6131/elasticsearch
[00:03:58]                 │
[00:03:58]                 │      "
[00:03:58]               └-: global discover all privileges
[00:03:58]                 └-> "before all" hook
[00:03:58]                 └-> "before all" hook
[00:03:58]                   │ debg creating role global_discover_all_role
[00:03:58]                   │ info [o.e.x.s.a.r.TransportPutRoleAction] [kibana-ci-immutable-centos-tests-xl-1582145494671731139] added role [global_discover_all_role]
[00:03:58]                   │ debg created role global_discover_all_role
[00:03:58]                   │ debg creating user global_discover_all_user
[00:03:59]                   │ info [o.e.x.s.a.u.TransportPutUserAction] [kibana-ci-immutable-centos-tests-xl-1582145494671731139] added user [global_discover_all_user]
[00:03:59]                   │ debg created user global_discover_all_user
[00:03:59]                   │ debg navigating to login url: http://localhost:6131/login
[00:03:59]                   │ debg Navigate to: http://localhost:6131/login
[00:03:59]                   │ debg ... sleep(700) start
[00:03:59]                   │ debg browser[INFO] http://localhost:6131/login?_t=1582147869169 350 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:03:59]                   │
[00:03:59]                   │ debg browser[INFO] http://localhost:6131/bundles/app/login/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:03:59]                   │ debg ... sleep(700) end
[00:03:59]                   │ debg returned from get, calling refresh
[00:04:00]                   │ debg browser[INFO] http://localhost:6131/login?_t=1582147869169 350 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:04:00]                   │
[00:04:00]                   │ debg browser[INFO] http://localhost:6131/bundles/app/login/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:04:00]                   │ debg currentUrl = http://localhost:6131/login
[00:04:00]                   │          appUrl = http://localhost:6131/login
[00:04:00]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:04:04]                   │ debg browser[INFO] http://localhost:6131/bundles/plugin/data/data.plugin.js 67:139970 "INFO: 2020-02-19T21:31:14Z
[00:04:04]                   │        Adding connection to http://localhost:6131/elasticsearch
[00:04:04]                   │
[00:04:04]                   │      "
[00:04:04]                   │ debg ... sleep(501) start
[00:04:05]                   │ debg ... sleep(501) end
[00:04:05]                   │ debg in navigateTo url = http://localhost:6131/login#/
[00:04:05]                   │ debg TestSubjects.exists(statusPageContainer)
[00:04:05]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:04:08]                   │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:04:08]                   │ debg TestSubjects.setValue(loginUsername, global_discover_all_user)
[00:04:08]                   │ debg TestSubjects.click(loginUsername)
[00:04:08]                   │ debg Find.clickByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:04:08]                   │ debg Find.findByCssSelector('[data-test-subj="loginUsername"]') with timeout=10000
[00:04:09]                   │ debg TestSubjects.setValue(loginPassword, global_discover_all_user-password)
[00:04:09]                   │ debg TestSubjects.click(loginPassword)
[00:04:09]                   │ debg Find.clickByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:04:09]                   │ debg Find.findByCssSelector('[data-test-subj="loginPassword"]') with timeout=10000
[00:04:09]                   │ debg TestSubjects.click(loginSubmit)
[00:04:09]                   │ debg Find.clickByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:04:09]                   │ debg Find.findByCssSelector('[data-test-subj="loginSubmit"]') with timeout=10000
[00:04:09]                   │ debg Waiting up to 20000ms for logout button visible...
[00:04:09]                   │ debg TestSubjects.exists(userMenuButton)
[00:04:09]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenuButton"]') with timeout=2500
[00:04:13]                   │ debg browser[INFO] http://localhost:6131/app/kibana 350 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:04:13]                   │
[00:04:13]                   │ debg browser[INFO] http://localhost:6131/bundles/app/kibana/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:04:13]                   │ debg --- retry.tryForTime error: [data-test-subj="userMenuButton"] is not displayed
[00:04:14]                   │ debg browser[INFO] http://localhost:6131/bundles/plugin/data/data.plugin.js 67:139970 "INFO: 2020-02-19T21:31:24Z
[00:04:14]                   │        Adding connection to http://localhost:6131/elasticsearch
[00:04:14]                   │
[00:04:14]                   │      "
[00:04:14]                   │ debg TestSubjects.exists(userMenuButton)
[00:04:14]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenuButton"]') with timeout=2500
[00:04:17]                   │ debg TestSubjects.exists(userMenu)
[00:04:17]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"]') with timeout=2500
[00:04:20]                   │ debg --- retry.tryForTime error: [data-test-subj="userMenu"] is not displayed
[00:04:20]                   │ debg TestSubjects.click(userMenuButton)
[00:04:20]                   │ debg Find.clickByCssSelector('[data-test-subj="userMenuButton"]') with timeout=10000
[00:04:20]                   │ debg Find.findByCssSelector('[data-test-subj="userMenuButton"]') with timeout=10000
[00:04:20]                   │ debg Waiting up to 20000ms for user menu opened...
[00:04:20]                   │ debg TestSubjects.exists(userMenu)
[00:04:20]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"]') with timeout=2500
[00:04:20]                   │ debg TestSubjects.exists(userMenu > logoutLink)
[00:04:20]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="userMenu"] [data-test-subj="logoutLink"]') with timeout=2500
[00:04:20]                 └-> shows discover navlink
[00:04:20]                   └-> "before each" hook: global before each
[00:04:20]                   │ debg TestSubjects.find(navDrawer)
[00:04:20]                   │ debg Find.findByCssSelector('[data-test-subj="navDrawer"]') with timeout=10000
[00:04:20]                   └- ✓ pass  (37ms) "discover feature controls security global discover all privileges shows discover navlink"
[00:04:20]                 └-> shows save button
[00:04:20]                   └-> "before each" hook: global before each
[00:04:20]                   │ debg navigating to discover url: http://localhost:6131/app/kibana#/discover
[00:04:20]                   │ debg Navigate to: http://localhost:6131/app/kibana#/discover
[00:04:21]                   │ debg ... sleep(700) start
[00:04:21]                   │ debg browser[INFO] http://localhost:6131/app/kibana?_t=1582147890986#/discover 350 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:04:21]                   │
[00:04:21]                   │ debg browser[INFO] http://localhost:6131/bundles/app/kibana/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:04:21]                   │ debg ... sleep(700) end
[00:04:21]                   │ debg returned from get, calling refresh
[00:04:22]                   │ debg browser[INFO] http://localhost:6131/app/kibana?_t=1582147890986#/discover 350 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'unsafe-eval' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-P5polb1UreUSOe5V/Pv7tc+yeZuJXiOi/3fqhGsU7BE='), or a nonce ('nonce-...') is required to enable inline execution.
[00:04:22]                   │
[00:04:22]                   │ debg browser[INFO] http://localhost:6131/bundles/app/kibana/bootstrap.js 9:19 "^ A single error about an inline script not firing due to content security policy is expected!"
[00:04:23]                   │ debg currentUrl = http://localhost:6131/app/kibana#/discover
[00:04:23]                   │          appUrl = http://localhost:6131/app/kibana#/discover
[00:04:23]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=60000
[00:04:28]                   │ debg TestSubjects.find(kibanaChrome)
[00:04:28]                   │ debg Find.findByCssSelector('[data-test-subj="kibanaChrome"]') with timeout=10000
[00:04:28]                   │ debg browser[INFO] http://localhost:6131/bundles/plugin/data/data.plugin.js 67:139970 "INFO: 2020-02-19T21:31:37Z
[00:04:28]                   │        Adding connection to http://localhost:6131/elasticsearch
[00:04:28]                   │
[00:04:28]                   │      "
[00:04:28]                   │ debg ... sleep(501) start
[00:04:29]                   │ debg ... sleep(501) end
[00:04:29]                   │ debg in navigateTo url = http://localhost:6131/app/kibana#/discover?_g=()&_a=(columns:!(_source),index:%27logstash-*%27,interval:auto,query:(language:kuery,query:%27%27),sort:!())
[00:04:29]                   │ debg --- retry.try error: URL changed, waiting for it to settle
[00:04:30]                   │ debg ... sleep(501) start
[00:04:30]                   │ debg ... sleep(501) end
[00:04:30]                   │ debg in navigateTo url = http://localhost:6131/app/kibana#/discover?_g=()&_a=(columns:!(_source),index:%27logstash-*%27,interval:auto,query:(language:kuery,query:%27%27),sort:!())
[00:04:30]                   │ debg TestSubjects.exists(statusPageContainer)
[00:04:30]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="statusPageContainer"]') with timeout=2500
[00:04:33]                   │ debg --- retry.tryForTime error: [data-test-subj="statusPageContainer"] is not displayed
[00:04:33]                   │ debg TestSubjects.exists(discoverSaveButton)
[00:04:33]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="discoverSaveButton"]') with timeout=20000
[00:04:33]                   └- ✓ pass  (13.0s) "discover feature controls security global discover all privileges shows save button"
[00:04:33]                 └-> doesn't show read-only badge
[00:04:33]                   └-> "before each" hook: global before each
[00:04:33]                   │ debg TestSubjects.missingOrFail(headerBadge)
[00:04:33]                   │ debg Find.waitForDeletedByCssSelector('[data-test-subj="headerBadge"]') with timeout=2500
[00:04:34]                   └- ✓ pass  (537ms) "discover feature controls security global discover all privileges doesn't show read-only badge"
[00:04:34]                 └-> Permalinks shows create short-url button
[00:04:34]                   └-> "before each" hook: global before each
[00:04:34]                   │ debg openShareMenuItem title:Permalinks
[00:04:34]                   │ debg TestSubjects.exists(shareContextMenu)
[00:04:34]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="shareContextMenu"]') with timeout=2500
[00:04:36]                   │ debg --- retry.tryForTime error: [data-test-subj="shareContextMenu"] is not displayed
[00:04:37]                   │ debg TestSubjects.click(shareTopNavButton)
[00:04:37]                   │ debg Find.clickByCssSelector('[data-test-subj="shareTopNavButton"]') with timeout=10000
[00:04:37]                   │ debg Find.findByCssSelector('[data-test-subj="shareTopNavButton"]') with timeout=10000
[00:04:37]                   │ debg Find.findByCssSelector('div.euiContextMenuPanel') with timeout=10000
[00:04:37]                   │ debg TestSubjects.click(sharePanel-Permalinks)
[00:04:37]                   │ debg Find.clickByCssSelector('[data-test-subj="sharePanel-Permalinks"]') with timeout=10000
[00:04:37]                   │ debg Find.findByCssSelector('[data-test-subj="sharePanel-Permalinks"]') with timeout=10000
[00:04:37]                   │ debg Find.waitForElementStale with timeout=10000
[00:04:37]                   │ debg TestSubjects.exists(createShortUrl)
[00:04:37]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="createShortUrl"]') with timeout=120000
[00:04:38]                   │ debg TestSubjects.click(shareTopNavButton)
[00:04:38]                   │ debg Find.clickByCssSelector('[data-test-subj="shareTopNavButton"]') with timeout=10000
[00:04:38]                   │ debg Find.findByCssSelector('[data-test-subj="shareTopNavButton"]') with timeout=10000
[00:04:38]                   └- ✓ pass  (3.7s) "discover feature controls security global discover all privileges Permalinks shows create short-url button"
[00:04:38]                 └-> allow saving via the saved query management component popover with no query loaded
[00:04:38]                   └-> "before each" hook: global before each
[00:04:38]                   │ debg TestSubjects.exists(saved-query-management-popover)
[00:04:38]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="saved-query-management-popover"]') with timeout=2500
[00:04:40]                   │ debg --- retry.tryForTime error: [data-test-subj="saved-query-management-popover"] is not displayed
[00:04:41]                   │ debg TestSubjects.click(saved-query-management-popover-button)
[00:04:41]                   │ debg Find.clickByCssSelector('[data-test-subj="saved-query-management-popover-button"]') with timeout=10000
[00:04:41]                   │ debg Find.findByCssSelector('[data-test-subj="saved-query-management-popover-button"]') with timeout=10000
[00:04:41]                   │ debg TestSubjects.click(saved-query-management-save-button)
[00:04:41]                   │ debg Find.clickByCssSelector('[data-test-subj="saved-query-management-save-button"]') with timeout=10000
[00:04:41]                   │ debg Find.findByCssSelector('[data-test-subj="saved-query-management-save-button"]') with timeout=10000
[00:04:41]                   │ debg TestSubjects.exists(saveQueryForm)
[00:04:41]                   │ debg Find.existsByDisplayedByCssSelector('[data-test-subj="saveQueryForm"]') with timeout=120000
[00:04:44]                   │ debg --- retry.tryForTime error: [data-test-subj="saveQueryForm"] is not displayed
[00:04:47]                   │ debg --- retry.tryForTime failed again with the same message...
[00:04:50]                   │ debg --- retry.tryForTime failed again with the same message...
[00:04:53]                   │ debg --- retry.tryForTime failed again with the same message...
[00:04:56]                   │ debg --- retry.tryForTime failed again with the same message...
[00:04:59]                   │ debg --- retry.tryForTime failed again with the same message...
[00:05:02]                   │ debg --- retry.tryForTime failed again with the same message...
[00:05:05]                   │ debg --- retry.tryForTime failed again with the same message...
[00:05:08]                   │ debg --- retry.tryForTime failed again with the same message...
[00:05:11]                   │ debg --- retry.tryForTime failed again with the same message...
[00:05:14]                   │ debg --- retry.tryForTime failed again with the same message...
[00:05:17]                   │ debg --- retry.tryForTime failed again with the same message...
[00:05:20]                   │ debg --- retry.tryForTime failed again with the same message...
[00:05:23]                   │ debg --- retry.tryForTime failed again with the same message...
[00:05:26]                   │ debg --- retry.tryForTime failed again with the same message...
[00:05:29]                   │ debg --- retry.tryForTime failed again with the same message...
[00:05:32]                   │ debg --- retry.tryForTime failed again with the same message...
[00:05:35]                   │ debg --- retry.tryForTime failed again with the same message...
[00:05:38]                   │ debg --- retry.tryForTime failed again with the same message...
[00:05:41]                   │ debg --- retry.tryForTime failed again with the same message...
[00:05:44]                   │ debg --- retry.tryForTime failed again with the same message...
[00:05:47]                   │ debg --- retry.tryForTime failed again with the same message...
[00:05:51]                   │ debg --- retry.tryForTime failed again with the same message...
[00:05:54]                   │ debg --- retry.tryForTime failed again with the same message...
[00:05:57]                   │ debg --- retry.tryForTime failed again with the same message...
[00:06:00]                   │ debg --- retry.tryForTime failed again with the same message...
[00:06:03]                   │ debg --- retry.tryForTime failed again with the same message...
[00:06:06]                   │ debg --- retry.tryForTime failed again with the same message...
[00:06:09]                   │ debg --- retry.tryForTime failed again with the same message...
[00:06:12]                   │ debg --- retry.tryForTime failed again with the same message...
[00:06:15]                   │ debg --- retry.tryForTime failed again with the same message...
[00:06:18]                   │ debg --- retry.tryForTime failed again with the same message...
[00:06:21]                   │ debg --- retry.tryForTime failed again with the same message...
[00:06:24]                   │ debg --- retry.tryForTime failed again with the same message...
[00:06:27]                   │ debg --- retry.tryForTime failed again with the same message...
[00:06:30]                   │ debg --- retry.tryForTime failed again with the same message...
[00:06:33]                   │ debg --- retry.tryForTime failed again with the same message...
[00:06:36]                   │ debg --- retry.tryForTime failed again with the same message...
[00:06:39]                   │ debg --- retry.tryForTime failed again with the same message...
[00:06:42]                   │ debg --- retry.tryForTime failed again with the same message...
[00:06:43]                   │ debg --- retry.try error: expected testSubject(saveQueryForm) to exist
[00:06:43]                   │ info Taking screenshot "/dev/shm/workspace/kibana/x-pack/test/functional/screenshots/failure/discover feature controls security global discover all privileges allow saving via the saved query management component popover with no query loaded.png"
[00:06:44]                   │ info Current URL is: http://localhost:6131/app/kibana#/discover?_g=()&_a=(columns:!(_source),index:%27logstash-*%27,interval:auto,query:(language:kuery,query:%27%27),sort:!())
[00:06:44]                   │ info Saving page source to: /dev/shm/workspace/kibana/x-pack/test/functional/failure_debug/html/discover feature controls security global discover all privileges allow saving via the saved query management component popover with no query loaded.html
[00:06:44]                   └- ✖ fail: "discover feature controls security global discover all privileges allow saving via the saved query management component popover with no query loaded"
[00:06:44]                   │

Stack Trace

Error: retry.try timeout: Error: expected testSubject(saveQueryForm) to exist
    at TestSubjects.existOrFail (/dev/shm/workspace/kibana/test/functional/services/test_subjects.ts:60:15)
    at onFailure (/dev/shm/workspace/kibana/test/common/services/retry/retry_for_success.ts:28:9)
    at retryForSuccess (/dev/shm/workspace/kibana/test/common/services/retry/retry_for_success.ts:68:13)

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@poffdeluxe poffdeluxe merged commit 2623976 into elastic:master Feb 20, 2020
@poffdeluxe poffdeluxe deleted the storybook-static-site branch February 20, 2020 20:01
This was referenced Feb 21, 2020
jloleysens added a commit to jloleysens/kibana that referenced this pull request Feb 21, 2020
…-out-of-legacy

* 'master' of github.com:elastic/kibana: (109 commits)
  document difference between log record formats (elastic#57798)
  Expose elasticsearch config schema (elastic#57655)
  [ui/agg_response/tabify] update types for search/expressions/build_tabular_inspector_data.ts (elastic#58130)
  [SIEM] Cleans Cypress tests code (elastic#58134)
  fix: 🐛 make dev server Storybook builds work again (elastic#58188)
  Prevent core savedObjects plugin from being overridden (elastic#58193)
  Expose serverBasePath on client-side (elastic#58070)
  Fix legend sizing on area charts (elastic#58083)
  Drilldown plugin (elastic#58097)
  [skip-ci] Fix broken links to saved objects APIs in MIGRATION.md (elastic#58033)
  [ML] New Platform server shim: update datafeed routes (elastic#57739)
  Add flag for building static storybook site (elastic#58050)
  add monaco to kbn/ui-shared-deps and load required features for all uses (elastic#58075)
  [SIEM] Let us try out code owners for a little while and see what happens
  Add throttle param to Alerting readme (elastic#57609)
  [NP] Move ui/saved_objects to NP (elastic#57452)
  [Logs UI]  Fix column reordering in settings page (elastic#58104)
  Fix browser date format (elastic#57714)
  Add filter for ILM phase to Index Management (revert elastic#45486) (elastic#57402)
  Clarify Precision function in Timelion Kibana (elastic#58031)
  ...

# Conflicts:
#	x-pack/.i18nrc.json
poffdeluxe added a commit that referenced this pull request Feb 21, 2020
* Adding storybook static site generation and percy storybook script

* feat: 🎸 build each Storybook in own folder, add --site flag doc

* Add flags site tag for exiting process

Co-Authored-By: Vadim Dalecky <streamich@users.noreply.github.com>

* Back out of percy-storybook integration

Co-authored-by: Vadim Dalecky <streamich@users.noreply.github.com>

Co-authored-by: Vadim Dalecky <streamich@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. loe:small Small Level of Effort release_note:skip Skip the PR/issue when compiling release notes v7.7.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants