Steps to Reproduce:
- clone moqui-framework commit 722b9f2
- get the following components: hivemind pm, hivemind admin, popc erp, my account, system, and tools
- build and run with
java -jar moqui.war
- clone https://github.com/acetousk/moqui-selenium commit f19907a
- on line 14 of
src/test/groovy/ToolsTests.groovy ensure apps = "vapps"
- run the
def "Entity/DataImport test"() test
- the test should pass
- on line 14 ensure
apps = "qapps"
- run the
def "Entity/DataImport test"() test
- the test should fail
What Happened
On lines 5-7 and lines 8-10, you are running the exact same code with a different file path. Lines 5-7 are running localhost:8080/vapps and lines 8-10 are running localhost:8080/qapps.
What Should Have Happened
The vapps test completes successfully after importing the data, but the qapps test does not. The qapps has a notification that says Error: Server Error (error). It should have done what the vapps test did by sending a notification that says: Submit successful.
While doing some of these tests, I have noticed this kind of message in several areas, but this is the easiest one to pinpoint.
Steps to Reproduce:
java -jar moqui.warsrc/test/groovy/ToolsTests.groovyensureapps = "vapps"def "Entity/DataImport test"()testapps = "qapps"def "Entity/DataImport test"()testWhat Happened
On lines 5-7 and lines 8-10, you are running the exact same code with a different file path. Lines 5-7 are running
localhost:8080/vappsand lines 8-10 are runninglocalhost:8080/qapps.What Should Have Happened
The vapps test completes successfully after importing the data, but the qapps test does not. The qapps has a notification that says Error: Server Error (error). It should have done what the vapps test did by sending a notification that says: Submit successful.
While doing some of these tests, I have noticed this kind of message in several areas, but this is the easiest one to pinpoint.