-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Lens] Add smoke test for lens in canvas #88657
[Lens] Add smoke test for lens in canvas #88657
Conversation
@elasticmachine merge upstream |
Pinging @elastic/kibana-app (Team:KibanaApp) |
Pinging @elastic/kibana-presentation (Team:Presentation) |
@elasticmachine merge upstream |
@elasticmachine merge upstream |
@elasticmachine merge upstream |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM... but skipping firefox? Is that a standard thing?
const esArchiver = getService('esArchiver'); | ||
|
||
describe('lens in canvas', function () { | ||
this.tags('skipFirefox'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
skip firefox?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Several of our canvas tests skip firefox due to some weird behavior where the browser refuses to detect elements that actually exist and causes flakiness
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I just copied it over from there. I will give it a try and see whether everything works for this specific test.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I haven't run the tests locally but I have no objections to this, just left a comment about the archive handling.
|
||
describe('lens in canvas', function () { | ||
before(async () => { | ||
await esArchiver.load('canvas/lens'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't this be loadIfNeeded
and have an after
with unload?
@elasticmachine merge upstream |
💚 Build SucceededMetrics [docs]
History
To update your PR or re-run it, just comment with: |
Part of #72585
This adds a simple smoke test for a lens vis embedded in canvas.
To do so, the canvas role requires access to visualize features as well.