@@ -65,10 +65,12 @@ describe('Proxy support', function () {
65
65
browser = compass . browser ;
66
66
67
67
const result = await browser . execute ( async function ( ) {
68
- const response = await fetch ( 'http://compass.mongodb.com/' ) ;
68
+ const response = await fetch ( 'http://proxy-test- compass.mongodb.com/' ) ;
69
69
return await response . text ( ) ;
70
70
} ) ;
71
- expect ( result ) . to . equal ( 'hello, http://compass.mongodb.com/ (proxy1)' ) ;
71
+ expect ( result ) . to . equal (
72
+ 'hello, http://proxy-test-compass.mongodb.com/ (proxy1)'
73
+ ) ;
72
74
} ) ;
73
75
74
76
it ( 'can change the proxy option dynamically' , async function ( ) {
@@ -80,10 +82,12 @@ describe('Proxy support', function () {
80
82
`http://localhost:${ port ( httpProxyServer2 ) } `
81
83
) ;
82
84
const result = await browser . execute ( async function ( ) {
83
- const response = await fetch ( 'http://compass.mongodb.com/' ) ;
85
+ const response = await fetch ( 'http://proxy-test- compass.mongodb.com/' ) ;
84
86
return await response . text ( ) ;
85
87
} ) ;
86
- expect ( result ) . to . equal ( 'hello, http://compass.mongodb.com/ (proxy2)' ) ;
88
+ expect ( result ) . to . equal (
89
+ 'hello, http://proxy-test-compass.mongodb.com/ (proxy2)'
90
+ ) ;
87
91
} ) ;
88
92
89
93
context ( 'when connecting to a cluster' , function ( ) {
0 commit comments