Add UTM parameters to Dashboard login buttons

This commit is contained in:
Zach Panzarino
2020-06-09 12:24:32 -04:00
parent bb94af9b58
commit 568f12e3cb
3 changed files with 4 additions and 4 deletions
@@ -54,7 +54,7 @@ describe('Login', function () {
it('opens dashboard on clicking \'Cypress Dashboard\'', () => {
cy.contains('Cypress Dashboard').click().then(function () {
expect(this.ipc.externalOpen).to.be.calledWith('https://on.cypress.io/dashboard')
expect(this.ipc.externalOpen).to.be.calledWith('https://on.cypress.io/log-in-nav')
})
})
@@ -210,7 +210,7 @@ describe('Login', function () {
it('opens link to Dashboard Service on click', function () {
cy.contains('a', 'Cypress Dashboard Service')
.click().then(function () {
expect(this.ipc.externalOpen).to.be.calledWith('https://on.cypress.io/dashboard')
expect(this.ipc.externalOpen).to.be.calledWith('https://on.cypress.io/log-in-nav')
})
})
})
@@ -116,7 +116,7 @@ class LoginContent extends Component {
}
_openDashboard () {
ipc.externalOpen('https://on.cypress.io/dashboard')
ipc.externalOpen('https://on.cypress.io/log-in-nav')
}
_openAPIHelp () {
@@ -63,7 +63,7 @@ export default class ProjectNotSetup extends Component {
_visitDashboard = (e) => {
e.preventDefault()
ipc.externalOpen('https://on.cypress.io/dashboard')
ipc.externalOpen('https://on.cypress.io/log-in-runs')
}
_invalidProject () {