Uploaded image for project: 'Community Edition'
  1. Community Edition
  2. MGNLCE-362

DX-Core 6.2 pipeline failure due to old test setup which use css selector function contains()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 6.2.38
    • None
    • None
    • None
    • DevX 43
    • 2
    • Yes

      stacktrace:

      invalid selector: An invalid or illegal selector was specified
        (Session info: chrome=107.0.5304.87)
      For documentation on this error, please visit: https://selenium.dev/exceptions/#invalid_selector_exception
      Build info: version: '4.9.1', revision: 'eb2032df7f'
      System info: os.name: 'Linux', os.arch: 'amd64', os.version: '5.15.0-1030-aws', java.version: '1.8.0_152'
      Driver info: org.openqa.selenium.remote.RemoteWebDriver
      Command: [0b1dcd40edf03e316f4fedd50d878cf9, findElement {using=css selector, value=.apps .app .tab-title:contains('Pages Legacy')}]
      Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 107.0.5304.87, chrome: {chromedriverVersion: 107.0.5304.62 (1eec40d3a576..., userDataDir: /tmp/.com.google.Chrome.PP5eCi}, goog:chromeOptions: {debuggerAddress: localhost:36515}, networkConnectionEnabled: false, pageLoadStrategy: normal, platformName: linux, proxy: Proxy(), se:bidiEnabled: false, se:cdp: ws://172.18.0.18:4444/sessi..., se:cdpVersion: 107.0.5304.87, se:vnc: ws://172.18.0.18:4444/sessi..., se:vncEnabled: true, se:vncLocalAddress: ws://172.18.0.18:7900, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:virtualAuthenticators: true}
      Session ID: 0b1dcd40edf03e316f4fedd50d878cf9

      as explained in https://github.com/seleniumhq/selenium-google-code-issue-archive/issues/987, we should stay away from using css selector function :contains()

        Acceptance criteria

              dai.ha Dai Ha
              dai.ha Dai Ha
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:
                Work Started:

                  Bug DoR
                  Task DoD