mirror of
https://github.com/cypress-io/cypress.git
synced 2026-05-01 12:30:01 -05:00
Add UTM parameters to Dashboard login buttons
This commit is contained in:
@@ -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 () {
|
||||
|
||||
Reference in New Issue
Block a user