chore: add oauth2 server mock logging
parent
d7fc0569d5
commit
554d3a11e4
|
@ -65,7 +65,7 @@ jobs:
|
|||
- name: OAuth2 Mock Server
|
||||
run: |
|
||||
yarn --cwd $(git rev-parse --show-toplevel)/etc/oauth2-server-mock
|
||||
RUNNER_TRACKING_ID="" && (nohup yarn --cwd $(git rev-parse --show-toplevel)/etc/oauth2-server-mock start&)
|
||||
RUNNER_TRACKING_ID="" && (nohup yarn --cwd $(git rev-parse --show-toplevel)/etc/oauth2-server-mock start > oauth2-mock.log 2>&1 &)
|
||||
env:
|
||||
OAUTH2_HOSTNAME: 172.17.0.1
|
||||
OAUTH2_PORT: 8087
|
||||
|
@ -118,6 +118,7 @@ jobs:
|
|||
with:
|
||||
name: results
|
||||
path: |
|
||||
oauth2-mock.log
|
||||
out.log
|
||||
ui/cypress/videos/*.mp4
|
||||
ui/cypress/results/results-*.xml
|
||||
|
|
|
@ -45,11 +45,7 @@ describe('Use Dashboards', () => {
|
|||
beforeEach(() => {
|
||||
cy.deleteUser('Reader')
|
||||
cy.createUser('Reader', 'oauth-mock', 'oauth2')
|
||||
cy.OAuthLogin('Reader')
|
||||
cy.OAuthLogout()
|
||||
cy.OAuthLogout()
|
||||
cy.OAuthLogout()
|
||||
cy.visit('/login')
|
||||
cy.OAuthLoginAsDiffUser('Reader')
|
||||
})
|
||||
|
||||
it('ensure that all elements used to edit Chronograf are not visible', () => {
|
||||
|
|
Loading…
Reference in New Issue