OXIESEC PANEL
- Current Dir:
/
/
var
/
www
/
reader
/
API
/
swagger-ui-5.17.14
/
test
/
e2e-cypress
/
e2e
/
bugs
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
08/07/2024 04:34:14 AM
rwxr-xr-x
📄
4442.cy.js
1.12 KB
08/07/2024 04:34:12 AM
rw-r--r--
📄
4641.cy.js
3.36 KB
08/07/2024 04:34:12 AM
rw-r--r--
📄
4838.cy.js
338 bytes
08/07/2024 04:34:12 AM
rw-r--r--
📄
4865.cy.js
722 bytes
08/07/2024 04:34:12 AM
rw-r--r--
📄
4867.cy.js
474 bytes
08/07/2024 04:34:12 AM
rw-r--r--
📄
4943.cy.js
572 bytes
08/07/2024 04:34:12 AM
rw-r--r--
📄
5043.cy.js
977 bytes
08/07/2024 04:34:12 AM
rw-r--r--
📄
5060.cy.js
678 bytes
08/07/2024 04:34:12 AM
rw-r--r--
📄
5070.cy.js
1 KB
08/07/2024 04:34:12 AM
rw-r--r--
📄
5072.cy.js
785 bytes
08/07/2024 04:34:12 AM
rw-r--r--
📄
5129.cy.js
3.83 KB
08/07/2024 04:34:12 AM
rw-r--r--
📄
5138.cy.js
283 bytes
08/07/2024 04:34:12 AM
rw-r--r--
📄
5164.cy.js
606 bytes
08/07/2024 04:34:12 AM
rw-r--r--
📄
5188.cy.js
660 bytes
08/07/2024 04:34:12 AM
rw-r--r--
📄
5452.cy.js
1.33 KB
08/07/2024 04:34:12 AM
rw-r--r--
📄
5453.cy.js
406 bytes
08/07/2024 04:34:12 AM
rw-r--r--
📄
5455.cy.js
433 bytes
08/07/2024 04:34:12 AM
rw-r--r--
📄
5458.cy.js
703 bytes
08/07/2024 04:34:12 AM
rw-r--r--
📄
5660.cy.js
680 bytes
08/07/2024 04:34:12 AM
rw-r--r--
📄
6016.cy.js
1.71 KB
08/07/2024 04:34:12 AM
rw-r--r--
📄
6158.cy.js
1.79 KB
08/07/2024 04:34:12 AM
rw-r--r--
📄
6183.cy.js
1.47 KB
08/07/2024 04:34:12 AM
rw-r--r--
📄
6276.cy.js
1.52 KB
08/07/2024 04:34:12 AM
rw-r--r--
📄
6351.cy.js
507 bytes
08/07/2024 04:34:12 AM
rw-r--r--
📄
6369.cy.js
1.86 KB
08/07/2024 04:34:12 AM
rw-r--r--
📄
6442.cy.js
1.1 KB
08/07/2024 04:34:13 AM
rw-r--r--
📄
6475.cy.js
1.89 KB
08/07/2024 04:34:13 AM
rw-r--r--
📄
6540.cy.js
735 bytes
08/07/2024 04:34:13 AM
rw-r--r--
📄
6627.cy.js
455 bytes
08/07/2024 04:34:13 AM
rw-r--r--
📄
7996.cy.js
592 bytes
08/07/2024 04:34:13 AM
rw-r--r--
📄
8217.cy.js
894 bytes
08/07/2024 04:34:13 AM
rw-r--r--
📄
editor-1868.cy.js
675 bytes
08/07/2024 04:34:13 AM
rw-r--r--
📄
swos-63.cy.js
1.1 KB
08/07/2024 04:34:13 AM
rw-r--r--
Editing: 4442.cy.js
Close
/** * @prettier */ describe("UI #4442: Parameter.content display and execution", function() { it("should display textareas as static documentation according to the `example`", () => { cy.visit("/?url=/documents/bugs/4442.yaml") .get(`#operations-default-get_`) .click() .get(".btn.try-out__btn") .click() .get( `div.json-schema-array > div:nth-child(1) > div > textarea` ) .should("have.value", `{\n "userId": 1,\n "currency": "USD"\n}`) .get( `div.json-schema-array > div:nth-child(2) > div > textarea` ) .should("have.value", `{\n "userId": 2,\n "currency": "CAD"\n}`) }) it("should serialize JSON into a query correctly", () => { cy.visit("/?url=/documents/bugs/4442.yaml") .get(`#operations-default-get_`) .click() .get(".btn.try-out__btn") .click() .get(".btn.execute") .click() .get(".request-url pre") .should( "have.text", `http://localhost:3230/?users=${encodeURIComponent( `[{"userId":1,"currency":"USD"},{"userId":2,"currency":"CAD"}]` )}` ) }) })