Skip to content

Commit 727738a

Browse files
committed
docs url update
1 parent aaf517a commit 727738a

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ assignees: ''
1111
1212
There are common setup gotchas that happen with Percy's SDKs, it would be worth reading
1313
the debugging document, which might already answer your question:
14-
https://docs.percy.io/docs/debugging-sdk
14+
https://www.browserstack.com/docs/percy/integrate/percy-sdk-workflow#debugging-sdks
1515
1616
## Reach out to Percy support instead?
1717
@@ -43,7 +43,7 @@ If necessary, describe the problem you have been experiencing in more detail.
4343
## Debug logs
4444

4545
If you are reporting a bug, _always_ include logs! [Give the "Debugging SDKs"
46-
document a quick read for how to gather logs](https://docs.percy.io/docs/debugging-sdks#debugging-sdks)
46+
document a quick read for how to gather logs](https://www.browserstack.com/docs/percy/integrate/percy-sdk-workflow#debugging-sdks)
4747

4848
Please do not trim or edit these logs, often times there are hints in the full
4949
logs that help debug what is going on.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ $ percy exec -- [python test command]
5858

5959
- `driver` (**required**) - A selenium-webdriver driver instance
6060
- `name` (**required**) - The snapshot name; must be unique to each snapshot
61-
- `**kwargs` - [See per-snapshot configuration options](https://docs.percy.io/docs/cli-configuration#per-snapshot-configuration)
61+
- `**kwargs` - [See per-snapshot configuration options](https://www.browserstack.com/docs/percy/take-percy-snapshots/overview#per-snapshot-configuration)
6262

6363
### Migrating Config
6464

@@ -132,4 +132,4 @@ $ percy exec -- [python test command]
132132
[percy] Done!
133133
```
134134

135-
Refer to docs here: [Percy on Automate](https://docs.percy.io/docs/integrate-functional-testing-with-visual-testing)
135+
Refer to docs here: [Percy on Automate](https://www.browserstack.com/docs/percy/integrate/functional-and-visual)

percy/snapshot.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def is_percy_enabled():
3535
print(f'{LABEL} You may be using @percy/agent '
3636
'which is no longer supported by this SDK. '
3737
'Please uninstall @percy/agent and install @percy/cli instead. '
38-
'https://docs.percy.io/docs/migrating-to-percy-cli')
38+
'https://www.browserstack.com/docs/percy/migration/migrate-to-cli')
3939
return False
4040

4141
if version.split('.')[0] != '1':
@@ -62,7 +62,7 @@ def percy_snapshot(driver, name, **kwargs):
6262
if session_type == "automate": raise Exception("Invalid function call - "\
6363
"percy_snapshot(). Please use percy_screenshot() function while using Percy with Automate. "\
6464
"For more information on usage of PercyScreenshot, "\
65-
"refer https://docs.percy.io/docs/integrate-functional-testing-with-visual-testing")
65+
"refer https://www.browserstack.com/docs/percy/integrate/functional-and-visual")
6666

6767

6868
try:
@@ -100,7 +100,7 @@ def percy_automate_screenshot(driver, name, options = None, **kwargs):
100100
"percy_screenshot(). Please use percy_snapshot() function for taking screenshot. "\
101101
"percy_screenshot() should be used only while using Percy with Automate. "\
102102
"For more information on usage of percy_snapshot(), "\
103-
"refer doc for your language https://docs.percy.io/docs/end-to-end-testing")
103+
"refer doc for your language https://www.browserstack.com/docs/percy/integrate/overview")
104104

105105
if options is None:
106106
options = {}

tests/test_snapshot.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ def test_disables_snapshots_when_the_healthcheck_version_is_missing(self):
158158
mock_print.assert_called_with(
159159
f'{LABEL} You may be using @percy/agent which is no longer supported by this SDK. '
160160
'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')
162162

163163
self.assertEqual(httpretty.last_request().path, '/percy/healthcheck')
164164

@@ -237,8 +237,8 @@ def test_raise_error_poa_token_with_snapshot(self):
237237

238238
self.assertEqual("Invalid function call - "\
239239
"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/docs"\
241+
"/percy/integrate/functional-and-visual", str(context.exception))
242242

243243
class TestPercyScreenshot(unittest.TestCase):
244244
@classmethod
@@ -309,7 +309,7 @@ def test_disables_screenshot_when_the_healthcheck_version_is_missing(self):
309309
mock_print.assert_called_with(
310310
f'{LABEL} You may be using @percy/agent which is no longer supported by this SDK. '
311311
'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')
313313

314314
self.assertEqual(httpretty.last_request().path, '/percy/healthcheck')
315315

@@ -403,7 +403,7 @@ def test_raise_error_web_token_with_screenshot(self):
403403
"percy_screenshot(). Please use percy_snapshot() function for taking screenshot. "\
404404
"percy_screenshot() should be used only while using Percy with Automate. "\
405405
"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))
407407

408408
def get_percy_test_requests():
409409
response = requests.get('http://localhost:5338/test/requests', timeout=10)

0 commit comments

Comments
 (0)