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 857f4e6 commit 6cb0929Copy full SHA for 6cb0929
1 file changed
index.ts
@@ -297,7 +297,9 @@ TEST: addTests('isQuickPR', [
297
298
const getStateLabel = (): string | undefined => $([
299
'.State', // Old view
300
- '[class^="StateLabel"]', // React version
+ // React versions
301
+ '[class^="StateLabel"]',
302
+ '[data-testid="header-state"]',
303
].join(','))?.textContent?.trim();
304
305
export const isMergedPR = (): boolean => getStateLabel() === 'Merged';
0 commit comments