mirror of
https://github.com/bitnami/charts.git
synced 2026-03-01 06:58:20 +08:00
[bitnami/airflow] Fix airflow Cypress tests (#10396)
* [bitnami/airflow] Fix airflow Cypress tests Signed-off-by: Jose Antonio Carmona <jcarmona@vmware.com> * Navigate directly to DAG instead of using UI Signed-off-by: Jose Antonio Carmona <jcarmona@vmware.com>
This commit is contained in:
committed by
GitHub
parent
9ae52bbce3
commit
0ae032d009
@@ -6,8 +6,7 @@ it('allows triggering execution of a sample DAG', () => {
|
||||
cy.fixture('DAGs').then((dags) => {
|
||||
const TRIGGERED_OK_MESSAGE = `Triggered ${dags.triggered.id}, it should start`;
|
||||
|
||||
cy.get('#dag_query').clear().type(`${dags.triggered.id}{enter}`);
|
||||
cy.get(`a[href="/tree?dag_id=${dags.triggered.id}"]`).click();
|
||||
cy.visit(`dags/${dags.triggered.id}/grid`);
|
||||
cy.get('a[aria-label="Trigger DAG"]').click();
|
||||
cy.contains('button', 'Trigger DAG').click(); // A dropdown appears and clicking again is needed
|
||||
cy.get('.alert-message').should('contain.text', TRIGGERED_OK_MESSAGE);
|
||||
|
||||
Reference in New Issue
Block a user