Skip to content

#6656 Partner refresh tokens #20721

#6656 Partner refresh tokens

#6656 Partner refresh tokens #20721

Triggered via pull request June 21, 2024 18:25
Status Failure
Total duration 16m 56s
Artifacts 5

ci.yml

on: pull_request
Matrix: end-to-end-tests / run-tests
Create report
30s
Create report
upload-to-codecov
0s
upload-to-codecov
Fit to window
Zoom out
Zoom in

Annotations

15 errors and 1 warning
types
Process completed with exit code 2.
dead-code
Process completed with exit code 1.
lint: src/auth/authStorage.ts#L145
Comments should not begin with a lowercase character
lint: src/background/auth/partnerIntegrations/launchAuthIntegration.test.ts#L51
Comments should not begin with a lowercase character
lint: src/background/auth/partnerIntegrations/launchAuthIntegration.test.ts#L80
Comments should not begin with a lowercase character
lint: src/contrib/google/sheets/core/sheetsApi.test.ts#L53
Comments should not begin with a lowercase character
lint: src/testUtils/factories/authFactories.ts#L19
All imports in the declaration are only used as types. Use `import type`
lint
Process completed with exit code 1.
error handling › Returns permissions error on 401 if no refresh token: src/background/requests.ts#L403
expect(received).rejects.toThrow(expected) Expected substring: "Permission denied, re-authenticate with Google and try again. Details: Unauthorized" Received message: "Cannot read properties of undefined (reading 'digest')" 401 | )) as RemoteResponse<TData>; 402 | } catch (error) { > 403 | throw new ContextError("Error performing request", { | ^ 404 | cause: prepareErrorForMessenger(error), 405 | context: await getIntegrationMessageContext(integrationConfig), 406 | }); at performConfiguredRequest (src/background/requests.ts:403:11) at executeRequest (src/contrib/google/sheets/core/sheetsApi.ts:50:20) at src/contrib/google/sheets/core/sheetsApi.test.ts:168:7 at Object.toThrow (node_modules/expect/build/index.js:218:22) at toThrow (src/contrib/google/sheets/core/sheetsApi.test.ts:168:56)
error handling › Returns permissions error on 403 if no refresh token: src/background/requests.ts#L403
expect(received).rejects.toThrow(expected) Expected substring: "You do not have permission to access the Google Drive resource. Have you been granted access? If this resource is public, you need to open it in a separate browser tab before it will appear here." Received message: "Cannot read properties of undefined (reading 'digest')" 401 | )) as RemoteResponse<TData>; 402 | } catch (error) { > 403 | throw new ContextError("Error performing request", { | ^ 404 | cause: prepareErrorForMessenger(error), 405 | context: await getIntegrationMessageContext(integrationConfig), 406 | }); at performConfiguredRequest (src/background/requests.ts:403:11) at executeRequest (src/contrib/google/sheets/core/sheetsApi.ts:50:20) at src/contrib/google/sheets/core/sheetsApi.test.ts:168:7 at Object.toThrow (node_modules/expect/build/index.js:218:22) at toThrow (src/contrib/google/sheets/core/sheetsApi.test.ts:168:56)
error handling › Returns permissions error on 401 if token refresh fails: src/background/requests.ts#L403
expect(received).rejects.toThrow(expected) Expected substring: "Permission denied, re-authenticate with Google and try again. Details: Unauthorized" Received message: "Cannot read properties of undefined (reading 'digest')" 401 | )) as RemoteResponse<TData>; 402 | } catch (error) { > 403 | throw new ContextError("Error performing request", { | ^ 404 | cause: prepareErrorForMessenger(error), 405 | context: await getIntegrationMessageContext(integrationConfig), 406 | }); at performConfiguredRequest (src/background/requests.ts:403:11) at executeRequest (src/contrib/google/sheets/core/sheetsApi.ts:50:20) at src/contrib/google/sheets/core/sheetsApi.test.ts:212:7 at Object.toThrow (node_modules/expect/build/index.js:218:22) at toThrow (src/contrib/google/sheets/core/sheetsApi.test.ts:212:56)
error handling › Returns permissions error on 403 if token refresh fails: src/background/requests.ts#L403
expect(received).rejects.toThrow(expected) Expected substring: "You do not have permission to access the Google Drive resource. Have you been granted access? If this resource is public, you need to open it in a separate browser tab before it will appear here." Received message: "Cannot read properties of undefined (reading 'digest')" 401 | )) as RemoteResponse<TData>; 402 | } catch (error) { > 403 | throw new ContextError("Error performing request", { | ^ 404 | cause: prepareErrorForMessenger(error), 405 | context: await getIntegrationMessageContext(integrationConfig), 406 | }); at performConfiguredRequest (src/background/requests.ts:403:11) at executeRequest (src/contrib/google/sheets/core/sheetsApi.ts:50:20) at src/contrib/google/sheets/core/sheetsApi.test.ts:212:7 at Object.toThrow (node_modules/expect/build/index.js:218:22) at toThrow (src/contrib/google/sheets/core/sheetsApi.test.ts:212:56)
test
Process completed with exit code 1.
end-to-end-tests / run-tests (chrome)
Process completed with exit code 1.
end-to-end-tests / run-tests (edge)
Process completed with exit code 1.
prettier
The `python-version` input is not set. The version of Python currently in `PATH` will be used.

Artifacts

Produced during runtime
Name Size
brick-headers Expired
17.4 KB
build-staging-bundle-dependency-report Expired
545 KB
end-to-end-tests-report Expired
475 KB
end-to-end-tests-report-chrome Expired
3.01 MB
end-to-end-tests-report-edge Expired
3.71 MB