We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6458f81 commit a56ba1aCopy full SHA for a56ba1a
index.ts
@@ -298,8 +298,9 @@ TEST: addTests('isQuickPR', [
298
const getStateLabel = (): string | undefined => $([
299
'.State', // Old view
300
// React versions
301
- '[class^="StateLabel"]',
302
- '[data-testid="header-state"]',
+ '[class^="StateLabel"]', // TODO: Remove after August 2026
+ '[class^="prc-StateLabel-StateLabel'], // PRs
303
+ '[data-testid="header-state"]', // Issues
304
].join(','))?.textContent?.trim();
305
306
export const isMergedPR = (): boolean => getStateLabel() === 'Merged';
0 commit comments