Skip to content

Commit

Permalink
Merge branch 'main' of github.com:bluesky-social/ozone-ui into templa…
Browse files Browse the repository at this point in the history
…te-language
  • Loading branch information
foysalit committed Sep 4, 2024
2 parents 2cc66ed + 24d7fe7 commit 3bdb7df
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion components/shell/auth/credential/CredentialSignInForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export function CredentialSignInForm({

const [handle, setHandle] = useState('')
const [password, setPassword] = useState('')
const [service, setService] = useState('http://localhost:2583')
const [service, setService] = useState('https://bsky.social')
const [authFactor, setAuthFactor] = useState<{
token: string
isInvalid: boolean
Expand Down
4 changes: 2 additions & 2 deletions cypress/e2e/auth/main.cy.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/// <reference types="cypress" />"

import { mockAuthResponse } from '../../support/api'
import { API_URL, mockAuthResponse } from '../../support/api'

describe('Authentication', () => {
let authFixture
Expand All @@ -21,7 +21,7 @@ describe('Authentication', () => {
},
})

cy.get('#service-url').should('have.value', 'http://localhost:2583')
cy.get('#service-url').clear().type(API_URL)
cy.get('#account-handle').type('alice.test')
cy.get('#password').type('hunter2')
cy.get("button[type='submit']").click()
Expand Down
2 changes: 1 addition & 1 deletion cypress/support/commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Cypress.Commands.add(
body: authFixture.getLabelerRecordResponse,
})

cy.get('#service-url').should('have.value', API_URL)
cy.get('#service-url').clear().type(API_URL)
cy.get('#account-handle').type('alice.test')
cy.get('#password').type('hunter2')
cy.get("button[type='submit']").click()
Expand Down

0 comments on commit 3bdb7df

Please sign in to comment.