Pre-scrape: Integration Tests — MEJIX SRL
Started: 2026-10-29 14:01:53
Suites (1)
1 passed
0 failed
0 pending
Tests (16)
7 passed
0 failed
9 pending
/home/runner/work/mejix-srl-nodejs-scraper/mejix-srl-nodejs-scraper/tests/integration/workflow.test.js4.661s
Integration: API Workflow > ANAF API
should search the company brand in ANAF and find it
passed
0.849s
Integration: API Workflow > ANAF API
should return empty array for non-existent brand
passed
0.4s
Integration: API Workflow > ANAF API
should fetch company details by valid CIF
passed
0.89s
Integration: API Workflow > ANAF API
should throw for invalid CIF
passed
1.177s
Integration: API Workflow > ANAF API
should use cached data when API fails (getCompanyFromANAFWithFallback)
passed
0.546s
Integration: API Workflow > Peviitor API
should respond successfully and contain companies array (Peviitor API may block non-browser requests)
passed
Integration: API Workflow > SOLR Company Core
should query company core by ID (skipped: set RUN_LIVE_API_TESTS=1 to run)
pending
Integration: API Workflow > SOLR Company Core
should have required company model fields (skipped: set RUN_LIVE_API_TESTS=1 to run)
pending
Integration: API Workflow > SOLR Company Core
should have optional field (group) if present (skipped: set RUN_LIVE_API_TESTS=1 to run)
pending
Integration: API Workflow > SOLR Jobs Core
should query jobs by CIF and return valid data (skipped: set RUN_LIVE_API_TESTS=1 to run)
pending
Integration: API Workflow > SOLR Jobs Core
should not have duplicate URLs for same CIF (skipped: set RUN_LIVE_API_TESTS=1 to run)
pending
Integration: API Workflow > SOLR Jobs Core
should have valid status values for all jobs (skipped: set RUN_LIVE_API_TESTS=1 to run)
pending
Integration: API Workflow > SOLR Jobs Core
should have valid CIF format for all jobs (skipped: set RUN_LIVE_API_TESTS=1 to run)
pending
Integration: API Workflow > Full Validation Workflow
should complete the ANAF → Peviitor validation path
passed
0.426s
Integration: API Workflow > Full Validation Workflow
should have matching CIF in company core (skipped: set RUN_LIVE_API_TESTS=1 to run)
pending
Integration: API Workflow > Full Validation Workflow
should validate company and query SOLR for existing jobs (skipped: set RUN_LIVE_API_TESTS=1 to run)
pending