test: Remove focus to avoid double focus
- Due to double focus barcode tests fails randomly ref: https://dashboard.cypress.io/projects/92odwv/runs/25831/overview/067a8ebf-eed7-4caa-9719-59cc1b7ce5bf/video
This commit is contained in:
parent
02ffb1c2fa
commit
7eaeaab8d2
1 changed files with 0 additions and 2 deletions
|
|
@ -21,7 +21,6 @@ context('Control Barcode', () => {
|
|||
get_dialog_with_barcode().as('dialog');
|
||||
|
||||
cy.get('.frappe-control[data-fieldname=barcode]').findByRole('textbox')
|
||||
.focus()
|
||||
.type('123456789')
|
||||
.blur();
|
||||
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');
|
||||
|
||||
cy.get('.frappe-control[data-fieldname=barcode]').findByRole('textbox')
|
||||
.focus()
|
||||
.type('123456789')
|
||||
.blur();
|
||||
cy.get('.frappe-control[data-fieldname=barcode]').findByRole('textbox')
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue