KabaLabs / Cypress-Recorder

A dev tool that records user interaction with a web application and generates cypress code to allow the developer to replicate that particular session.
ISC License
658 stars 90 forks source link

Cypress command type() missing value #196

Open nils-hoyer opened 10 months ago

nils-hoyer commented 10 months ago

Hi there,

lovely extension! I appreciate your effort!

Description: Recorded command type() is missing its value.

Env:

Steps to reproduce:

  1. open https://example.cypress.io/todo
  2. Start Cypress Recorder
  3. click into input "Whats need to be done?"
  4. type "this is a test"
  5. click li "All"
  6. Stop Recording

Given Result:

cy.visit('https://example.cypress.io/todo');
cy.get('[data-test=new-todo]').type('');
cy.get('.todoapp').click();

Expected Result

cy.visit('https://example.cypress.io/todo');
cy.get('[data-test=new-todo]').type('this is a test');
cy.get('.todoapp').click();

Image: Bildschirmfoto 2024-01-10 um 10 29 06