Add playwright to nightly & release workflows
diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml
index 8781b7440aa6..bfa4ee4197fa 100644
--- a/.github/workflows/nightly.yml
+++ b/.github/workflows/nightly.yml
@@ -95,6 +95,11 @@ jobs:
     with:
       ref: ${{needs.create-nightly-tag.outputs.tag}}
 
+  run-playwright-tests:
+    uses: ./.github/workflows/playwright.yml
+    with:
+      ref: ${{needs.create-nightly-tag.outputs.tag}}
+
   test-status-notification:
     runs-on: ubuntu-latest
 
@@ -107,6 +112,7 @@ jobs:
       - run-javascript-tests
       - run-py-prod-deps-smoke-test
       - run-cypress-tests
+      - run-playwright-tests
 
     env:
       SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
@@ -127,6 +133,8 @@ jobs:
         run: python scripts/slack_notifications.py nightly py_prod
       - if: ${{ needs.run-cypress-tests.result == 'failure' }}
         run: python scripts/slack_notifications.py nightly cypress
+      - if: ${{ needs.run-playwright-tests.result == 'failure' }}
+        run: python scripts/slack_notifications.py nightly playwright
 
   create-nightly-build:
     runs-on: ubuntu-latest
@@ -138,6 +146,7 @@ jobs:
       - run-javascript-tests
       - run-py-prod-deps-smoke-test
       - run-cypress-tests
+      - run-playwright-tests
 
     defaults:
       run:
diff --git a/.github/workflows/release-candidate.yml b/.github/workflows/release-candidate.yml
index caaa6358223e..65543fdb7e23 100644
--- a/.github/workflows/release-candidate.yml
+++ b/.github/workflows/release-candidate.yml
@@ -27,6 +27,11 @@ jobs:
     with:
       ref: ${{ github.ref_name }}
 
+  run-playwright-tests:
+    uses: ./.github/workflows/playwright.yml
+    with:
+      ref: ${{ github.ref_name }}
+
   build-release-candidate:
     runs-on: ubuntu-latest
 
@@ -35,6 +40,7 @@ jobs:
       - run-javascript-tests
       - run-py-prod-deps-smoke-test
       - run-cypress-tests
+      - run-playwright-tests
 
     defaults:
       run:
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 839d6fe036b7..86ccef5ec213 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -30,6 +30,11 @@ jobs:
     with:
       ref: ${{ github.ref_name }}
 
+  run-playwright-tests:
+    uses: ./.github/workflows/playwright.yml
+    with:
+      ref: ${{ github.ref_name }}
+
   build-release:
     runs-on: ubuntu-latest
 
@@ -38,6 +43,7 @@ jobs:
       - run-javascript-tests
       - run-py-prod-deps-smoke-test
       - run-cypress-tests
+      - run-playwright-tests
 
     defaults:
       run:
diff --git a/scripts/slack_notifications.py b/scripts/slack_notifications.py
index 6247fbdf03cc..4a144efe9876 100644
--- a/scripts/slack_notifications.py
+++ b/scripts/slack_notifications.py
@@ -34,6 +34,7 @@ def send_notification():
         "js": "on javascript tests",
         "py_prod": "on python prod dependencies test",
         "cypress": "on cypress tests",
+        "playwright": "on playwright tests",
         "build": "to release",
     }
 
@@ -74,7 +75,6 @@ def send_notification():
 
 
 def main():
-
     send_notification()
 
 

## Describe your changes

This PR adds the playwright e2e test workflow as part of our release(-candidate) and nightly workflows.

---

**Contribution License Agreement**

By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.
