This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch v2-10-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/v2-10-test by this push:
new 9932830f56 Change confirmation text (#41650) (#41679)
9932830f56 is described below
commit 9932830f568931303a7a64b1d1cfea89d6d328c3
Author: Kevin Allen <[email protected]>
AuthorDate: Thu Aug 22 12:02:58 2024 -0400
Change confirmation text (#41650) (#41679)
---
airflow/www/templates/airflow/confirm.html | 2 +-
tests/www/views/test_views_acl.py | 2 +-
tests/www/views/test_views_decorators.py | 2 +-
tests/www/views/test_views_tasks.py | 4 ++--
4 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/airflow/www/templates/airflow/confirm.html
b/airflow/www/templates/airflow/confirm.html
index 1b7d7c8eef..1790bb3b1c 100644
--- a/airflow/www/templates/airflow/confirm.html
+++ b/airflow/www/templates/airflow/confirm.html
@@ -21,7 +21,7 @@
{% block content %}
{{ super() }}
- <h2>Wait a minute</h2>
+ <h2>Please confirm</h2>
<div class="panel">
<p>{{ message }}</p>
{% if details %}
diff --git a/tests/www/views/test_views_acl.py
b/tests/www/views/test_views_acl.py
index 17700749f6..9586d81aa6 100644
--- a/tests/www/views/test_views_acl.py
+++ b/tests/www/views/test_views_acl.py
@@ -788,7 +788,7 @@ def
test_success_fail_for_read_only_task_instance_access(client_only_dags_tis):
past="false",
)
resp = client_only_dags_tis.post("success", data=form)
- check_content_not_in_response("Wait a minute", resp, resp_code=302)
+ check_content_not_in_response("Please confirm", resp, resp_code=302)
GET_LOGS_WITH_METADATA_URL = (
diff --git a/tests/www/views/test_views_decorators.py
b/tests/www/views/test_views_decorators.py
index f10b3d6684..84492a2d52 100644
--- a/tests/www/views/test_views_decorators.py
+++ b/tests/www/views/test_views_decorators.py
@@ -116,7 +116,7 @@ def test_action_logging_post(session, admin_client):
only_failed="false",
)
resp = admin_client.post("clear", data=form)
- check_content_in_response(["example_bash_operator", "Wait a minute"], resp)
+ check_content_in_response(["example_bash_operator", "Please confirm"],
resp)
# In mysql backend, this commit() is needed to write down the logs
session.commit()
_check_last_log(
diff --git a/tests/www/views/test_views_tasks.py
b/tests/www/views/test_views_tasks.py
index 3eb258f4cd..0c947c7553 100644
--- a/tests/www/views/test_views_tasks.py
+++ b/tests/www/views/test_views_tasks.py
@@ -320,12 +320,12 @@ def client_ti_without_dag_edit(app):
pytest.param(
f"confirm?task_id=runme_0&dag_id=example_bash_operator&state=success"
f"&dag_run_id={DEFAULT_DAGRUN}",
- ["Wait a minute"],
+ ["Please confirm"],
id="confirm-success",
),
pytest.param(
f"confirm?task_id=runme_0&dag_id=example_bash_operator&state=failed&dag_run_id={DEFAULT_DAGRUN}",
- ["Wait a minute"],
+ ["Please confirm"],
id="confirm-failed",
),
pytest.param(