diff --git a/src/server/playground/comp/E2E.tsx b/src/server/playground/comp/E2E.tsx index e4b70b89..cac4ebbb 100644 --- a/src/server/playground/comp/E2E.tsx +++ b/src/server/playground/comp/E2E.tsx @@ -307,7 +307,7 @@ export function E2E({ baseUrl }: { baseUrl: string; bodyHeaders?: string }) { captures: e2eForm.captures.map(({ key, value }) => ({ key, value, - sequenceIdx: sequnces.length, + sequenceIdx: sequnces.length + 1, model: parsedHeaderBody.body.model, act: parsedHeaderBody.body.act, })), @@ -320,7 +320,11 @@ export function E2E({ baseUrl }: { baseUrl: string; bodyHeaders?: string }) { key, value, captured: findedInsideParsedCapture?.captured, - sequenceIdx: findedInsideParsedCapture?.sequenceIdx, + sequenceIdx: + findedInsideParsedCapture?.sequenceIdx || + findedInsideParsedCapture?.sequenceIdx === 0 + ? findedInsideParsedCapture?.sequenceIdx + 1 + : undefined, model: findedInsideParsedCapture?.model, act: findedInsideParsedCapture?.act, }; @@ -631,34 +635,36 @@ export function E2E({ baseUrl }: { baseUrl: string; bodyHeaders?: string }) { {e2eForms.map((e2eForm, idx) => (
- {e2eForms.length > 1 && ( -
-
handleDuplicate(idx)} - > - -
-
handleMove(idx, idx - 1)} - > - -
-
handleMove(idx, idx + 1)} - > - -
-
handleDelete(idx)} - > - -
+
+
handleDuplicate(idx)} + > +
- )} + {e2eForms.length > 1 && ( + +
handleMove(idx, idx - 1)} + > + +
+
handleMove(idx, idx + 1)} + > + +
+
handleDelete(idx)} + > + +
+
+ )} +
set test body and headers diff --git a/src/server/playground/comp/Pagination.tsx b/src/server/playground/comp/Pagination.tsx index d0d579cf..b8fc1b68 100644 --- a/src/server/playground/comp/Pagination.tsx +++ b/src/server/playground/comp/Pagination.tsx @@ -135,19 +135,13 @@ export function Pagination({ {" "}