Skip to content

Commit

Permalink
fix(squix-printers): updates case sensitive printer names
Browse files Browse the repository at this point in the history
  • Loading branch information
BenTopping committed Jun 6, 2024
1 parent 4f24839 commit 1c1f63f
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions src/config/PrinterList.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
"name": "g216abc"
},
{
"name": "AA312bc"
"name": "aa312bc"
},
{
"name": "AA312bc2"
"name": "aa312bc2"
}
]
}
4 changes: 2 additions & 2 deletions tests/e2e/specs/visit_print_job_page.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ describe('Print Job page', () => {
})

it('PMB request is successful', () => {
cy.get('[data-attribute=printer-select]').select('AA312bc')
cy.get('[data-attribute=printer-select]').select('aa312bc')
cy.get('[data-attribute=barcode-input]').type('aBarcode')

cy.intercept('/v2/print_jobs', {
Expand All @@ -30,7 +30,7 @@ describe('Print Job page', () => {
})

it('PMB request is unsuccessful, failed response', () => {
cy.get('[data-attribute=printer-select]').select('AA312bc')
cy.get('[data-attribute=printer-select]').select('aa312bc')
cy.get('[data-attribute=barcode-input]').type('aBarcode')
cy.intercept('/v2/print_jobs', {
statusCode: 422,
Expand Down
4 changes: 2 additions & 2 deletions tests/unit/PrintJob.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ describe('PrintJob.vue', () => {
'h106bc',
'g214bc',
'g216abc',
'AA312bc',
'AA312bc2',
'aa312bc',
'aa312bc2',
])
})
})
Expand Down
8 changes: 4 additions & 4 deletions tests/unit/lib/PrinterHelpers.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ describe('PrinterHelpers', () => {
'h106bc',
'g214bc',
'g216abc',
'AA312bc',
'AA312bc2',
'aa312bc',
'aa312bc2',
])
})

Expand All @@ -63,8 +63,8 @@ describe('PrinterHelpers', () => {
'h106bc',
'g214bc',
'g216abc',
'AA312bc',
'AA312bc2',
'aa312bc',
'aa312bc2',
])
})
})
Expand Down

0 comments on commit 1c1f63f

Please sign in to comment.