Skip to content
  • Agnès Toulet's avatar
    Add unit and E2E tests (#479) · aca8ee68
    Agnès Toulet authored
    * set up test environment
    
    * fix and clean up tests
    
    * update Drone config to run tests
    
    * clean up docker-compose file
    
    * fix Grafana setup step
    
    * init yarn in test step
    
    * Update common.star
    
    * Update .drone.yml
    
    * Update browser.test.ts
    
    * add volumes for puppeteer cache
    
    * fix after merge
    
    * install browser in drone workspace
    
    * try to fix workspace
    
    * test other image to run tests
    
    * Update .drone.yml
    
    * trying things
    
    * Update ci image
    
    * fix test endpoint
    
    * add debug logs
    
    * fix provisioning file path
    
    * Update http-server.integration.test.ts
    
    * fix volumes
    
    * update provisioning
    
    * fix dashboards provisioning path
    
    * remove debug logs
    
    * add image log
    
    * tmp comment out tests
    
    * Update http-server.integration.test.ts
    
    * Update http-server.integration.test.ts
    
    * test with deviceScaleFactor
    
    * Update http-server.integration.test.ts
    
    * display styles to compare CI vs local
    
    * Update browser.ts
    
    * Use pixelmatch to compare test images + clean up
    
    * remove failing test + clean up provisioning files
    
    * switch image to grafana-enterprise
    
    * update test image
    
    * Update README.md
    
    * fix docker-compose path
    
    * Add instructions to run on Drone-like env
    
    * update golden files
    
    * remove broken test
    
    * remove slow.png
    
    * move reading env settings
    
    * update yarn-test to embed running Grafana Docker
    
    * Update Drone Docker and instructions
    
    * hide logs on success
    aca8ee68