chore(cypress): remove branching

pull/5982/head
k3yi0 2022-07-13 13:07:28 +02:00
parent e4377ecd28
commit 1f38ab5797
2 changed files with 2 additions and 11 deletions

View File

@ -21,7 +21,6 @@ describe('Configuration', () => {
cy.getByTestID('dismiss-button').click()
cy.get('.overlay--container').should('not.exist')
cy.getByTestID('add-connection--button').click()
cy.getByTestID('connection-url--input')
.clear()
.type(srcCredentials.influxDBURL)
@ -34,11 +33,7 @@ describe('Configuration', () => {
cy.getByTestID('connection-password--input')
.clear()
.type(srcCredentials.password)
.then(() => {
if (srcCredentials.influxDBURL.startsWith('https')) {
cy.getByTestID('unsafe-ssl--checkbox').click()
}
})
cy.getByTestID('unsafe-ssl--checkbox').click()
cy.getByTestID('meta-service-connection-url--input')
.clear()
.type(srcCredentials.metaUrl)

View File

@ -26,11 +26,7 @@ describe('Welcome Page', () => {
cy.getByTestID('connection-password--input')
.clear()
.type(srcCredentials.password)
.then(() => {
if (srcCredentials.influxDBURL.startsWith('https')) {
cy.getByTestID('unsafe-ssl--checkbox').click()
}
})
cy.getByTestID('unsafe-ssl--checkbox').click()
cy.getByTestID('meta-service-connection-url--input')
.clear()