chore: ping OAuth2 Server and log the outcome, change user test to Test

pull/5911/head
k3yi0 2022-04-29 10:12:31 +02:00
parent 7c92062609
commit 595bc348cd
5 changed files with 7 additions and 5 deletions

View File

@ -69,7 +69,7 @@ jobs:
env:
OAUTH2_HOSTNAME: 172.17.0.1
OAUTH2_PORT: 8087
OAUTH2_TEST_USER_NAME: Test User
OAUTH2_TEST_USER_NAME: test
OAUTH2_TEST_USER_EMAIL: test@oauth2.mock
OAUTH2_REDIRECT_URL: http://host.docker.internal:8888/oauth/oauth-mock/callback
@ -97,6 +97,7 @@ jobs:
run: |
echo "InfluxDB data node status: $(curl -Isk "https://localhost:8086/ping" | head -n 1)"
echo "Chronograf status: $(curl -Isk "http://localhost:8888" | head -n 1)"
echo "OAuth2 Server status: $(curl -Isk "http://172.17.0.1:8087" | head -n 1)"
cat out.log || true
- name: Cypress

View File

@ -1,6 +1,6 @@
describe('Use Admin tab', () => {
beforeEach(() => {
cy.OAuthLogin('test')
cy.OAuthLogin('Test')
cy.visit('/login')
cy.removeConnections()
cy.createConnection()

View File

@ -1,6 +1,6 @@
describe('Use Dashboards', () => {
beforeEach(() => {
cy.OAuthLogin('test')
cy.OAuthLogin('Test')
cy.visit('/login')
cy.removeConnections()
cy.createConnection()

View File

@ -1,6 +1,6 @@
describe('query builder', () => {
beforeEach(() => {
cy.OAuthLogin('test')
cy.OAuthLogin('Test')
cy.deleteDashboards()
cy.removeConnections()
cy.createConnection()

View File

@ -1,8 +1,9 @@
describe('Welcome Page', () => {
beforeEach(() => {
cy.OAuthLogin('test')
cy.OAuthLogin('Test')
cy.removeConnections()
cy.OAuthLogout()
console.log(window.location.hostname)
})
it('set up InfluxDB connection', () => {