fix(ui): airflow cypress test (#12084)

* fix(ui): airflow cypress test

* remove highlighting check for airflow service
This commit is contained in:
Sachin Chaurasiya 2023-06-22 15:11:45 +05:30 committed by GitHub
parent a9a830a93a
commit c60d8b5899
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,7 +13,6 @@
// / <reference types="Cypress" /> // / <reference types="Cypress" />
import { import {
checkServiceFieldSectionHighlighting,
deleteCreatedService, deleteCreatedService,
editOwnerforCreatedService, editOwnerforCreatedService,
goToAddNewServicePage, goToAddNewServicePage,
@ -34,11 +33,9 @@ const description = `This is ${tableName} description`;
const connectionInput = () => { const connectionInput = () => {
cy.get('#root\\/hostPort').type(Cypress.env('airflowHostPort')); cy.get('#root\\/hostPort').type(Cypress.env('airflowHostPort'));
checkServiceFieldSectionHighlighting('hostPort');
cy.get('#root\\/connection__oneof_select') cy.get('#root\\/connection__oneof_select')
.scrollIntoView() .scrollIntoView()
.select('BackendConnection'); .select('BackendConnection');
checkServiceFieldSectionHighlighting('connection');
}; };
describe('Airflow Ingestion', () => { describe('Airflow Ingestion', () => {