File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ describe('footer', () => {
8
8
9
9
describe ( '"contact us" link' , ( ) => {
10
10
test ( 'leads to support from articles' , async ( ) => {
11
- const $ = await getDOM ( `/en/${ nonEnterpriseDefaultVersion } /github ` )
11
+ const $ = await getDOM ( `/en/${ nonEnterpriseDefaultVersion } /issues ` )
12
12
expect ( $ ( 'a#contact-us' ) . attr ( 'href' ) ) . toBe ( 'https://support.github.com/contact' )
13
13
} )
14
14
@@ -20,7 +20,7 @@ describe('footer', () => {
20
20
21
21
describe ( '"contact us" link with nextjs' , ( ) => {
22
22
test ( 'leads to support from articles' , async ( ) => {
23
- const $ = await getDOM ( `/en/${ nonEnterpriseDefaultVersion } /github ?nextjs=` )
23
+ const $ = await getDOM ( `/en/${ nonEnterpriseDefaultVersion } /issues ?nextjs=` )
24
24
expect ( $ ( 'a#contact-us' ) . attr ( 'href' ) ) . toBe ( 'https://support.github.com/contact' )
25
25
} )
26
26
} )
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import nonEnterpriseDefaultVersion from '../../lib/non-enterprise-default-versio
6
6
describe ( 'mobile-only products nav' , ( ) => {
7
7
const cases = [
8
8
// Note the unversioned homepage at `/` does not have a product selected in the mobile dropdown
9
- [ '/github ' , 'GitHub ' ] ,
9
+ [ '/repositories ' , 'Repositories ' ] ,
10
10
// Enterprise server
11
11
[ '/en/enterprise/admin' , 'Enterprise administrators' ] ,
12
12
[
@@ -41,8 +41,8 @@ describe('products middleware', () => {
41
41
42
42
test ( 'adds res.context.currentProduct object' , async ( ) => {
43
43
const currentProduct = await getJSON (
44
- `/en/${ nonEnterpriseDefaultVersion } /github ?json=currentProduct`
44
+ `/en/${ nonEnterpriseDefaultVersion } /actions ?json=currentProduct`
45
45
)
46
- expect ( currentProduct ) . toBe ( 'github ' )
46
+ expect ( currentProduct ) . toBe ( 'actions ' )
47
47
} )
48
48
} )
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ describe('sidebar', () => {
34
34
expect ( $githubPage ( '[data-testid=sidebar] [data-testid=sidebar-product]' ) . length ) . toBe ( 1 )
35
35
expect (
36
36
$githubPage ( '[data-testid=sidebar] [data-testid=sidebar-product] > a' ) . text ( ) . trim ( )
37
- ) . toBe ( 'GitHub ' )
37
+ ) . toBe ( 'Get started ' )
38
38
} )
39
39
40
40
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