ashb commented on a change in pull request #8106: [AIRFLOW-7049] Persistent
display/filtering of DAG status
URL: https://github.com/apache/airflow/pull/8106#discussion_r404763358
##########
File path: tests/www/test_views.py
##########
@@ -1534,7 +1549,7 @@ def test_dag_autocomplete_success(self):
self.login(username='all_dag_user',
password='all_dag_user')
resp = self.client.get(
- 'dagmodel/autocomplete?query=example_bash&showPaused=True',
+ 'dagmodel/autocomplete?query=example_bash&status=all',
Review comment:
This end point only looks at the cookie value (which is correct) so we
shouldn't pass this argument here, but instead set a cookie on the request.
I suspect this is working right now because `home?status=all` was the last
time we set set the status, and tests are currently run top-to-bottom, but if
you ran just this single test on its own it might fail.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services