Fix GitLab#194
Conversation
|
@filiptronicek build is failing |
|
Verified locally that all tests are passing: |
| match: /\/issues\//, | ||
| selector: | ||
| "#content-body > div.issue-details.issuable-details.js-issue-details > div.detail-page-description.content-block.js-detail-page-description.gl-pt-3.gl-pb-0.gl-border-none > div:nth-child(1) > div > div.gl-flex.gl-items-start.gl-flex-col.md\\:gl-flex-row.gl-gap-3.gl-pt-3 > div", | ||
| selector: "xpath://*[@id='content-body']/div[2]/div/section/section/div[2]/div[1]/div[2]", |
There was a problem hiding this comment.
L252 applies to existing issues, not newly created issues.
Perhaps we can make a duplicate entry, but with a slightly different selector?
There was a problem hiding this comment.
@kylos101 in the end, I found a selector that works for both, utilizing their data-testid attributes on elements. Let's cross our fingers that GitLab keeps those stable 🤞
Do you use a different Node version locally? In the Gitpod workspace and the CI build, we use Node 20.x and the test fails. |
corneliusludmann
left a comment
There was a problem hiding this comment.
Works as advertised. ✔️
I use Node 20. Will take a look why this might be happening, but will do so outside of this PR. |
Description
Fix GitLab selectors for MRs and issues. Additionally, inherits new GitLab dark mode styles for a stylish night look
Related Issue(s)
Fixes NEXT-4008