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

StaleElementReference error in vertical bar chart test #7254

Closed
LeeDr opened this issue May 20, 2016 · 1 comment
Closed

StaleElementReference error in vertical bar chart test #7254

LeeDr opened this issue May 20, 2016 · 1 comment
Labels
bug Fixes for quality problems that affect the customer experience test

Comments

@LeeDr
Copy link

LeeDr commented May 20, 2016

I've seen this a few times so creating an issue to track getting it resolved.

http://build-eu-00.elastic.co/job/kibana_core_pr/3763/console

19:23:41.135: Set absolute time range from "2015-09-19 06:31:44.000" to "2015-09-23 18:31:44.000"
19:23:41.135: clickTimepicker
19:23:42.269: --Clicking Absolute button
19:23:42.692: --Setting From Time : 2015-09-19 06:31:44.000
19:23:43.333: --Setting To Time : 2015-09-23 18:31:44.000
19:23:44.180: Bucket = X-Axis
19:23:44.197: found bucket types 4
19:23:44.238: Aggregation = Date Histogram
19:23:45.087: Field = @timestamp
19:23:45.958: ... sleep(1000) start
19:23:46.959: ... sleep(1000) end
19:23:46.959: saveButton button clicked
19:23:54.029: click submit button
19:24:31.538: Taking screenshot "/home/jenkins/workspace/kibana_core_pr/test/output/failure_1463765069042_vertical bar chart_should save and load.png"
>> FAIL: firefox on any platform - kibana - visualize app - visualize app - vertical bar chart - should save and load (45668ms)
StaleElementReference: [GET http://localhost:4444/wd/hub/session/7ca894ff-9e8c-4bbf-a7b1-0305fa77b858/element/768/text] Element not found in the cache - perhaps the page has changed since it was looked up
@LeeDr LeeDr added bug Fixes for quality problems that affect the customer experience test labels May 20, 2016
@LeeDr
Copy link
Author

LeeDr commented May 20, 2016

I'm pretty sure the problem is happening at the very start of this test when it tries to save the visualization. The screenshot captured on the failure DOES show the title "Visualization VerticalBarChart"

        bdd.it('should save and load', function pageHeader() {
          return visualizePage.saveVisualization(vizName1)

In visualizePage.saveVisualization(vizName1) the last thing it does is try to get the toast message from saving the visualization and returns the visible text. It would seem it's this step that is failing because there's a debug log message immediately after the toast message text would be returned and we don't get that in the log.

      // verify that green message at the top of the page.
      // it's only there for about 5 seconds
      .then(function () {
        return self.remote
        .setFindTimeout(defaultFindTimeout)
        .findByCssSelector('kbn-truncated.toast-message.ng-isolate-scope')
        .getVisibleText();
      });

1Copenut pushed a commit that referenced this issue Oct 11, 2023
`v88.5.4`⏩`v89.0.0`

---

## [`89.0.0`](https://github.com/elastic/eui/tree/v89.0.0)

- Added new `pushAnimation` prop to push `EuiFlyout`s, which enables a
slide in animation ([#7239](elastic/eui#7239))
- Updated `EuiComboBox` to use `EuiInputPopover` under the hood
([#7246](elastic/eui#7246))
- Added `inputPopoverProps` to `EuiComboBox`, which allows customizing
the underlying popover
([#7246](elastic/eui#7246))
- Added a new beta `EuiTextBlockTruncate` component for multi-line
truncation ([#7250](elastic/eui#7250))
- Updated `EuiBasicTable` and `EuiInMemoryTable` to support multi-line
truncation. This can be set via `truncateText.lines` in the `columns`
prop. ([#7254](elastic/eui#7254))

**Bug fixes**

- Fixed `EuiFlexGroup` and `EuiFlexGrid`'s `m` gutter size
([#7251](elastic/eui#7251))
- Fixed focus trap rerender issues in `EuiFlyout` with memoization
([#7259](elastic/eui#7259))
- Fixed a visual bug with `EuiContextMenu`'s animation between panels
([#7268](elastic/eui#7268))

**Breaking changes**

- EUI's global body font-size now respects the `font.defaultUnits`
token. This means that the global font size will use the `rem` unit by
default, instead of `px`.
([#7182](elastic/eui#7182))
- Removed exported `accessibleClickKeys`, `comboBoxKeys`, and
`cascadingMenuKeys` services. Use the generic `keys` service instead
([#7256](elastic/eui#7256))
- Removed `EuiColorStops` due to low usage
([#7262](elastic/eui#7262))
- Removed `EuiSuggest`. We recommend using `EuiSelectable` or
`EuiComboBox` instead
([#7263](elastic/eui#7263))
- Removed `euiHeaderAffordForFixed` Sass mixin, and `$euiHeaderHeight`
and `$euiHeaderHeightCompensation` Sass variables. Use the CSS variable
`--var(euiFixedHeadersOffset, 0)` instead.
([#7264](elastic/eui#7264))

**Accessibility**

- When using `rem` or `em` font units, EUI now respects, instead of
ignoring, browser default font sizes set by end users.
([#7182](elastic/eui#7182))
dej611 pushed a commit to dej611/kibana that referenced this issue Oct 17, 2023
`v88.5.4`⏩`v89.0.0`

---

## [`89.0.0`](https://github.com/elastic/eui/tree/v89.0.0)

- Added new `pushAnimation` prop to push `EuiFlyout`s, which enables a
slide in animation ([elastic#7239](elastic/eui#7239))
- Updated `EuiComboBox` to use `EuiInputPopover` under the hood
([elastic#7246](elastic/eui#7246))
- Added `inputPopoverProps` to `EuiComboBox`, which allows customizing
the underlying popover
([elastic#7246](elastic/eui#7246))
- Added a new beta `EuiTextBlockTruncate` component for multi-line
truncation ([elastic#7250](elastic/eui#7250))
- Updated `EuiBasicTable` and `EuiInMemoryTable` to support multi-line
truncation. This can be set via `truncateText.lines` in the `columns`
prop. ([elastic#7254](elastic/eui#7254))

**Bug fixes**

- Fixed `EuiFlexGroup` and `EuiFlexGrid`'s `m` gutter size
([elastic#7251](elastic/eui#7251))
- Fixed focus trap rerender issues in `EuiFlyout` with memoization
([elastic#7259](elastic/eui#7259))
- Fixed a visual bug with `EuiContextMenu`'s animation between panels
([elastic#7268](elastic/eui#7268))

**Breaking changes**

- EUI's global body font-size now respects the `font.defaultUnits`
token. This means that the global font size will use the `rem` unit by
default, instead of `px`.
([elastic#7182](elastic/eui#7182))
- Removed exported `accessibleClickKeys`, `comboBoxKeys`, and
`cascadingMenuKeys` services. Use the generic `keys` service instead
([elastic#7256](elastic/eui#7256))
- Removed `EuiColorStops` due to low usage
([elastic#7262](elastic/eui#7262))
- Removed `EuiSuggest`. We recommend using `EuiSelectable` or
`EuiComboBox` instead
([elastic#7263](elastic/eui#7263))
- Removed `euiHeaderAffordForFixed` Sass mixin, and `$euiHeaderHeight`
and `$euiHeaderHeightCompensation` Sass variables. Use the CSS variable
`--var(euiFixedHeadersOffset, 0)` instead.
([elastic#7264](elastic/eui#7264))

**Accessibility**

- When using `rem` or `em` font units, EUI now respects, instead of
ignoring, browser default font sizes set by end users.
([elastic#7182](elastic/eui#7182))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience test
Projects
None yet
Development

No branches or pull requests

1 participant