WebWorldWind icon indicating copy to clipboard operation
WebWorldWind copied to clipboard

Add surface shape performance test

Open zglueck opened this issue 6 years ago • 2 comments

Description of the Change

This PR adds a functional test which measures SurfaceShape performance. Both static and moving surface shapes are tested using an automated navigation technique.

Applicable Issues

Closes #694

zglueck avatar May 21 '18 22:05 zglueck

@pdavidc I've addressed 2, 3, and 4; however I need guidance with 1.

With the functionalTest directory designated as a test directory WebStorm's server function makes the content-type header equal text/html. The javascript files are then prevented from executing because:

because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.

Using an alternative server (e.g. python) allows the functional test to run, but WebStorm's built-in seems to be changing the content type header on my machine.

Is there a workaround for the content type in WebStorm?

zglueck avatar May 23 '18 16:05 zglueck

@zglueck The content-type error is not the root of the problem. Registering the functionalTest folder as a test root affects the configuration of WebStorm's built-in web server. The paths to resources in src no longer work as expected.

pdavidc avatar May 23 '18 17:05 pdavidc