Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 28 additions & 2 deletions src/core/test/scout/.meta/api/standard.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"sha1": "2b70f3fcb59bf151aebaba39638cabf81e58deca",
"sha1": "67a81345ddcbff97602a970df9c912ec77780659",
"tests": [
{
"id": "686afb1e43c1702-93eb078795ca679",
Expand Down Expand Up @@ -325,6 +325,32 @@
"column": 10
}
},
{
"id": "6054c2de485a042-eec0454c4331f2c",
"title": "translations serves a non-default locale file with the locale field intact",
"expectedStatus": "passed",
"tags": [
"@local-stateful-classic",
"@cloud-stateful-classic",
"@local-stateful-search",
"@cloud-stateful-search",
"@local-stateful-observability_complete",
"@cloud-stateful-observability_complete",
"@local-stateful-security_complete",
"@cloud-stateful-security_complete",
"@local-serverless-search",
"@cloud-serverless-search",
"@local-serverless-observability_complete",
"@cloud-serverless-observability_complete",
"@local-serverless-security_complete",
"@cloud-serverless-security_complete"
],
"location": {
"file": "src/core/test/scout/api/tests/translations.spec.ts",
"line": 45,
"column": 10
}
},
{
"id": "6054c2de485a042-7c1b7d0f5a752d1",
"title": "translations returns a 404 when not using the correct locale",
Expand All @@ -347,7 +373,7 @@
],
"location": {
"file": "src/core/test/scout/api/tests/translations.spec.ts",
"line": 45,
"line": 71,
"column": 10
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,14 @@ export const defaultConfig: ScoutServerConfig = {
'--xpack.security.encryptionKey="wuGNaIhoMpk5sO4UBxgr3NyW1sFcLgIf"', // server restarts should not invalidate active sessions
'--xpack.encryptedSavedObjects.encryptionKey="DkdXazszSCYexXqz4YktBGHCRkV6hyNK"',
'--xpack.discoverEnhanced.actions.exploreDataInContextMenu.enabled=true',
`--xpack.actions.preconfigured=${JSON.stringify({
'my-server-log': { actionTypeId: '.server-log', name: 'Serverlog' },
'my-email-connector': {
actionTypeId: '.email',
name: 'Email#test-preconfigured-email',
config: { from: 'me@example.com', host: 'localhost', port: '1025' },
},
})}`,
'--savedObjects.maxImportPayloadBytes=10485760', // for OSS test management/_import_objects,
'--savedObjects.allowHttpApiAccess=false', // override default to not allow hiddenFromHttpApis saved objects access to the http APIs see https://github.com/elastic/dev/issues/2200
// explicitly disable internal API restriction. See https://github.com/elastic/kibana/issues/163654
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"sha1": "f837afe9443012a45a6eb6ac3d5f4f0117c0aa1f",
"tests": [
{
"id": "a86ab1ab968d807-0bb82867e148f1f",
"title": "Create Data View wizard data stream is accepted as an index pattern source and wizard auto-detects the timestamp field",
"expectedStatus": "passed",
"tags": [
"@local-stateful-classic",
"@cloud-stateful-classic"
],
"location": {
"file": "src/platform/plugins/shared/data_view_editor/test/scout/ui/tests/create_data_view_wizard.spec.ts",
"line": 41,
"column": 7
}
}
]
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"sha1": "4d6b16666a495f40bc282f255d398cd3d0726717",
"sha1": "e62501d0bfed5ec7e2269cc6b3f211a9fa39dde2",
"tests": [
{
"id": "be66c17a1888746-11e36bad76c85ff",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,131 @@
{
"sha1": "58e19537834d84b3c9527c8f60accc9b5cda7eba",
"tests": [
{
"id": "a85e30db18dd980-231d31d916345e0",
"title": "Stack Management — data section transform_user sees only transform in the data section",
"expectedStatus": "passed",
"tags": [
"@local-stateful-classic",
"@cloud-stateful-classic"
],
"location": {
"file": "src/platform/plugins/shared/management/test/scout/ui/parallel_tests/data_section.spec.ts",
"line": 17,
"column": 7
}
},
{
"id": "a85e30db18dd980-062ac9da8baab63",
"title": "Stack Management — data section manage_ilm sees index_lifecycle_management in the data section",
"expectedStatus": "passed",
"tags": [
"@local-stateful-classic",
"@cloud-stateful-classic"
],
"location": {
"file": "src/platform/plugins/shared/management/test/scout/ui/parallel_tests/data_section.spec.ts",
"line": 42,
"column": 7
}
},
{
"id": "a85e30db18dd980-1b731d7876730e0",
"title": "Stack Management — data section ccr_user sees cross_cluster_replication and the full cluster:manage data section",
"expectedStatus": "passed",
"tags": [
"@local-stateful-classic",
"@cloud-stateful-classic"
],
"location": {
"file": "src/platform/plugins/shared/management/test/scout/ui/parallel_tests/data_section.spec.ts",
"line": 67,
"column": 7
}
},
{
"id": "a85e30db18dd980-94855b8ec67dddd",
"title": "Stack Management — data section index_management_user sees index_management and transform in the data section",
"expectedStatus": "passed",
"tags": [
"@local-stateful-classic",
"@cloud-stateful-classic"
],
"location": {
"file": "src/platform/plugins/shared/management/test/scout/ui/parallel_tests/data_section.spec.ts",
"line": 108,
"column": 7
}
},
{
"id": "d9da0a72c35da72-c5a20c77cc86c74",
"title": "Stack Management — nav link access kibana_admin sees the nav link and only Kibana-privilege-driven sections",
"expectedStatus": "passed",
"tags": [
"@local-stateful-classic",
"@cloud-stateful-classic"
],
"location": {
"file": "src/platform/plugins/shared/management/test/scout/ui/parallel_tests/nav_access.spec.ts",
"line": 18,
"column": 7
}
},
{
"id": "d9da0a72c35da72-b8fa2a8c07ef16c",
"title": "Stack Management — nav link access no management privileges — Stack Management nav link is absent and app is inaccessible",
"expectedStatus": "passed",
"tags": [
"@local-stateful-classic",
"@cloud-stateful-classic"
],
"location": {
"file": "src/platform/plugins/shared/management/test/scout/ui/parallel_tests/nav_access.spec.ts",
"line": 63,
"column": 7
}
},
{
"id": "bad08ef0cbf2e37-6fecfa373f1b9b3",
"title": "Stack Management — ingest, security, and stack sections logstash_read_user sees only the ingest section with pipelines",
"expectedStatus": "passed",
"tags": [
"@local-stateful-classic",
"@cloud-stateful-classic"
],
"location": {
"file": "src/platform/plugins/shared/management/test/scout/ui/parallel_tests/other_sections.spec.ts",
"line": 20,
"column": 9
}
},
{
"id": "bad08ef0cbf2e37-dd7cc6062509486",
"title": "Stack Management — ingest, security, and stack sections manage_security sees only the security section with all four links",
"expectedStatus": "passed",
"tags": [
"@local-stateful-classic",
"@cloud-stateful-classic"
],
"location": {
"file": "src/platform/plugins/shared/management/test/scout/ui/parallel_tests/other_sections.spec.ts",
"line": 46,
"column": 9
}
},
{
"id": "bad08ef0cbf2e37-d579dbac266af75",
"title": "Stack Management — ingest, security, and stack sections cluster:manage surfaces ingest, data (incl. remote_clusters) and stack (license_management) sections",
"expectedStatus": "passed",
"tags": [
"@local-stateful-classic",
"@cloud-stateful-classic"
],
"location": {
"file": "src/platform/plugins/shared/management/test/scout/ui/parallel_tests/other_sections.spec.ts",
"line": 71,
"column": 9
}
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"sha1": "58e19537834d84b3c9527c8f60accc9b5cda7eba",
"tests": []
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"sha1": "2df8d3c27effa34a2dcfeb34293edab933334979",
"tests": [
{
"id": "70a0a35dd08286e-9bea428d7c47a33",
"title": "Cross-Cluster Replication shows both tabs and their primary action buttons for a user with CCR privileges",
"expectedStatus": "passed",
"tags": [
"@local-stateful-classic",
"@cloud-stateful-classic"
],
"location": {
"file": "x-pack/platform/plugins/private/cross_cluster_replication/test/scout/ui/tests/cross_cluster_replication_home.spec.ts",
"line": 15,
"column": 7
}
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
{
"sha1": "1b30e48fbdea3549ceb0db11b15adeeb9027a182",
"tests": [
{
"id": "f87a8d4bdab7457-3168ea966d63c88",
"title": "Index Lifecycle Policies — duplicate managed policy cloning a managed policy does not propagate the managed flag",
"expectedStatus": "passed",
"tags": [
"@local-stateful-classic",
"@cloud-stateful-classic"
],
"location": {
"file": "x-pack/platform/plugins/private/index_lifecycle_management/test/scout/ui/tests/ilm_duplicate_managed_policy.spec.ts",
"line": 37,
"column": 9
}
},
{
"id": "fb0e1ea51235d33-3c3b02969d65b50",
"title": "Index Lifecycle Policies shows the header and Create policy button for a user with manage_ilm",
"expectedStatus": "passed",
"tags": [
"@local-stateful-classic",
"@cloud-stateful-classic"
],
"location": {
"file": "x-pack/platform/plugins/private/index_lifecycle_management/test/scout/ui/tests/ilm_home_page.spec.ts",
"line": 27,
"column": 7
}
},
{
"id": "fb0e1ea51235d33-49f92c6fa89a868",
"title": "Index Lifecycle Policies creates a multi-phase policy and shows it in the list",
"expectedStatus": "passed",
"tags": [
"@local-stateful-classic",
"@cloud-stateful-classic"
],
"location": {
"file": "x-pack/platform/plugins/private/index_lifecycle_management/test/scout/ui/tests/ilm_home_page.spec.ts",
"line": 46,
"column": 7
}
},
{
"id": "68742dbc8178524-22674b0ddcf0325",
"title": "Index Lifecycle Policies — read-only view read_ilm user sees the policy list but cannot create policies and can open the flyout",
"expectedStatus": "passed",
"tags": [
"@local-stateful-classic",
"@cloud-stateful-classic"
],
"location": {
"file": "x-pack/platform/plugins/private/index_lifecycle_management/test/scout/ui/tests/ilm_read_only_view.spec.ts",
"line": 27,
"column": 7
}
}
]
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"sha1": "71ba3fa688e7fbaaf8d43d40df826a2fc1807b2f",
"sha1": "5fd87a4964315c7d707ff5132e19a12eb6b4eb80",
"tests": [
{
"id": "23fa02f46a56f43-4512d1a251a937e",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"sha1": "6d66784e2ee99af2ceb26068bf4cff68fcb24b60",
"sha1": "cd71e4fd5dbf06d8e063c8311f702f0db9596db3",
"tests": [
{
"id": "bc04b6d7b9795d6-a575d75181b677a",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"sha1": "d9178629ffe494abb7bfc638dff00db4a4f6bf03",
"sha1": "1f64f92def0d9b9bad1301449ea6972489da50e1",
"tests": [
{
"id": "e7ca8c886a58426-d57f60fe1d6db3b",
Expand Down Expand Up @@ -196,6 +196,20 @@
"line": 25,
"column": 7
}
},
{
"id": "334b2c159a85a53-5c9af8158963588",
"title": "Index Management — management sidebar smoke data section contains index_management and transform for index_management_user role",
"expectedStatus": "passed",
"tags": [
"@local-stateful-classic",
"@cloud-stateful-classic"
],
"location": {
"file": "x-pack/platform/plugins/shared/index_management/test/scout/ui/tests/management_sidebar_smoke.spec.ts",
"line": 32,
"column": 7
}
}
]
}
Loading