[MGNLCE-362] DX-Core 6.2 pipeline failure due to old test setup which use css selector function contains() Created: 08/Aug/23  Updated: 09/Aug/23  Resolved: 08/Aug/23

Status: Closed
Project: Community Edition
Component/s: None
Affects Version/s: None
Fix Version/s: 6.2.38

Type: Bug Priority: Neutral
Reporter: Dai Ha Assignee: Dai Ha
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoD:
[X]* Doc/release notes changes? Comment present?
[X]* Downstream builds green?
[X]* Solution information and context easily available?
[X]* Tests
[X]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[X]* Steps to reproduce, expected, and actual results filled
[X]* Affected version filled
Date of First Response:
Sprint: DevX 43
Story Points: 2
Work Started:
Approved:
Yes

 Description   

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()



 Comments   
Comment by Oanh Thai Hoang [ 08/Aug/23 ]

close this ticket due to dx-core 6.2 green again. See https://jenkins.magnolia-cms.com/job/platform/job/dx-core/job/release%252F6.2/650/

Generated at Mon Feb 12 00:08:38 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.