Skip to content

Instantly share code, notes, and snippets.

@NouranMahmoud
Created June 14, 2021 19:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save NouranMahmoud/98ce6caeec63f3e1206e6fe3fcdd0058 to your computer and use it in GitHub Desktop.
Save NouranMahmoud/98ce6caeec63f3e1206e6fe3fcdd0058 to your computer and use it in GitHub Desktop.
[percy:config] Found config file: .percy.json (0ms)
[percy:config] Using config:
{
version: 2,
snapshot: {
widths: [
375,
1280,
1920
],
minHeight: 1024
},
static: {
baseUrl: 'http://localhost:4200/',
files: '**/*.html,**/*.scss,**/*.css,**/*.woff,**/*.svg,**/*.js,**/*.woff2,**/*.ico',
ignore: '**/*.htm'
},
discovery: {
networkIdleTimeout: 1000,
allowedHostnames: [
'http://localhost:4200'
]
},
upload: {
files: '**/*.{png,jpg,jpeg}',
ignore: ''
}
} (16ms)
[percy:core] Percy has started! (1106ms)
[percy:core] Created build #48: https://percy.io/c980acca/angular-percy-test/builds/10990983 (0ms)
[percy:cli:exec] Running "npm run e2e" (0ms)
> percy-ang-app@0.0.0 e2e /Users/nouran/Backbase/experiements/percy-ang-app
> ng e2e
[21:11:39] I/update - chromedriver: file exists /Users/nouran/Backbase/experiements/percy-ang-app/node_modules/protractor/node_modules/webdriver-manager/selenium/chromedriver_91.0.4472.101.zip
[21:11:39] I/update - chromedriver: unzipping chromedriver_91.0.4472.101.zip
[21:11:39] I/update - chromedriver: setting permissions to 0755 for /Users/nouran/Backbase/experiements/percy-ang-app/node_modules/protractor/node_modules/webdriver-manager/selenium/chromedriver_91.0.4472.101
[21:11:39] I/update - chromedriver: chromedriver_91.0.4472.101 up to date
chunk {main} main.js, main.js.map (main) 58.1 kB [initial] [rendered]
chunk {polyfills} polyfills.js, polyfills.js.map (polyfills) 141 kB [initial] [rendered]
chunk {runtime} runtime.js, runtime.js.map (runtime) 6.15 kB [entry] [rendered]
chunk {styles} styles.js, styles.js.map (styles) 172 kB [initial] [rendered]
chunk {vendor} vendor.js, vendor.js.map (vendor) 2.63 MB [initial] [rendered]
Date: 2021-06-14T19:12:01.298Z - Hash: 27c181799387196d62a5 - Time: 17458ms
** Angular Live Development Server is listening on localhost:4200, open your browser on http://localhost:4200/ **
: Compiled successfully.
[21:12:02] I/launcher - Running 1 instances of WebDriver
[21:12:02] I/direct - Using ChromeDriver directly...
Jasmine started
[percy:core] --------- (36631ms)
[percy:core] Handling snapshot: (1ms)
[percy:core] -> name: buttons (0ms)
[percy:core] -> url: http://localhost:4200/ (0ms)
[percy:core] -> widths: 375px, 1280px, 1920px (0ms)
[percy:core] -> minHeight: 1024px (0ms)
[percy:core] -> enableJavaScript: false (0ms)
[percy:core] -> discovery: {} (0ms)
[percy:core] -> clientInfo: @percy/protractor/2.0.0 (0ms)
[percy:core] -> environmentInfo: protractor/7.0.0 (0ms)
[percy:core] -> domSnapshot:
<!DOCTYPE html><html lang="en"><head>
<meta charset="utf-8">
<title>PercyAngApp</title>
<base href="/">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="favicon.ico">
<style>.mat-badge-content{font-weight:600;font-size:12px;font-family:Roboto, "Helvetica Neue", sans-serif}.mat-badge-small .mat-badge-content{font-size:9px}.mat-badge-large .mat-badge-content{font-size:24px}.mat-h1,.mat-headline,.mat-typography h1{font:400 24px/32px Roboto, "Helvetica Neue", sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h2,.mat-title,.mat-typography h2{font:500 20px/32px Roboto, "Helvetica Neue", sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h3,.mat-subheading-2,.mat-typography h3{font:400 16px/28px Roboto, "Helvetica Neue", sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h4,.mat-subheading-1,.mat-typography h4{font:400 15px/24px Roboto, "Helvetica Neue", sans-serif;letter-spacing:normal;margin:0 0 16px}.mat-h5,.mat-typography h5{font:... [truncated] (0ms)
[percy:core:discovery] Discovering resources @375px for http://localhost:4200/ (1ms)
[percy:core:discovery] Discovering resources @1280px for http://localhost:4200/ (1ms)
[percy:core:discovery] Discovering resources @1920px for http://localhost:4200/ (0ms)
[percy:core:page] Initialize page (14ms)
[percy:core:page] Initialize page (1ms)
[percy:core:page] Initialize page (3ms)
[percy:core:page] Navigate to: http://localhost:4200/ (340ms)
[percy:core:page] Navigate to: http://localhost:4200/ (27ms)
[percy:core:discovery] Handling request for http://localhost:4200/ (16ms)
[percy:core:discovery] Serving root resource for http://localhost:4200/ (0ms)
[percy:core:discovery] Handling request for http://localhost:4200/ (131ms)
[percy:core:discovery] Serving root resource for http://localhost:4200/ (0ms)
[percy:core:page] Navigate to: http://localhost:4200/ (87ms)
[percy:core:discovery] Handling request for http://localhost:4200/ (5ms)
[percy:core:discovery] Serving root resource for http://localhost:4200/ (1ms)
[percy:core:discovery] Handling request for http://localhost:4200/Inter-SemiBold.woff (139ms)
[percy:core:discovery] Handling request for http://localhost:4200/Inter-SemiBold.woff (32ms)
[percy:core:discovery] Handling request for http://localhost:4200/MaterialIcons-Regular.woff2 (12ms)
[percy:core:discovery] Handling request for http://localhost:4200/Inter-Regular.woff (16ms)
[percy:core:discovery] Handling request for http://localhost:4200/MaterialIcons-Regular.woff2 (11ms)
[percy:core:discovery] Handling request for http://localhost:4200/Inter-Regular.woff (26ms)
[percy:core:discovery] Handling request for http://localhost:4200/Inter-SemiBold.woff (10ms)
[percy:core:discovery] Handling request for http://localhost:4200/MaterialIcons-Regular.woff2 (0ms)
[percy:core:discovery] Handling request for http://localhost:4200/Inter-Regular.woff (8ms)
[percy:core:discovery] Processing resource - http://localhost:4200/MaterialIcons-Regular.woff2 (58ms)
[percy:core:discovery] Processing resource - http://localhost:4200/MaterialIcons-Regular.woff2 (97ms)
[percy:core:discovery] Processing resource - http://localhost:4200/Inter-SemiBold.woff (68ms)
[percy:core:discovery] -> url: http://localhost:4200/MaterialIcons-Regular.woff2 (21ms)
[percy:core:discovery] -> sha: 0064aebfc447da584f63a92bee1695821ab0c947ce49062678b7ec5b9f3a92fe (2ms)
[percy:core:discovery] -> filepath: /var/folders/y9/xccf5n_d01z7zmklxq1rkzz40000gp/T/percy/0064aebfc447da584f63a92bee1695821ab0c947ce49062678b7ec5b9f3a92fe (0ms)
[percy:core:discovery] -> mimetype: font/woff2 (1ms)
[percy:core:discovery] Processing resource - http://localhost:4200/Inter-SemiBold.woff (5ms)
[percy:core:discovery] -> url: http://localhost:4200/MaterialIcons-Regular.woff2 (26ms)
[percy:core:discovery] -> sha: 0064aebfc447da584f63a92bee1695821ab0c947ce49062678b7ec5b9f3a92fe (1ms)
[percy:core:discovery] -> filepath: /var/folders/y9/xccf5n_d01z7zmklxq1rkzz40000gp/T/percy/0064aebfc447da584f63a92bee1695821ab0c947ce49062678b7ec5b9f3a92fe (1ms)
[percy:core:discovery] -> mimetype: font/woff2 (0ms)
[percy:core:discovery] Processing resource - http://localhost:4200/Inter-Regular.woff (5ms)
[percy:core:page] Page navigated (6ms)
[percy:core:network] Wait for 1000ms idle (1ms)
[percy:core:discovery] -> url: http://localhost:4200/Inter-SemiBold.woff (22ms)
[percy:core:discovery] -> sha: e7d9429050b3941c28537a82532694af68235bd6bc3691a1d2eeb5e6baa19822 (1ms)
[percy:core:discovery] -> filepath: /var/folders/y9/xccf5n_d01z7zmklxq1rkzz40000gp/T/percy/e7d9429050b3941c28537a82532694af68235bd6bc3691a1d2eeb5e6baa19822 (0ms)
[percy:core:discovery] -> mimetype: font/woff (1ms)
[percy:core:discovery] -> url: http://localhost:4200/Inter-Regular.woff (12ms)
[percy:core:discovery] -> sha: 18ed8611c71d979f6ce33b4c63cd45532bc67b6ba5e0d4d3855ffb541e9fedd3 (0ms)
[percy:core:discovery] -> filepath: /var/folders/y9/xccf5n_d01z7zmklxq1rkzz40000gp/T/percy/18ed8611c71d979f6ce33b4c63cd45532bc67b6ba5e0d4d3855ffb541e9fedd3 (0ms)
[percy:core:discovery] -> mimetype: font/woff (0ms)
[percy:core:page] Page navigated (82ms)
[percy:core:network] Wait for 1000ms idle (0ms)
[percy:core:discovery] -> url: http://localhost:4200/Inter-SemiBold.woff (106ms)
[percy:core:discovery] -> sha: e7d9429050b3941c28537a82532694af68235bd6bc3691a1d2eeb5e6baa19822 (2ms)
[percy:core:discovery] -> filepath: /var/folders/y9/xccf5n_d01z7zmklxq1rkzz40000gp/T/percy/e7d9429050b3941c28537a82532694af68235bd6bc3691a1d2eeb5e6baa19822 (0ms)
[percy:core:discovery] -> mimetype: font/woff (0ms)
[percy:core:page] Page navigated (0ms)
[percy:core:network] Wait for 1000ms idle (0ms)
[percy:core:page] Page closing (813ms)
[percy:core:page] Page closing (189ms)
[percy:core:page] Page closing (6ms)
[percy:core] Snapshot taken: buttons (5ms)
workspace-project App
✓ should visually render the page
Executed 1 of 1 spec SUCCESS in 4 secs.
[21:12:13] I/launcher - 0 instance(s) of WebDriver still running
[21:12:13] I/launcher - chrome #01 passed
[percy:core] Stopping percy... (348ms)
[percy:core] Waiting for 1 snapshot(s) to finish uploading (0ms)
[percy:core] Encountered an error uploading snapshot: buttons (1312ms)
[percy:core] Error: socket hang up
at connResetException (internal/errors.js:604:14)
at TLSSocket.socketOnEnd (_http_client.js:460:23)
at TLSSocket.emit (events.js:323:22)
at endReadableNT (_stream_readable.js:1204:12)
at processTicksAndRejections (internal/process/task_queues.js:84:21) (0ms)
Error: Finalizing build 10990983 failed: cannot finalize before all snapshot resources are
uploaded. This is likely a client error, please make sure that content for all SHAs in
'missing-resources' from the snapshot response are uploaded before calling finalize.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! percy-ang-app@0.0.0 percy:run: `PERCY_TOKEN=02370b10d0258a8e50dc76d9097eafc41936d40e7efab400a724f6f3a6d80118 npx percy exec --verbose -t 1000 -- npm run e2e`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the percy-ang-app@0.0.0 percy:run script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/nouran/.npm/_logs/2021-06-14T19_12_15_462Z-debug.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment