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

Functional tests: Run Chromedriver in W3C mode #34963

Closed
1 of 9 tasks
dmlemeshko opened this issue Apr 11, 2019 · 1 comment · Fixed by #62542
Closed
1 of 9 tasks

Functional tests: Run Chromedriver in W3C mode #34963

dmlemeshko opened this issue Apr 11, 2019 · 1 comment · Fixed by #62542

Comments

@dmlemeshko
Copy link
Member

dmlemeshko commented Apr 11, 2019

Chromedriver is on its way to Webdriver W3C Spec adoption, we can track the status here

Update: Since version 75 ChromeDriver runs in W3C standard compliant mode by default.

  • We need to run tests in this mode to understand the amount of work for migration/fixes
  • Fix failures

Chromedriver 75/76:

  • kibana-ciGroup3: Chrome UI Functional Tests.test/functional/apps/dashboard/dashboard_grid·js.dashboard app using current data dashboard grid move panel Can move panel from bottom to top row
      { MoveTargetOutOfBoundsError: move target out of bounds
  (Session info: headless chrome=75.0.3770.100)
    at Object.throwDecodedError (node_modules/selenium-webdriver/lib/error.js:550:15)
    at parseHttpResponse (node_modules/selenium-webdriver/lib/http.js:560:13)
    at Executor.execute (node_modules/selenium-webdriver/lib/http.js:486:26)
    at process._tickCallback (internal/process/next_tick.js:68:7)
  name: 'MoveTargetOutOfBoundsError',
  remoteStacktrace: '#0 0x55dca3190299 <unknown>\n' }
  • kibana-ciGroup6: Chrome UI Functional Tests.test/functional/apps/discover/_discover·js.discover app discover test query should modify the time range when the histogram is brushed
    Error: expected new duration of 108 hours to be between 1 and 5 hours
    at Context.<anonymous> (test/functional/apps/discover/_discover.js:161:17)
    at process._tickCallback (internal/process/next_tick.js:68:7)
  • x-pack-ciGroup10: Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/maps/embeddable/tooltip_filter_actions·js.maps app embeddable tooltip filter actions "before all" hook
        Error: retry.try timeout: InvalidArgumentError: invalid argument
from invalid argument: 'duration' must be a non-negative int
  (Session info: headless chrome=75.0.3770.100)
    at Object.throwDecodedError (/var/lib/jenkins/workspace/elastic+kibana+pull-request/JOB/x-pack-ciGroup10/node/immutable/kibana/node_modules/selenium-webdriver/lib/error.js:550:15)
    at parseHttpResponse (/var/lib/jenkins/workspace/elastic+kibana+pull-request/JOB/x-pack-ciGroup10/node/immutable/kibana/node_modules/selenium-webdriver/lib/http.js:560:13)
    at Executor.execute (/var/lib/jenkins/workspace/elastic+kibana+pull-request/JOB/x-pack-ciGroup10/node/immutable/kibana/node_modules/selenium-webdriver/lib/http.js:486:26)
    at process._tickCallback (internal/process/next_tick.js:68:7)
    at lastError (/var/lib/jenkins/workspace/elastic+kibana+pull-request/JOB/x-pack-ciGroup10/node/immutable/kibana/test/common/services/retry/retry_for_success.ts:28:9)
    at onFailure (/var/lib/jenkins/workspace/elastic+kibana+pull-request/JOB/x-pack-ciGroup10/node/immutable/kibana/test/common/services/retry/retry_for_success.ts:68:13)
  • xpack-ciGroup10 Chrome X-Pack UI Functional Tests.x-pack/test/functional/apps/maps/es_geo_grid_source·js.maps app layer geo grid aggregation source vector(grid) "before all" hook
Error: retry.try timeout: Error: retry.try timeout: Error: retry.try timeout: UnexpectedAlertOpenError: unexpected alert open: {Alert text : }
  (Session info: headless chrome=76.0.3809.100)
    at Object.throwDecodedError (/var/lib/jenkins/workspace/elastic+kibana+pull-request/JOB/x-pack-ciGroup10/node/linux-immutable/kibana/node_modules/selenium-webdriver/lib/error.js:550:15)
    at parseHttpResponse (/var/lib/jenkins/workspace/elastic+kibana+pull-request/JOB/x-pack-ciGroup10/node/linux-immutable/kibana/node_modules/selenium-webdriver/lib/http.js:560:13)
    at Executor.execute (/var/lib/jenkins/workspace/elastic+kibana+pull-request/JOB/x-pack-ciGroup10/node/linux-immutable/kibana/node_modules/selenium-webdriver/lib/http.js:486:26)
    at process._tickCallback (internal/process/next_tick.js:68:7)
    at lastError (/var/lib/jenkins/workspace/elastic+kibana+pull-request/JOB/x-pack-ciGroup10/node/linux-immutable/kibana/test/common/services/retry/retry_for_success.ts:28:9)
    at onFailure (/var/lib/jenkins/workspace/elastic+kibana+pull-request/JOB/x-pack-ciGroup10/node/linux-immutable/kibana/test/common/services/retry/retry_for_success.ts:68:13)
    at lastError (/var/lib/jenkins/workspace/elastic+kibana+pull-request/JOB/x-pack-ciGroup10/node/linux-immutable/kibana/test/common/services/retry/retry_for_success.ts:28:9)
    at onFailure (/var/lib/jenkins/workspace/elastic+kibana+pull-request/JOB/x-pack-ciGroup10/node/linux-immutable/kibana/test/common/services/retry/retry_for_success.ts:68:13)
    at lastError (/var/lib/jenkins/workspace/elastic+kibana+pull-request/JOB/x-pack-ciGroup10/node/linux-immutable/kibana/test/common/services/retry/retry_for_success.ts:28:9)
    at onFailure (/var/lib/jenkins/workspace/elastic+kibana+pull-request/JOB/x-pack-ciGroup10/node/linux-immutable/kibana/test/common/services/retry/retry_for_success.ts:68:13)
  • Run on MacOS without failures
  • Run on Windows without failures
  • Run on CI without failures

Firefox/Geckodriver is already using W3C mode by default and to avoid 2-modes support we need to take care of migration as soon as it's possible.

@vlad-vinogradov
Copy link

Just a heads-up: displayed endpoint is re-enabled in W3C mode from ChromeDriver 76.0.3809.25 and beyond. See...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants