diff --git a/.github/workflows/notification.yml b/.github/workflows/notification.yml index 233e435d3..d0494d9d3 100644 --- a/.github/workflows/notification.yml +++ b/.github/workflows/notification.yml @@ -5,6 +5,7 @@ on: workflows: - "QE LinkChecker" - "Check for Broken Links" + - "UI validation on prod" types: [completed] permissions: diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml new file mode 100644 index 000000000..8f0343ed2 --- /dev/null +++ b/.github/workflows/playwright.yml @@ -0,0 +1,32 @@ +name: UI validation on prod +on: + workflow_dispatch: + schedule: + - cron: "0 * * * *" + +jobs: + run-playwright-tests: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: lts/* + - name: Install dependencies + run: npm ci + - name: Install Playwright Browsers + run: npx playwright install --with-deps + - name: Run Playwright tests + run: npx playwright test --retries=2 + - uses: actions/upload-artifact@v4 + if: ${{ !cancelled() }} + with: + name: playwright-report + path: tests/playwright-report/ + retention-days: 30 + - uses: actions/upload-artifact@v4 + if: ${{ !cancelled() }} + with: + name: test-results + path: tests/test-results/ + retention-days: 30 diff --git a/.gitignore b/.gitignore index 84b086a9b..546f942dc 100644 --- a/.gitignore +++ b/.gitignore @@ -40,3 +40,8 @@ build *.swp *.mo node_modules + +# Playwright +/coverage +*/test-results +*/playwright-report diff --git a/content/nginxaas-azure/billing/usage-and-cost-estimator.md b/content/nginxaas-azure/billing/usage-and-cost-estimator.md index 28f2ef7a8..2ea97e8a1 100644 --- a/content/nginxaas-azure/billing/usage-and-cost-estimator.md +++ b/content/nginxaas-azure/billing/usage-and-cost-estimator.md @@ -11,45 +11,45 @@ type: {{< raw-html >}} -