diff --git a/Makefile b/Makefile index a9d44e0b..cccb840b 100644 --- a/Makefile +++ b/Makefile @@ -159,10 +159,26 @@ code-check-userfront-tests: code-check-adminfront-tests: @echo "==> adminfront tests" - cd adminfront && npx playwright install - cd adminfront && npm test + @mkdir -p reports/adminfront + @rm -rf reports/adminfront/playwright-report reports/adminfront/test-results + @status=0; \ + (cd adminfront && npx playwright install) || status=$$?; \ + if [ $$status -eq 0 ]; then \ + (cd adminfront && npm test) || status=$$?; \ + fi; \ + [ -d adminfront/playwright-report ] && cp -R adminfront/playwright-report reports/adminfront/ || true; \ + [ -d adminfront/test-results ] && cp -R adminfront/test-results reports/adminfront/ || true; \ + exit $$status code-check-devfront-tests: @echo "==> devfront tests" - cd devfront && npx playwright install - cd devfront && npm test + @mkdir -p reports/devfront + @rm -rf reports/devfront/playwright-report reports/devfront/test-results + @status=0; \ + (cd devfront && npx playwright install) || status=$$?; \ + if [ $$status -eq 0 ]; then \ + (cd devfront && npm test) || status=$$?; \ + fi; \ + [ -d devfront/playwright-report ] && cp -R devfront/playwright-report reports/devfront/ || true; \ + [ -d devfront/test-results ] && cp -R devfront/test-results reports/devfront/ || true; \ + exit $$status diff --git a/userfront/pubspec.lock b/userfront/pubspec.lock index 7a953009..9e031c34 100644 --- a/userfront/pubspec.lock +++ b/userfront/pubspec.lock @@ -45,10 +45,10 @@ packages: dependency: transitive description: name: characters - sha256: faf38497bda5ead2a8c7615f4f7939df04333478bf32e4173fcb06d428b5716b + sha256: f71061c654a3380576a52b451dd5532377954cf9dbd272a78fc8479606670803 url: "https://pub.dev" source: hosted - version: "1.4.1" + version: "1.4.0" cli_config: dependency: transitive description: @@ -268,6 +268,14 @@ packages: url: "https://pub.dev" source: hosted version: "1.0.5" + js: + dependency: transitive + description: + name: js + sha256: "53385261521cc4a0c4658fd0ad07a7d14591cf8fc33abbceae306ddb974888dc" + url: "https://pub.dev" + source: hosted + version: "0.7.2" leak_tracker: dependency: transitive description: @@ -320,18 +328,18 @@ packages: dependency: transitive description: name: matcher - sha256: "12956d0ad8390bbcc63ca2e1469c0619946ccb52809807067a7020d57e647aa6" + sha256: dc58c723c3c24bf8d3e2d3ad3f2f9d7bd9cf43ec6feaa64181775e60190153f2 url: "https://pub.dev" source: hosted - version: "0.12.18" + version: "0.12.17" material_color_utilities: dependency: transitive description: name: material_color_utilities - sha256: "9c337007e82b1889149c82ed242ed1cb24a66044e30979c44912381e9be4c48b" + sha256: f7142bb1154231d7ea5f96bc7bde4bda2a0945d2806bb11670e30b850d56bdec url: "https://pub.dev" source: hosted - version: "0.13.0" + version: "0.11.1" meta: dependency: transitive description: @@ -637,26 +645,26 @@ packages: dependency: transitive description: name: test - sha256: "54c516bbb7cee2754d327ad4fca637f78abfc3cbcc5ace83b3eda117e42cd71a" + sha256: "75906bf273541b676716d1ca7627a17e4c4070a3a16272b7a3dc7da3b9f3f6b7" url: "https://pub.dev" source: hosted - version: "1.29.0" + version: "1.26.3" test_api: dependency: transitive description: name: test_api - sha256: "93167629bfc610f71560ab9312acdda4959de4df6fac7492c89ff0d3886f6636" + sha256: ab2726c1a94d3176a45960b6234466ec367179b87dd74f1611adb1f3b5fb9d55 url: "https://pub.dev" source: hosted - version: "0.7.9" + version: "0.7.7" test_core: dependency: transitive description: name: test_core - sha256: "394f07d21f0f2255ec9e3989f21e54d3c7dc0e6e9dbce160e5a9c1a6be0e2943" + sha256: "0cc24b5ff94b38d2ae73e1eb43cc302b77964fbf67abad1e296025b78deb53d0" url: "https://pub.dev" source: hosted - version: "0.6.15" + version: "0.6.12" toml: dependency: "direct main" description: