Skip to content

Commit

Permalink
docs: update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
molvqingtai committed Mar 11, 2024
1 parent 6a3ca82 commit bb601f6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ userEvent.click(dialogButton)

const dialog = await findBySelector(document.body, '.dialog', { timeout: 1000 })

const usernameInput = getBySelector(dialog, '.dialog form input[name="username"]')
const passwordInput = getBySelector(dialog, '.dialog form input[name="password"]')
const loginButton = getBySelector(dialog, '.dialog form button[type="submit"]')
const usernameInput = getBySelector(dialog, 'form input[name="username"]')
const passwordInput = getBySelector(dialog, 'form input[name="password"]')
const loginButton = getBySelector(dialog, 'form button[type="submit"]')

userEvent.type(usernameInput, 'admin')
userEvent.type(passwordInput, 'abc123')
Expand Down

0 comments on commit bb601f6

Please sign in to comment.