diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 1c1eeed5..dc737eae 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -61,6 +61,13 @@ jobs: responseCode: 200 timeout: 20000 interval: 500 + - name: Wait for prometheus to be configured in grafana + uses: nev7n/wait_for_response@v1 + with: + url: 'http://localhost:3099/api/datasources/uid/prometheus-amazon/health' + responseCode: 200 + timeout: 20000 + interval: 500 - name: Install Playwright Browsers run: yarn playwright install --with-deps - name: Run E2E tests