Browse Source

Update benchmark snapshots (#12451)

Frédéric Collonval 3 years ago
parent
commit
20c582d509
1 changed files with 2 additions and 1 deletions
  1. 2 1
      galata/package.json

+ 2 - 1
galata/package.json

@@ -38,9 +38,10 @@
     "start:detached": "(jlpm run start&)",
     "test": "playwright test",
     "test:benchmark": "jlpm run test -c playwright-benchmark.config.js",
+    "test:benchmark:update": "BENCHMARK_NUMBER_SAMPLES=1 jlpm run test -c playwright-benchmark.config.js --update-snapshots",
     "test:debug": "PWDEBUG=1 playwright test",
     "test:report": "http-server ./playwright-report -a localhost -o",
-    "test:update": "playwright test --update-snapshots"
+    "test:update": "playwright test --update-snapshots && jlpm test:benchmark:update"
   },
   "dependencies": {
     "@jupyterlab/application": "^3.3.4",