summaryrefslogtreecommitdiff
path: root/source/github-helpers/selectors.ts
diff options
context:
space:
mode:
authorGravatar Federico Brigante <me@fregante.com> 2023-05-21 02:40:32 +0800
committerGravatar GitHub <noreply@github.com> 2023-05-21 02:40:32 +0800
commit32e458ceda0607f6692cef01c68b9af57c826c6e (patch)
treef077067f06d1002eb768ebe7581540e1f9c86fad /source/github-helpers/selectors.ts
parent7f6b216506e3e10743efb9b0ea2814d3b43a9270 (diff)
downloadrefined-github-32e458ceda0607f6692cef01c68b9af57c826c6e.tar.gz
refined-github-32e458ceda0607f6692cef01c68b9af57c826c6e.tar.zst
refined-github-32e458ceda0607f6692cef01c68b9af57c826c6e.zip
Restore `wait-for-checks` (no more Firefox support) (#6673)23.5.20
Diffstat (limited to 'source/github-helpers/selectors.ts')
-rw-r--r--source/github-helpers/selectors.ts16
1 files changed, 16 insertions, 0 deletions
diff --git a/source/github-helpers/selectors.ts b/source/github-helpers/selectors.ts
index 24663e43..681339b3 100644
--- a/source/github-helpers/selectors.ts
+++ b/source/github-helpers/selectors.ts
@@ -27,3 +27,19 @@ export const directoryListingFileIcon_ = [
'https://github.com/refined-github/refined-github',
'https://github.com/refined-github/refined-github/tree/main/.github',
];
+
+export const prCommit = '.TimelineItem--condensed:has(.octicon-git-commit)';
+export const prCommit_ = [
+ 'https://github.com/refined-github/sandbox/pull/10',
+];
+
+// `summary` is needed because the details dropdown contains the list of check runs, each with its status icon
+export const prCommitStatusIcon = `:is(${prCommit}) details.commit-build-statuses summary .octicon`;
+export const prCommitStatusIcon_ = [
+ 'https://github.com/refined-github/sandbox/pull/10',
+];
+
+export const actionsTab = '#actions-tab';
+export const actionsTab_ = [
+ 'https://github.com/refined-github/sandbox',
+];