From eb954d8553bac709283d8236f4d5e64f5a9dc621 Mon Sep 17 00:00:00 2001 From: prklm10 Date: Fri, 14 Jun 2024 15:29:36 +0530 Subject: [PATCH 1/2] updating docs url --- .github/ISSUE_TEMPLATE/bug_report.md | 4 ++-- README.md | 2 +- lib/percy/capybara.rb | 2 +- spec/lib/percy/percy_capybara_spec.rb | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 789a142..936ad2d 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -11,7 +11,7 @@ assignees: '' There are common setup gotchas that happen with Percy's SDKs, it would be worth reading the debugging document, which might already answer your question: -https://docs.percy.io/docs/debugging-sdk +https://www.browserstack.com/docs/percy/integrate/percy-sdk-workflow#debugging-sdks ## Reach out to Percy support instead? @@ -43,7 +43,7 @@ If necessary, describe the problem you have been experiencing in more detail. ## Debug logs If you are reporting a bug, _always_ include logs! [Give the "Debugging SDKs" -document a quick read for how to gather logs](https://docs.percy.io/docs/debugging-sdks#debugging-sdks) +document a quick read for how to gather logs](https://www.browserstack.com/docs/percy/integrate/percy-sdk-workflow#debugging-sdks) Please do not trim or edit these logs, often times there are hints in the full logs that help debug what is going on. diff --git a/README.md b/README.md index e227589..abf2f1e 100644 --- a/README.md +++ b/README.md @@ -66,7 +66,7 @@ $ percy exec -- [test command] `page.snapshot(name[, options])` - `name` (**required**) - The snapshot name; must be unique to each snapshot -- `options` - [See per-snapshot configuration options](https://docs.percy.io/docs/cli-configuration#per-snapshot-configuration) +- `options` - [See per-snapshot configuration options](https://www.browserstack.com/docs/percy/take-percy-snapshots/overview#per-snapshot-configuration) ## Upgrading diff --git a/lib/percy/capybara.rb b/lib/percy/capybara.rb index 18f1a3d..195ec25 100644 --- a/lib/percy/capybara.rb +++ b/lib/percy/capybara.rb @@ -55,7 +55,7 @@ def percy_snapshot(name, options = {}) log('You may be using @percy/agent ' \ 'which is no longer supported by this SDK. ' \ 'Please uninstall @percy/agent and install @percy/cli instead. ' \ - 'https://docs.percy.io/docs/migrating-to-percy-cli') + 'https://www.browserstack.com/docs/percy/migration/migrate-to-cli') @percy_enabled = false return false end diff --git a/spec/lib/percy/percy_capybara_spec.rb b/spec/lib/percy/percy_capybara_spec.rb index fa4b691..22d10de 100644 --- a/spec/lib/percy/percy_capybara_spec.rb +++ b/spec/lib/percy/percy_capybara_spec.rb @@ -25,7 +25,7 @@ "#{LABEL} You may be using @percy/agent which" \ ' is no longer supported by this SDK. Please uninstall' \ ' @percy/agent and install @percy/cli instead.' \ - " https://docs.percy.io/docs/migrating-to-percy-cli\n", + " https://www.browserstack.com/docs/percy/migration/migrate-to-cli\n", ).to_stdout end From 8ecd0415aadce3553cad12bab362b9f6526f2bae Mon Sep 17 00:00:00 2001 From: prklm10 Date: Fri, 14 Jun 2024 15:31:47 +0530 Subject: [PATCH 2/2] updating node version --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ff16f30..90e4399 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -37,7 +37,7 @@ jobs: restore-keys: v1/${{ runner.os }}/ruby-${{ matrix.ruby }}/ - uses: actions/setup-node@v3 with: - node-version: 14 + node-version: 16 - name: Get yarn cache directory path id: yarn-cache-dir-path run: echo "::set-output name=dir::$(yarn cache dir)"