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

test support #11477

Merged
Merged

Conversation

stacey-gammon
Copy link
Contributor

A few details for additional tests to be written.

@stacey-gammon
Copy link
Contributor Author

Failure:

  log   [18:56:16.259] [info][status][plugin:elasticsearch@6.0.0-alpha1] Status changed from yellow to green - Kibana index ready
  log   [18:56:16.261] [info][status][ui settings] Status changed from yellow to green - Ready
Warning: Error: remote failed to start within 2 minutes
    at /var/lib/jenkins/workspace/elastic+kibana+pull-request+multijob-selenium/test/functional/services/remote/leadfoot_command.js:13:13
    at undefined.next (native)
    at step (/var/lib/jenkins/workspace/elastic+kibana+pull-request+multijob-selenium/test/functional/services/remote/leadfoot_command.js:5:1)
    at /var/lib/jenkins/workspace/elastic+kibana+pull-request+multijob-selenium/test/functional/services/remote/leadfoot_command.js:5:1� Use --force to continue.

jenkins, test this

@stacey-gammon
Copy link
Contributor Author

jenkins, test this

(seeing if it fails due to JedWatson/react-select#1694)

Copy link
Contributor

@kobelb kobelb left a comment

Choose a reason for hiding this comment

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

LGTM - pending successful CI builds

@stacey-gammon
Copy link
Contributor Author

s3 error. Jenkins, test this

return await remote.findDisplayedByCssSelector('kbn-truncated.toast-message.ng-isolate-scope')
.getVisibleText();
async getToastMessage(findTimeout = defaultFindTimeout) {
await remote.setFindTimeout(findTimeout);
Copy link
Contributor

Choose a reason for hiding this comment

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

Something to keep in mind for future PRs, it's be nice to add stuff like this to the find service

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ah, so then instead of remote.findDisplayedByCssSelector, we'd add a new function to find so that we can stuff overriding the custom timeout in there, and then use find.displayedByCssSelector and pass the extra findTimeout?

Copy link
Contributor

Choose a reason for hiding this comment

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

Yep!

Copy link
Contributor

@spalger spalger left a comment

Choose a reason for hiding this comment

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

LGTM

@stacey-gammon stacey-gammon merged commit 536be5d into elastic:master May 6, 2017
stacey-gammon added a commit to stacey-gammon/kibana that referenced this pull request May 6, 2017
* test support

* Move custom find timeout logic into find service

* Fix the error in tests by combining the calls.

Seems to work locally like this.
stacey-gammon added a commit that referenced this pull request May 7, 2017
* test support

* Move custom find timeout logic into find service

* Fix the error in tests by combining the calls.

Seems to work locally like this.
snide pushed a commit to snide/kibana that referenced this pull request May 30, 2017
* test support

* Move custom find timeout logic into find service

* Fix the error in tests by combining the calls.

Seems to work locally like this.
@stacey-gammon stacey-gammon deleted the reporting-functional-tests branch October 24, 2017 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants