Skip to content

Commit ba0a94b

Browse files
Fix Bitbucket.org PR selectors (#179)
1 parent a6bce83 commit ba0a94b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/button/button-contributions.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -410,9 +410,9 @@ export const buttonContributions: ButtonContributionParams[] = [
410410
exampleUrls: [
411411
// "https://bitbucket.org/efftinge/browser-extension-test/pull-requests/1"
412412
],
413-
selector: 'xpath://*[@id="main"]/div/div/div[1]/div/div/div[1]/div/div[2]/div/div[2]/div/div', // grandparent div of the "Request changes" and "Approve" buttons
413+
selector: 'xpath://*[@id="main"]/div/div/div[1]/div/div/div/div[1]/div/div[2]/div/div[2]/div/div', // grandparent div of the "Request changes" and "Approve" buttons
414414
containerElement: createElement("div", {}),
415-
insertBefore: 'xpath:(//*[@id="main"]/div/div/div[1]/div/div/div[1]/div/div[2]/div/div[2]/div/div/div)[last()]', // note the [last()] to insert before the last child (the kebab menu)
415+
insertBefore: 'xpath:(//*[@id="main"]/div/div/div[1]/div/div/div/div[1]/div/div[2]/div/div[2]/div/div/div)[last()]', // note the [last()] to insert before the last child (the kebab menu)
416416
application: "bitbucket",
417417
},
418418
{

0 commit comments

Comments
 (0)