Skip to content

BugMagnet successfully inserts data into Draft-JS-Editor input field, but data is not recognized #24

@stepanchukr

Description

@stepanchukr

Hello,

I am using the BugMagnet browser extension to generate test data for our web application. Recently, we switched to using the Draft-JS-Editor for our input fields, and now BugMagnet does not work when inserting data into this field. The field does not recognize the inserted data, and the following error appears in the browser console:

Error: Got unexpected null or undefined
var nullthrows = function nullthrows(x) {
  if (x != null) {
    return x;
  }
  throw new Error("Got unexpected null or undefined");
};

Steps to reproduce:

  1. Navigate to the page with the Draft-JS-Editor input field.
  2. Try to insert data using BugMagnet.
  3. Notice the error in the browser console.

Expected behavior:
The input field should recognize and correctly process the data inserted using BugMagnet.

Can you help resolve this issue? It might require updating the extension to support Draft-JS-Editor.

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions