@@ -158,7 +158,7 @@ def test_disables_snapshots_when_the_healthcheck_version_is_missing(self):
158
158
mock_print .assert_called_with (
159
159
f'{ LABEL } You may be using @percy/agent which is no longer supported by this SDK. '
160
160
'Please uninstall @percy/agent and install @percy/cli instead. '
161
- 'https://docs.percy.io /docs/migrating -to-percy -cli' )
161
+ 'https://www.browserstack.com /docs/percy/migration/migrate -to-cli' )
162
162
163
163
self .assertEqual (httpretty .last_request ().path , '/percy/healthcheck' )
164
164
@@ -237,8 +237,8 @@ def test_raise_error_poa_token_with_snapshot(self):
237
237
238
238
self .assertEqual ("Invalid function call - " \
239
239
"percy_snapshot(). Please use percy_screenshot() function while using Percy with Automate." \
240
- " For more information on usage of PercyScreenshot, refer https://docs.percy.io/docs " \
241
- "/integrate- functional-testing-with- visual-testing " , str (context .exception ))
240
+ " For more information on usage of PercyScreenshot, refer https://www.browserstack.com " \
241
+ "/docs/percy/ integrate/ functional-and- visual" , str (context .exception ))
242
242
243
243
class TestPercyScreenshot (unittest .TestCase ):
244
244
@classmethod
@@ -309,7 +309,7 @@ def test_disables_screenshot_when_the_healthcheck_version_is_missing(self):
309
309
mock_print .assert_called_with (
310
310
f'{ LABEL } You may be using @percy/agent which is no longer supported by this SDK. '
311
311
'Please uninstall @percy/agent and install @percy/cli instead. '
312
- 'https://docs.percy.io /docs/migrating -to-percy -cli' )
312
+ 'https://www.browserstack.com /docs/percy/migration/migrate -to-cli' )
313
313
314
314
self .assertEqual (httpretty .last_request ().path , '/percy/healthcheck' )
315
315
@@ -403,7 +403,7 @@ def test_raise_error_web_token_with_screenshot(self):
403
403
"percy_screenshot(). Please use percy_snapshot() function for taking screenshot. " \
404
404
"percy_screenshot() should be used only while using Percy with Automate. " \
405
405
"For more information on usage of percy_snapshot(), refer doc for your language " \
406
- "https://docs.percy.io /docs/end-to-end-testing " , str (context .exception ))
406
+ "https://www.browserstack.com /docs/percy/integrate/overview " , str (context .exception ))
407
407
408
408
def get_percy_test_requests ():
409
409
response = requests .get ('http://localhost:5338/test/requests' , timeout = 10 )
0 commit comments