This is an automated email from the ASF dual-hosted git repository.

rahulvats pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new 05c3386ef4f Fixed Variable Page tests (#62133)
05c3386ef4f is described below

commit 05c3386ef4fe15d6b11bd9edeb49c63bb21b38b1
Author: Sarthak Vaish <[email protected]>
AuthorDate: Wed Feb 18 22:53:54 2026 +0530

    Fixed Variable Page tests (#62133)
---
 airflow-core/src/airflow/ui/tests/e2e/specs/variable.spec.ts | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/airflow-core/src/airflow/ui/tests/e2e/specs/variable.spec.ts 
b/airflow-core/src/airflow/ui/tests/e2e/specs/variable.spec.ts
index f0ae73dc101..d3498ab477b 100644
--- a/airflow-core/src/airflow/ui/tests/e2e/specs/variable.spec.ts
+++ b/airflow-core/src/airflow/ui/tests/e2e/specs/variable.spec.ts
@@ -23,7 +23,7 @@ import { VariablePage } from "../pages/VariablePage";
 
 test.describe("Variables Page", () => {
   let variablesPage: VariablePage;
-  let createVariables = 6;
+  let createVariables = 3;
 
   const createdVariables: Array<{
     description: string;
@@ -49,6 +49,9 @@ test.describe("Variables Page", () => {
 
       createdVariables.push(variable);
 
+      // Wait for dialog backdrop to fully disappear
+      await expect(page.locator('[data-part="backdrop"]')).toHaveCount(0);
+
       await variablesPage.addButton.click();
 
       await expect(page.getByRole("heading", { name: /add/i })).toBeVisible({ 
timeout: 20_000 });
@@ -206,6 +209,7 @@ test.describe("Variables Page", () => {
   });
 
   test.afterAll(async ({ browser }) => {
+    test.setTimeout(300_000);
     if (createdVariables.length === 0) {
       return;
     }

Reply via email to