-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into bump-node-16-lts
- Loading branch information
Showing
64 changed files
with
216 additions
and
1,348 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
34 changes: 7 additions & 27 deletions
34
src/plugins/presentation_util/public/components/solution_toolbar/items/quick_group.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,11 @@ | ||
.quickButtonGroup { | ||
.euiButtonGroup__buttons { | ||
border-radius: $euiBorderRadius; | ||
|
||
.quickButtonGroup__button { | ||
background-color: $euiColorEmptyShade; | ||
@include kbnThemeStyle('v8') { | ||
// sass-lint:disable-block no-important | ||
border-width: $euiBorderWidthThin !important; | ||
border-style: solid !important; | ||
border-color: $euiBorderColor !important; | ||
} | ||
} | ||
|
||
.quickButtonGroup__button:first-of-type { | ||
@include kbnThemeStyle('v8') { | ||
// sass-lint:disable-block no-important | ||
border-top-left-radius: $euiBorderRadius !important; | ||
border-bottom-left-radius: $euiBorderRadius !important; | ||
} | ||
} | ||
|
||
.quickButtonGroup__button:last-of-type { | ||
@include kbnThemeStyle('v8') { | ||
// sass-lint:disable-block no-important | ||
border-top-right-radius: $euiBorderRadius !important; | ||
border-bottom-right-radius: $euiBorderRadius !important; | ||
} | ||
.quickButtonGroup__button { | ||
background-color: $euiColorEmptyShade; | ||
@include kbnThemeStyle('v8') { | ||
// sass-lint:disable-block no-important | ||
border-width: $euiBorderWidthThin !important; | ||
border-style: solid !important; | ||
border-color: $euiBorderColor !important; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
80 changes: 80 additions & 0 deletions
80
x-pack/plugins/apm/ftr_e2e/cypress/integration/read_only_user/dependencies.spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
/* | ||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one | ||
* or more contributor license agreements. Licensed under the Elastic License | ||
* 2.0; you may not use this file except in compliance with the Elastic License | ||
* 2.0. | ||
*/ | ||
|
||
const timeRange = { | ||
rangeFrom: Cypress.env('START_DATE'), | ||
rangeTo: Cypress.env('END_DATE'), | ||
}; | ||
|
||
describe('Dependencies', () => { | ||
beforeEach(() => { | ||
cy.loginAsReadOnlyUser(); | ||
}); | ||
|
||
describe('top-level dependencies page', () => { | ||
it('has a list of dependencies and you can navigate to the page for one', () => { | ||
cy.visit(`/app/apm/services?${new URLSearchParams(timeRange)}`); | ||
cy.contains('nav a', 'Dependencies').click(); | ||
|
||
// `force: true` because Cypress says the element is 0x0 | ||
cy.contains('postgresql').click({ force: true }); | ||
|
||
cy.contains('h1', 'postgresql'); | ||
}); | ||
}); | ||
|
||
describe('dependency overview page', () => { | ||
it('shows dependency information and you can navigate to a page for an upstream service', () => { | ||
cy.visit( | ||
`/app/apm/backends/overview?${new URLSearchParams({ | ||
...timeRange, | ||
backendName: 'postgresql', | ||
})}` | ||
); | ||
|
||
cy.get('[data-test-subj="latencyChart"]'); | ||
cy.get('[data-test-subj="throughputChart"]'); | ||
cy.get('[data-test-subj="errorRateChart"]'); | ||
|
||
cy.contains('opbeans-python').click({ force: true }); | ||
|
||
cy.contains('h1', 'opbeans-python'); | ||
}); | ||
}); | ||
|
||
describe('service overview page', () => { | ||
it('shows dependency information and you can navigate to a page for a dependency', () => { | ||
cy.visit( | ||
`/app/apm/services/opbeans-python/overview?${new URLSearchParams( | ||
timeRange | ||
)}` | ||
); | ||
|
||
cy.contains('postgresql').click({ force: true }); | ||
|
||
cy.contains('h1', 'postgresql'); | ||
}); | ||
}); | ||
|
||
describe('service dependencies tab', () => { | ||
it('shows dependency information and you can navigate to a page for a dependency', () => { | ||
cy.visit( | ||
`/app/apm/services/opbeans-python/overview?${new URLSearchParams( | ||
timeRange | ||
)}` | ||
); | ||
|
||
cy.contains('a[role="tab"]', 'Dependencies').click(); | ||
|
||
cy.contains('Time spent by dependency'); | ||
|
||
cy.contains('postgresql').click({ force: true }); | ||
|
||
cy.contains('h1', 'postgresql'); | ||
}); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
60 changes: 0 additions & 60 deletions
60
x-pack/plugins/canvas/canvas_plugin_src/functions/external/embeddable.test.ts
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.