Skip to content

Enable interpreter screenshot tests#50089

Closed
Dosant wants to merge 3 commits intoelastic:masterfrom
Dosant:dev/enable-interpretator-screenshot-tests
Closed

Enable interpreter screenshot tests#50089
Dosant wants to merge 3 commits intoelastic:masterfrom
Dosant:dev/enable-interpretator-screenshot-tests

Conversation

@Dosant
Copy link
Copy Markdown
Contributor

@Dosant Dosant commented Nov 7, 2019

Summary

In scope of #50063 I wanted to add a test for a bugfix in expression pipeline and discovered these interpreter functional tests. Most of those were disabled because of #42842 and I wanted to check it it is possible to enable them back

This pr enables back expression pipeline snapshot and screenshots tests
The assumption is:

  1. Snapshots tests weren't flaky and they can be just enabled back
  2. Since tests were disabled there were 2 chrome bumps + (probably) changes in screenshot service pipeline
    So, hopefully, we can just enable those back.

In case there are flaky, I have a draft pr which enables just snapshot tests #50080

Checklist

For maintainers

@elasticmachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

@Dosant
Copy link
Copy Markdown
Contributor Author

Dosant commented Nov 8, 2019

retest

@elasticmachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

@Dosant
Copy link
Copy Markdown
Contributor Author

Dosant commented Nov 8, 2019

retest

@elasticmachine
Copy link
Copy Markdown
Contributor

💔 Build Failed

@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/kibana-app-arch (Team:AppArch)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had to specifically pass colorRange, otherwise metricVis renderer failed in runtime

@elasticmachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

@Dosant Dosant marked this pull request as ready for review November 8, 2019 16:24
@Dosant Dosant added the review label Nov 8, 2019
@Dosant Dosant requested review from dmlemeshko and ppisljar November 8, 2019 16:25
@Dosant Dosant added the release_note:skip Skip the PR/issue when compiling release notes label Nov 8, 2019
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sure previous visualisation is cleaned up before expected error to capture "empty" screenshot

@Dosant
Copy link
Copy Markdown
Contributor Author

Dosant commented Nov 11, 2019

@elasticmachine merge upstream

@Dosant Dosant requested a review from a team November 11, 2019 08:22
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Had to explicitly setup default here, as if not provided, code fails in runtime in react component:

@elasticmachine
Copy link
Copy Markdown
Contributor

💔 Build Failed

@elasticmachine
Copy link
Copy Markdown
Contributor

💔 Build Failed

@elasticmachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

@Dosant Dosant force-pushed the dev/enable-interpretator-screenshot-tests branch from 109c5ef to e943839 Compare November 12, 2019 22:38
@elasticmachine
Copy link
Copy Markdown
Contributor

💔 Build Failed

@Dosant Dosant force-pushed the dev/enable-interpretator-screenshot-tests branch from e943839 to 400cb7d Compare November 13, 2019 09:09
@Dosant Dosant removed the review label Nov 13, 2019
@Dosant
Copy link
Copy Markdown
Contributor Author

Dosant commented Nov 13, 2019

Closing and will rework because of changes in #46910

@Dosant Dosant closed this Nov 13, 2019
@elasticmachine
Copy link
Copy Markdown
Contributor

💔 Build Failed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release_note:skip Skip the PR/issue when compiling release notes v7.6.0 v8.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants