-
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
Re-implement most of PR #7024 switch to Chrome browser #7442
Conversation
jenkins, test it |
@LeeDr this will need to change browserName in intern.js too |
Thanks @jbudz ! Changed intern.js from firefox to chrome. |
jenkins, test it |
Looking good. Few comments:
|
|
jenkins, test it |
Locally, all tests are passing on Chrome in less than 8 minutes;
Still working on the failure issue. |
build http://build-eu-00.elastic.co/job/kibana_core_pr/4181/ passed but I had an intermittent failure locally. Working on a fix. "Additional stability improvements" commit 14b7d3a build http://build-eu-00.elastic.co/job/kibana_core_pr/4190/ passed. Running again. http://build-eu-00.elastic.co/job/kibana_core_pr/4195/console failed to collapse the time-picker after setting absolute time in _data_table visualize test. I added a getSpinnerDone between the clicking Go button and collapsing the time picker in headerPage.setAbsoluteRange(fromTime, toTime).
Latest build failed http://build-eu-00.elastic.co/job/kibana_core_pr/4196/console
So I added "getSpinnerDone at the end of loadSavedDashboard". |
jenkins, test it |
@@ -75,6 +75,9 @@ export default (function () { | |||
.findByCssSelector('button.ng-scope[aria-label="Save Dashboard"]') | |||
.click() | |||
.then(function () { | |||
return headerPage.getSpinnerDone(); | |||
}) | |||
.then(function () { | |||
return common.sleep(1000); |
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.
should these sleeps be added to all getSpinnerDone calls?
or I guess I'm asking, why there and not in other areas?
jenkins, test it |
jenkins, test it |
1 similar comment
jenkins, test it |
5 passes in a row! |
jenkins, test it |
2 similar comments
jenkins, test it |
jenkins, test it |
Now 8 passes in a row! |
.findByLinkText('Absolute').click(); | ||
.findByLinkText('Absolute').click() | ||
.then(function () { | ||
return self.getSpinnerDone(); |
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.
this shouldn't be needed should it? clicking absolute shouldn't be triggering any requests
After the change to remove the 3 getSpinnerDone calls, the tests failed with the blank kibana screen. I don't think it's related. |
jenkins, test it |
1 similar comment
jenkins, test it |
LGTM |
Re-implement most of PR elastic#7024 switch to Chrome browser Former-commit-id: e2ff6bb
`v91.3.1`⏩`v92.0.0-backport.0` --- ## [`v92.0.0-backport.0`](https://github.com/elastic/eui/releases/v92.0.0-backport.0) **This is a backport release only intended for use by Kibana.** **Bug fixes** - Fixed an `EuiTreeView` JSX Typescript error ([#7452](elastic/eui#7452)) - Fixed a color console warning being generated by disabled `EuiStep`s ([#7454](elastic/eui#7454)) ## [`v92.0.0`](https://github.com/elastic/eui/releases/v92.0.0) - Updated generic types of `EuiBasicTable`, `EuiInMemoryTable` and `EuiSearchBar.Query.execute` to add `extends object` constraint ([#7340](elastic/eui#7340)) - This change should have no impact on your applications since the updated types only affect properties that exclusively accept object values. - Added a new `EuiFlyoutResizable` component ([#7439](elastic/eui#7439)) - Updated `EuiTextArea` to accept `isClearable` and `icon` as props ([#7449](elastic/eui#7449)) **Bug fixes** - `EuiRange`/`EuiDualRange`'s track ticks & highlights now update their positions on resize ([#7442](elastic/eui#7442)) **Deprecations** - Updated `EuiFilterButton` to remove the second `.euiFilterButton__textShift` span wrapper. Target `.euiFilterButton__text` instead ([#7444](elastic/eui#7444)) **Breaking changes** - Removed deprecated `EuiNotificationEvent`. We recommend copying the component to your application if necessary ([#7434](elastic/eui#7434)) - Removed deprecated `EuiControlBar`. We recommend using `EuiBottomBar` instead ([#7435](elastic/eui#7435))
`v91.3.1`⏩`v92.0.0-backport.0` --- ## [`v92.0.0-backport.0`](https://github.com/elastic/eui/releases/v92.0.0-backport.0) **This is a backport release only intended for use by Kibana.** **Bug fixes** - Fixed an `EuiTreeView` JSX Typescript error ([elastic#7452](elastic/eui#7452)) - Fixed a color console warning being generated by disabled `EuiStep`s ([elastic#7454](elastic/eui#7454)) ## [`v92.0.0`](https://github.com/elastic/eui/releases/v92.0.0) - Updated generic types of `EuiBasicTable`, `EuiInMemoryTable` and `EuiSearchBar.Query.execute` to add `extends object` constraint ([elastic#7340](elastic/eui#7340)) - This change should have no impact on your applications since the updated types only affect properties that exclusively accept object values. - Added a new `EuiFlyoutResizable` component ([elastic#7439](elastic/eui#7439)) - Updated `EuiTextArea` to accept `isClearable` and `icon` as props ([elastic#7449](elastic/eui#7449)) **Bug fixes** - `EuiRange`/`EuiDualRange`'s track ticks & highlights now update their positions on resize ([elastic#7442](elastic/eui#7442)) **Deprecations** - Updated `EuiFilterButton` to remove the second `.euiFilterButton__textShift` span wrapper. Target `.euiFilterButton__text` instead ([elastic#7444](elastic/eui#7444)) **Breaking changes** - Removed deprecated `EuiNotificationEvent`. We recommend copying the component to your application if necessary ([elastic#7434](elastic/eui#7434)) - Removed deprecated `EuiControlBar`. We recommend using `EuiBottomBar` instead ([elastic#7435](elastic/eui#7435))
This switches to use chrome for the integration tests, which has proven to give much better performance rendering Kibana.
It also turns on the new bail option available in version 3.1 of intern. This option will skip any test after a failed one.
Both of these changes are intended to improve performance of the integration tests since they are currently taking close to 15 minutes to run.