OXIESEC PANEL
- Current Dir:
/
/
var
/
www
/
reader
/
API
/
swagger-ui-5.17.14
/
test
/
e2e-selenium
/
scenarios
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
08/07/2024 04:33:56 AM
rwxr-xr-x
📁
bugs
-
08/07/2024 04:34:15 AM
rwxr-xr-x
📁
features
-
08/07/2024 04:34:16 AM
rwxr-xr-x
📄
informationContainer.js
2.31 KB
08/07/2024 04:33:55 AM
rw-r--r--
📄
models.js
2.31 KB
08/07/2024 04:33:55 AM
rw-r--r--
📁
oas3
-
08/07/2024 04:34:16 AM
rwxr-xr-x
📄
on-complete.js
759 bytes
08/07/2024 04:33:56 AM
rw-r--r--
📁
operations
-
08/07/2024 04:34:16 AM
rwxr-xr-x
📄
refs.js
859 bytes
08/07/2024 04:33:56 AM
rw-r--r--
📄
schemeContainer.js
2 KB
08/07/2024 04:33:56 AM
rw-r--r--
📄
topbar.js
1.16 KB
08/07/2024 04:33:56 AM
rw-r--r--
Editing: on-complete.js
Close
const expect = require("expect") describe("onComplete option", function () { let mainPage beforeEach(function (client, done) { mainPage = client .url("localhost:3230") .page.main() client.waitForElementVisible(".download-url-input:not([disabled])", 5000) .pause(80) .clearValue(".download-url-input") .setValue(".download-url-input", "http://localhost:3230/test-specs/petstore.json") .click("button.download-url-button") .pause(1000) done() }) it("triggers the page-provided onComplete exactly 1 times", function (client, done) { client.execute(function() { return window.completeCount }, [], (result) => { expect(result.value).toEqual(1) client.end() }) }) })