Skip to content

Commit

Permalink
add bonus 43
Browse files Browse the repository at this point in the history
  • Loading branch information
bahmutov committed May 26, 2023
1 parent b03b1f9 commit ca9a7d8
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 59 deletions.
59 changes: 0 additions & 59 deletions cypress/e2e/inventory/product.cy.ts

This file was deleted.

12 changes: 12 additions & 0 deletions cypress/e2e/login/login-form.cy.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import { LoginPage } from '@support/pages/login.page'

describe('Login form', () => {
// visit the login page before each test
beforeEach(() => {
cy.visit('/')
})

it('hides the username', () => {
cy.get(LoginPage.selectors.username).type('username', { hide: true })
})
})

0 comments on commit ca9a7d8

Please sign in to comment.