You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the report, I do reproduce.
The issue is that there's no explicit attribute that distinguish the reviewers from the project tags input :/
I might check the label text, but that's a bit ugly, I'll try to see if I can do better
Fix#6
When accepting the revision, we were doing a simple query
to retrieve the project id input and prefill it with the
testing tag prefix.
But it might happen that the user have other inputs displayed (e.g. Reviewers),
and the selector we're using is the same, so we'd fill the wrong input.
Unfortunately, there's no meaningful attributes that could only target the
project tags input.
Luckily, there's a <data> element on the page that has some data about project
ids, and more specifically, the markup that will be used to render the input,
where what seems to be a unique data-meta id is used.
So here, at startup we retrieve this id, and when accepting the revision, we
check the element with this data-meta attribute, and retrieve the sibling
input.
STR
Change Reviewers
(as you want to approve, but also add someone else)Accept Revision
Expected Results
Actual Results
The text was updated successfully, but these errors were encountered: