change company to companyName
This commit is contained in:
parent
34ad065d59
commit
5cd4d3ad3f
2 changed files with 2 additions and 1 deletions
|
|
@ -4,7 +4,7 @@ describe('freight carriers', () => {
|
|||
})
|
||||
it('creates freight carrier', () => {
|
||||
cy.visit('/freight_carriers')
|
||||
cy.get('input[name=company]').type('test company')
|
||||
cy.get('input[name=companyName]').type('test company')
|
||||
cy.get('input[name=contact_person]').type('Joe Shmoe')
|
||||
cy.get('input[name=email]').type('joe@shmoe.com')
|
||||
cy.get('input[name=phone_number]').type('123456789')
|
||||
|
|
|
|||
|
|
@ -6,6 +6,7 @@
|
|||
<body>
|
||||
<form action="/create_carrier">
|
||||
<input name="company" type="text"/>
|
||||
<input name="companyName" type="text"/>
|
||||
<input name="contact_person" type="text"/>
|
||||
<input name="email" type="email"/>
|
||||
<input name="phone_number" type="text"/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue