Browse Source

Merge pull request #15727 from surajshetty3416/fix-barcode-test

version-14
Suraj Shetty 3 years ago
committed by GitHub
parent
commit
befe4082b1
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions
  1. +0
    -2
      cypress/integration/control_barcode.js

+ 0
- 2
cypress/integration/control_barcode.js View File

@@ -21,7 +21,6 @@ context('Control Barcode', () => {
get_dialog_with_barcode().as('dialog'); get_dialog_with_barcode().as('dialog');


cy.get('.frappe-control[data-fieldname=barcode]').findByRole('textbox') cy.get('.frappe-control[data-fieldname=barcode]').findByRole('textbox')
.focus()
.type('123456789') .type('123456789')
.blur(); .blur();
cy.get('.frappe-control[data-fieldname=barcode] svg[data-barcode-value="123456789"]') cy.get('.frappe-control[data-fieldname=barcode] svg[data-barcode-value="123456789"]')
@@ -38,7 +37,6 @@ context('Control Barcode', () => {
get_dialog_with_barcode().as('dialog'); get_dialog_with_barcode().as('dialog');


cy.get('.frappe-control[data-fieldname=barcode]').findByRole('textbox') cy.get('.frappe-control[data-fieldname=barcode]').findByRole('textbox')
.focus()
.type('123456789') .type('123456789')
.blur(); .blur();
cy.get('.frappe-control[data-fieldname=barcode]').findByRole('textbox') cy.get('.frappe-control[data-fieldname=barcode]').findByRole('textbox')


Loading…
Cancel
Save