oaeproject / 3akai-ux

Open Academic Environment (OAE) Front-End
http://www.oaeproject.org
Educational Community License v2.0
134 stars 206 forks source link

Test scaffolding configuration problems #3902

Open sathomas opened 9 years ago

sathomas commented 9 years ago

It looks like the test scaffolding isn't using the test configuration correctly in several places. I haven't completely figured out the interaction between the 3akai-ux casperjs tests and the Hilary oae-tests library, but some problems are apparent.

I'm still trying to parse all this out, but the effect (in my case) is that a few of the casperjs tests pass, but most do not. I think the problem is that some of the 3akai-ux test code is relying on configured values and other parts of the code are ignoring those values and trying to use the hard-coded ones. (On my local installation, none of the hard-coded values will work because they require admin privileges; I'm running OAE on non-privleged port 8080).

nicolaasmatthijs commented 8 years ago

Also, I just noticed that the macros directory has a tests/metadata.js file. Should this file be in /tests instead?