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

[7.x] Fix and re-enable Vega test to be consistent with development/CI (#110971) #112384

Merged
Merged
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

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 3 additions & 6 deletions src/plugins/vis_types/vega/public/vega_visualization.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,7 @@ describe('VegaVisualizations', () => {
mockWidth.mockRestore();
mockHeight.mockRestore();
});

// SKIP: https://github.com/elastic/kibana/issues/83385
test.skip('should show vegalite graph and update on resize (may fail in dev env)', async () => {
test('should show vegalite graph and update on resize (may fail in dev env)', async () => {
let vegaVis;
try {
vegaVis = new VegaVisualization(domNode, jest.fn());
Expand All @@ -105,7 +103,7 @@ describe('VegaVisualizations', () => {
expect(domNode.innerHTML).toMatchSnapshot();

mockedWidthValue = 256;
mockedHeightValue = 256;
mockedHeightValue = 250;

await vegaVis.vegaView.resize();

Expand All @@ -115,8 +113,7 @@ describe('VegaVisualizations', () => {
}
});

// SKIP: https://github.com/elastic/kibana/issues/83385
test.skip('should show vega graph (may fail in dev env)', async () => {
test('should show vega graph (may fail in dev env)', async () => {
let vegaVis;
try {
vegaVis = new VegaVisualization(domNode, jest.fn());
Expand Down