INGInious icon indicating copy to clipboard operation
INGInious copied to clipboard

Tests for the frontend

Open GuillaumeDerval opened this issue 9 years ago • 3 comments

GuillaumeDerval avatar Jun 28 '15 21:06 GuillaumeDerval

@GuillaumeDerval what's the status of this issue? struggling to run test suit on localhost. Like so:

TEST_ENV=boot2docker-local nosetests inginious/frontend/webapp/tests

Getting:

Value 'remote' for the 'backend' option is configuration.yaml is not supported anymore.

Are these tests still valid? I didn’t find any relevant doc for this. I've even tried to change it to local and the tests just get stuck and don't run at all. My firefox version is 55.

If I navigate to 127.0.0.1:8081, I see the app. the last line executed is semaphore.acquire() in SeleniumTest.py

ohadperry avatar Jul 24 '17 12:07 ohadperry

Frontend tests made with Selenium have always been inconsistent and are not run in Jenkins, so I can't really tell if they are up-to-date or not, but if I would have to bet, I would choose the last option ;-)

This is still on our to-do list...

GuillaumeDerval avatar Jul 24 '17 12:07 GuillaumeDerval

started a new branch about that here

Drumor avatar May 11 '22 14:05 Drumor