stolsky / election-results-map

A simple application that visualizes election results and their background information in various ways.
GNU General Public License v3.0
0 stars 0 forks source link

test on different browsers #25

Open stolsky opened 2 years ago

stolsky commented 2 years ago

Online

Repository Demo

Linux

Windows

Local file

Tests that involve loading files from the local computer to a local computer do not work because of CORS problem. There are two ways to solve this problem. Either you set up a local server to test the application, or you change some security settings in the browsers.

Browser security settings

Firefox

Linux

Windows

Local server

Python 3

Linux

Windows

Todo

stolsky commented 2 years ago

percent is calculated wrong on edge and chrome

stolsky commented 2 years ago

adjust positioning of tooltip on page overflow

Aztek3 commented 2 years ago

The following error occurs for me when testing in chrome and edge: CORS policy error

Apparently it can be fixed from browser setting, though I did not find any solution working for me so far. How could this be achieved? I would like to include it in app documentation

stolsky commented 2 years ago

Tests that involve loading files from the local computer to a local computer do not work because of CORS problem. There are two ways to solve this problem. Either you set up a local server to test the application, or you change some security settings in the browsers.

stolsky commented 2 years ago

updated some possibilities to test the application locally