alinGmail / LiveMock

LiveMock is a comprehensive tool for API development and testing, offering mock data, request proxying, and logging, to streamline workflows and track traffic.
https://alingmail.github.io/LiveMockDoc/
Apache License 2.0
555 stars 85 forks source link

Expectaions Bug #21

Closed CaptainJon closed 5 months ago

CaptainJon commented 5 months ago

After switching expections to another page (there are many expectations),users can not modify expetations that comes begin with page 2, I suppose it is because the list was rendered by loop and items were binded with key of index, if we modify data from page 2, data from page 1 can get affected.

thus, if there are many expecations, it is not functional anymore.

alinGmail commented 5 months ago

yes,because the update of expectation use the index of the table row number, so i do not work in page 2. I will see how to fix it.

alinGmail commented 5 months ago

the bug was fixed by https://github.com/alinGmail/LiveMock/commit/2b64f2b6898f173afdc531ed50a79a1f231d7bde

CaptainJon commented 5 months ago

the bug was fixed by 2b64f2b

glad to hear that, are you going to publish a release?