feat : E2E test to verify required action page#60449
feat : E2E test to verify required action page#60449vatsrahul1001 merged 31 commits intoapache:mainfrom
Conversation
airflow-core/src/airflow/ui/tests/e2e/pages/RequiredActionsPage.ts
Outdated
Show resolved
Hide resolved
…ecution for the suite.
@vatsrahul1001 For some reason in ci after clicking on approve in valid_input_options task the rest of the task is getting skipped , as seen in logs Task was skipped - no logs available. ?
Why is it like that can you help with this ? works fine on local |
Maybe instead of approving HITL flow in CI its rejecting due to which downstream tasks are getting skipped |
Working on a fix let you know when done |
|
@iharsh02 how are we progressing on this? |
I had increased the HITL execution timeout from 1 min to 5min (1min timeframe for HITL to execute in ci is slow that's why it was getting skipped) The test not longer getting skipped, but still in deffered state , which I am still figuring out |
It's in deferred state because you have not approved or rejected task from the required action tab. If you approve it tasks succeeds; if you reject than all downstream task skips |
In CI it shows the button clicked , is there any other reason the state of dag is being deferred ?
|
Looks like CI tried clicking but maybe it did not clicked. One thing to can try is to use HITL API to approve and see if it fixes for you just to verify |
|
@vatsrahul1001 test user(airflow) was not in the assigned user in the example_hitl_dag , so we were getting 403 when we were trying to approve the task Fixed |
Great work! |
airflow-core/src/airflow/ui/tests/e2e/pages/RequiredActionsPage.ts
Outdated
Show resolved
Hide resolved
airflow-core/src/airflow/ui/tests/e2e/pages/RequiredActionsPage.ts
Outdated
Show resolved
Hide resolved
feat : E2E test to verify required action page Co-authored-by: Rahul Vats <[email protected]>
feat : E2E test to verify required action page Co-authored-by: Rahul Vats <[email protected]>
feat : E2E test to verify required action page Co-authored-by: Rahul Vats <[email protected]>
feat : E2E test to verify required action page Co-authored-by: Rahul Vats <[email protected]>
feat : E2E test to verify required action page Co-authored-by: Rahul Vats <[email protected]>




Verify required action page
/required_actionscloses: #59934
related: #59028
Was generative AI tooling used to co-author this PR?
{pr_number}.significant.rstor{issue_number}.significant.rst, in airflow-core/newsfragments.