Skip to content

Conversation

@adamfweidman
Copy link
Collaborator

@adamfweidman adamfweidman commented Feb 26, 2024

This change mainly introduces the uploadScreenshotToGCS() function and its helper getFolderNameFromStorageLocation() both of these functions are tested in the corresponding spec.ts file.

uploadScreenshotToGCS will be called within the checkLink function in navigation_func. This function will only be called if the user's screenshotCondition and link status align.

I've additionally added an assertion in an earlier test for code coverage reasons.

@adamfweidman adamfweidman force-pushed the take-screenshots branch 4 times, most recently from 23dcbd9 to bfbabc3 Compare February 27, 2024 19:36
@adamfweidman adamfweidman changed the title take-screenshots upload screenshot to GCS Bucket Feb 28, 2024
@adamfweidman adamfweidman merged commit 226b07c into final-blc-storage Feb 28, 2024
adamfweidman added a commit that referenced this pull request Feb 28, 2024
adamfweidman added a commit that referenced this pull request Feb 28, 2024
adamfweidman added a commit that referenced this pull request Mar 20, 2024
adamfweidman added a commit that referenced this pull request Apr 19, 2024
* get-cloud-region (#100)

Add functionality to synthetics-sdk-api to extract cloud region during GCF execution

* stoage proto api (#101)

* expose resolveProjectId (#104)

* update to capture_condition (#109)

* chore(deps): bump ip from 1.1.8 to 1.1.9 (#105)

* chore(deps): bump ip from 1.1.8 to 1.1.9

Bumps [ip](https://github.com/indutny/node-ip) from 1.1.8 to 1.1.9.
- [Commits](indutny/node-ip@v1.1.8...v1.1.9)

---
updated-dependencies:
- dependency-name: ip
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

* Empty-Commit

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Adam Weidman <[email protected]>

* add samples tags (#108)

* blc-api-integration-def (#102)

* resolveProjectId present (#106)

* take-screenshots (#107)

* rebase-capture-condition (#110)

* refactor-integrations (#112)

* sanitize strings (#113)

* Take and populate screenshot (#114)

* screenshots-prop

* broken_links.spec working

* fix naming

* pass-args

* response to comments

* change default (#118)

* update synthetics-sdk-api to point to new npm pkg

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
adamfweidman added a commit that referenced this pull request Apr 19, 2024
adamfweidman added a commit that referenced this pull request Apr 19, 2024
* blc-api-integration-def (#102)

* resolveProjectId present (#106)

* take-screenshots (#107)

* rebase-capture-condition (#110)

* refactor-integrations (#112)

* sanitize strings (#113)

* Take and populate screenshot (#114)

* screenshots-prop

* broken_links.spec working

* fix naming

* pass-args

* response to comments

* change default (#118)

* update synthetics-sdk-api to point to new npm pkg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants