playwright/utils/flakiness-dashboard

Flakiness Dashboard Backend

This directory contains source code for the Azure function that we use to aggregate test reports. The data is consumed by https://devops.playwright.dev/flakiness.html

Publish

  • Install Azure Functions Core Tools version 4:
    brew tap azure/functions
    brew install azure-functions-core-tools@4
    # if upgrading on a machine that has 2.x or 3.x installed:
    brew link --overwrite azure-functions-core-tools@4
    
  • Install Azure CLI:
    brew update && brew install azure-cli
    
  • Login to Azure CLI and select the subscription (popup will open):
    az login
    
  • Install NPM Deps (node_modules/ folder will be published as-is):
    cd utils/flakiness-dashboard/
    npm install
    
  • Publish:
    func azure functionapp publish folio-flakiness-dashboard --javascript