{ "id": "e55b5d28-ec31-4401-8d2a-5b7829f36d82", "version": "2.0", "name": "test", "url": "http://localhost/", "tests": [ { "id": "834b529f-c7fc-4d43-bbdf-0cfabe285c75", "name": "issue324", "commands": [ { "id": "839bb8c7-14da-49dd-9554-e593be46fd3e", "comment": "", "command": "open", "target": "http://localhost:8000/tests/resources/basic/index.xhtml", "targets": [], "value": "" }, { "id": "392e5b60-ed91-445b-9827-001d5695fece", "comment": "", "command": "storeText", "target": "css=#header", "targets": [], "value": "header" }, { "id": "392e5b60-ed91-445b-9827-001d5695fece", "comment": "", "command": "assert", "target": "header", "targets": [], "value": "Header" }, { "id": "392e5b60-ed91-445b-9827-001d5695fece", "comment": "", "command": "executeScriptAsync", "target": "let done = arguments[0]; window.setTimeout(() => { document.getElementById('header').textContent = 'Header:Executed'; done('Hello World'); }, 1000);", "targets": [], "value": "result" }, { "id": "392e5b60-ed91-445b-9827-001d5695fece", "comment": "", "command": "assert", "target": "result", "targets": [], "value": "null" }, { "id": "392e5b60-ed91-445b-9827-001d5695fece", "comment": "", "command": "storeText", "target": "css=#header", "targets": [], "value": "header" }, { "id": "392e5b60-ed91-445b-9827-001d5695fece", "comment": "", "command": "assert", "target": "header", "targets": [], "value": "Header" }, { "id": "392e5b60-ed91-445b-9827-001d5695fece", "comment": "", "command": "pause", "target": "2000", "targets": [], "value": "" }, { "id": "392e5b60-ed91-445b-9827-001d5695fece", "comment": "", "command": "storeText", "target": "css=#header", "targets": [], "value": "header" }, { "id": "392e5b60-ed91-445b-9827-001d5695fece", "comment": "", "command": "assert", "target": "header", "targets": [], "value": "Header:Executed" } ] } ], "suites": [ { "id": "e7b7100f-dcc5-4d14-a6cc-7987a9d6f804", "name": "Default Suite", "persistSession": false, "parallel": false, "timeout": 300, "tests": [ "834b529f-c7fc-4d43-bbdf-0cfabe285c75" ] } ], "urls": [ "http://localhost/" ], "plugins": [] }