Skip to content

Commit

Permalink
Merged WAVE Test Runner v3.0.2
Browse files Browse the repository at this point in the history
- Fixed custom timeouts in config.json not working
- Fixed malfunctioning sending of events in wave-service.js for tests
  • Loading branch information
FritzHeiden committed Jul 20, 2020
1 parent 454cf1b commit be75291
Show file tree
Hide file tree
Showing 6 changed files with 8,596 additions and 10 deletions.
2 changes: 1 addition & 1 deletion tools/serve/wave.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ def get_route_builder(aliases, config=None):
data = load_manifest()
from ..wave.wave_server import WaveServer
wave_server = WaveServer()
configuration_file_path = os.path.join(wpt.localpaths.repo_root, "tools/wave/resources/testharnessreport.js")
wave_server.initialize(
configuration_file_path=os.path.abspath("./config.json"),
reports_enabled=report,
Expand All @@ -40,7 +41,6 @@ def __call__(self, request, response):
response.content = json_string
response.headers = [("Content-Type", "application/json")]
return

wave_server.handle_request(request, response)

web_root = "wave"
Expand Down
34 changes: 34 additions & 0 deletions tools/wave/test/WAVE Local.postman_environment.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"id": "37be8ec4-7855-4554-867e-7a5d2a4f99e6",
"name": "WAVE Local",
"values": [
{
"key": "host",
"value": "web-platform.test",
"enabled": true
},
{
"key": "port",
"value": "8000",
"enabled": true
},
{
"key": "protocol",
"value": "http",
"enabled": true
},
{
"key": "web_root",
"value": "_wave",
"enabled": true
},
{
"key": "device_timeout",
"value": "60000",
"enabled": true
}
],
"_postman_variable_scope": "environment",
"_postman_exported_at": "2020-05-25T12:12:37.098Z",
"_postman_exported_using": "Postman/7.25.0"
}
Loading

0 comments on commit be75291

Please sign in to comment.