Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error en iUpdateBooking #2

Open
DimaxQp opened this issue Aug 2, 2023 · 0 comments
Open

error en iUpdateBooking #2

DimaxQp opened this issue Aug 2, 2023 · 0 comments

Comments

@DimaxQp
Copy link

DimaxQp commented Aug 2, 2023

Al ejecutar:
@when("I UPDATE a booking")
public void iUpdateBooking(List boList) {
Response response = bookingEndPoints.addBooking(world);
bookingId = bookingEndPoints.getBookingIdFromResponse(response);
Booking updatedBooking = new Booking(boList.get(0), boList.get(1), Integer.parseInt(boList.get(2)),
Boolean.parseBoolean(boList.get(3)), null, boList.get(4));
world.setResponse(bookingEndPoints.updateBooking(bookingId, updatedBooking, null));
}
se muestra el siguiente error:

Caused by: io.cucumber.datatable.UndefinedDataTableTypeException: Can't convert DataTable to List<java.lang.String>.
Please review these problems:

  • There was a table cell transformer for java.lang.String but the table was too wide to use it.
    Please reduce the table width to use this converter.

  • There was no table entry or table row transformer registered for java.lang.String.
    Please consider registering a table entry or row transformer.
    image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant