@@ -4,11 +4,16 @@ const URL = "https://github.com/KatsuteDev/GitHub-Center";
44
55const selectors = [
66 // `.AppHeader > div`, // requires login
7+ `body:not(.project-page) .application-main:not(:has(> div > projects-v2, > div > .feed-background))` ,
78 `#repository-container-header` ,
8- `body:not(.project-page, .full-width) #repo-content-turbo-frame > div:not(:has(> react-app[app-name="react-code-view"]))` ,
9- // `#repository-container-header > .container-xl`, // requires login
10- `#repo-content-turbo-frame .container-xl` ,
11- // `#repository-container-header > .container-xl > .border-bottom`, // requires login
9+ `#js-repo-pjax-container:not(:has(> projects-v2))` ,
10+ `body:not(.project-page) #repo-content-turbo-frame > div` ,
11+
12+ `#repository-container-header > div` ,
13+ `#repo-content-pjax-container > div` ,
14+ // `body:not(.project-page) #repo-content-turbo-frame > div:not(#repo-content-pjax-container)`, // uses turbo test case
15+
16+ // `#repository-container-header > div:last-child > div:last-child` // requires login
1217] ;
1318
1419( async ( ) => {
@@ -27,6 +32,18 @@ const selectors = [
2732 }
2833 }
2934
35+ {
36+ const s = `body:not(.project-page) #repo-content-turbo-frame > div:not(#repo-content-pjax-container)` ;
37+ try { // test for turbo frame
38+ await page . click ( `#issues-tab` ) ;
39+ await page . waitForSelector ( s , { timeout : 5000 } ) ;
40+ console . info ( '✅' , s ) ;
41+ } catch ( e ) {
42+ console . error ( '❌' , s ) ;
43+ failed = true ;
44+ }
45+ }
46+
3047 await browser . close ( ) ;
3148
3249 failed && process . exit ( 1 ) ;
0 commit comments