Skip to content

Commit 0c94380

Browse files
authored
docs url update (#11)
1 parent b7abdf3 commit 0c94380

4 files changed

Lines changed: 10 additions & 10 deletions

File tree

.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
@@ -60,7 +60,7 @@ $ percy exec -- [python test command]
6060

6161
- `page` (**required**) - A playwright page instance
6262
- `name` (**required**) - The snapshot name; must be unique to each snapshot
63-
- `**kwargs` - [See per-snapshot configuration options](https://docs.percy.io/docs/cli-configuration#per-snapshot-configuration)
63+
- `**kwargs` - [See per-snapshot configuration options](https://www.browserstack.com/docs/percy/take-percy-snapshots/overview#per-snapshot-configuration)
6464

6565

6666
## Percy on Automate
@@ -137,4 +137,4 @@ $ percy exec -- [python test command]
137137
[percy] Done!
138138
```
139139

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

percy/screenshot.py

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

@@ -73,7 +73,7 @@ def percy_snapshot(page, name, **kwargs):
7373
"percy_snapshot(). "
7474
"Please use percy_screenshot() function while using Percy with Automate. "
7575
"For more information on usage of PercyScreenshot, "
76-
"refer https://docs.percy.io/docs/integrate-functional-testing-with-visual-testing"
76+
"refer https://www.browserstack.com/docs/percy/integrate/functional-and-visual"
7777
)
7878

7979
try:
@@ -126,7 +126,7 @@ def percy_automate_screenshot(page, name, options=None, **kwargs):
126126
"percy_screenshot(). Please use percy_snapshot() function for taking screenshot. "
127127
"percy_screenshot() should be used only while using Percy with Automate. "
128128
"For more information on usage of percy_snapshot(), "
129-
"refer doc for your language https://docs.percy.io/docs/end-to-end-testing"
129+
"refer doc for your language https://www.browserstack.com/docs/percy/integrate/overview"
130130
)
131131

132132
if options is None:

tests/test_screenshot.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ def test_disables_snapshots_when_the_healthcheck_version_is_missing(self):
162162
mock_print.assert_called_with(
163163
f"{LABEL} You may be using @percy/agent which is no longer supported by this SDK. "
164164
"Please uninstall @percy/agent and install @percy/cli instead. "
165-
"https://docs.percy.io/docs/migrating-to-percy-cli"
165+
"https://www.browserstack.com/docs/percy/migration/migrate-to-cli"
166166
)
167167

168168
self.assertEqual(httpretty.last_request().path, "/percy/healthcheck")
@@ -253,8 +253,8 @@ def test_raise_error_poa_token_with_snapshot(self):
253253
"Invalid function call - "
254254
"percy_snapshot(). Please use percy_screenshot() "
255255
"function while using Percy with Automate."
256-
" For more information on usage of PercyScreenshot, refer https://docs.percy.io/docs"
257-
"/integrate-functional-testing-with-visual-testing",
256+
" For more information on usage of PercyScreenshot, refer https://www.browserstack.com/"
257+
"docs/percy/integrate/functional-and-visual",
258258
str(context.exception),
259259
)
260260

0 commit comments

Comments
 (0)