File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ describe('footer', () => {
88
99 describe ( '"contact us" link' , ( ) => {
1010 test ( 'leads to support from articles' , async ( ) => {
11- const $ = await getDOM ( `/en/${ nonEnterpriseDefaultVersion } /github ` )
11+ const $ = await getDOM ( `/en/${ nonEnterpriseDefaultVersion } /issues ` )
1212 expect ( $ ( 'a#contact-us' ) . attr ( 'href' ) ) . toBe ( 'https://support.github.com/contact' )
1313 } )
1414
@@ -20,7 +20,7 @@ describe('footer', () => {
2020
2121 describe ( '"contact us" link with nextjs' , ( ) => {
2222 test ( 'leads to support from articles' , async ( ) => {
23- const $ = await getDOM ( `/en/${ nonEnterpriseDefaultVersion } /github ?nextjs=` )
23+ const $ = await getDOM ( `/en/${ nonEnterpriseDefaultVersion } /issues ?nextjs=` )
2424 expect ( $ ( 'a#contact-us' ) . attr ( 'href' ) ) . toBe ( 'https://support.github.com/contact' )
2525 } )
2626 } )
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import nonEnterpriseDefaultVersion from '../../lib/non-enterprise-default-versio
66describe ( 'mobile-only products nav' , ( ) => {
77 const cases = [
88 // Note the unversioned homepage at `/` does not have a product selected in the mobile dropdown
9- [ '/github ' , 'GitHub ' ] ,
9+ [ '/repositories ' , 'Repositories ' ] ,
1010 // Enterprise server
1111 [ '/en/enterprise/admin' , 'Enterprise administrators' ] ,
1212 [
@@ -41,8 +41,8 @@ describe('products middleware', () => {
4141
4242 test ( 'adds res.context.currentProduct object' , async ( ) => {
4343 const currentProduct = await getJSON (
44- `/en/${ nonEnterpriseDefaultVersion } /github ?json=currentProduct`
44+ `/en/${ nonEnterpriseDefaultVersion } /actions ?json=currentProduct`
4545 )
46- expect ( currentProduct ) . toBe ( 'github ' )
46+ expect ( currentProduct ) . toBe ( 'actions ' )
4747 } )
4848} )
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ describe('sidebar', () => {
3434 expect ( $githubPage ( '[data-testid=sidebar] [data-testid=sidebar-product]' ) . length ) . toBe ( 1 )
3535 expect (
3636 $githubPage ( '[data-testid=sidebar] [data-testid=sidebar-product] > a' ) . text ( ) . trim ( )
37- ) . toBe ( 'GitHub ' )
37+ ) . toBe ( 'Get started ' )
3838 } )
3939
4040 test ( 'includes links to external products like the Atom, Electron, and CodeQL' , async ( ) => {
You can’t perform that action at this time.
0 commit comments