Closed gioman closed 7 years ago
if I first stop, then click on "next step" the test fails with a slightly different error:
Test name: Web App Builder-Verify stop compilation with EnterpriseTestDesktop user
Test result:Test failed at step 'Verify if stop button is set' with message:
u'CreateApp' != 'Stop'
Traceback (most recent call last):
File "C:/Users/boundless/.qgis2/python/plugins\qgistester\testerwidget.py", line 142, in runNextStep
execute(step.function)
File "C:/Users/boundless/.qgis2/python/plugins\qgistester\utils.py", line 70, in execute
return func()
File "C:/Users/boundless/.qgis2/python/plugins\webappbuilder\tests\testerplugin.py", line 195, in <lambda>
stopCompilationTest.addStep("Verify if stop button is set", lambda: checkStartoStopButton(text='Stop') )
File "C:/Users/boundless/.qgis2/python/plugins\webappbuilder\tests\testerplugin.py", line 181, in checkStartoStopButton
tc.assertEqual(dlg.buttonCreateOrStopApp.text(), text)
File "C:\PROGRA~1\BOUNDL~1\Desktop\1.0\osgeo4w\apps\Python27\lib\unittest\case.py", line 515, in assertEqual
assertion_func(first, second, msg=msg)
File "C:\PROGRA~1\BOUNDL~1\Desktop\1.0\osgeo4w\apps\Python27\lib\unittest\case.py", line 508, in _baseAssertEqual
raise self.failureException(msg)
AssertionError: u'CreateApp' != 'Stop'
I'll give a look
fixed test with 2cd59a6d627291ade2478a77aa216f8e905d0869 please reopen if you finjd problems
The functionality to stop the compilation works as expected.
The manual test in tester plugin fails with a python error: