Sent: Monday, July 4, 2016 6:41 PM
本地eclipse复现错误的步骤如下:
修改cus.crm.lead项目的pom.xml的参数如下:
1.10.0-SNAPSHOT -> 2.0.0-SNAPSHOT
1.6.14 -> 1.11.0
然后,maven install 一下,run on server.
访问: localhost:8080/cus.crm.lead/test-resources/testsuite.opa.html?responderOn=true
运行到第5个名为: Product Test : Add Product Test测试用例的时候,会观察到这个“两次点击add button,第二次没有触发dialog”的错误。
本地run不起来,我看下这些错:
Publishing failed with multiple errors
File not found: C:\Users\i042416\git\cus.crm.leads\target\m2e-wtp\web-resources\META-INF\MANIFEST.MF.
File not found: C:\Users\i042416\git\cus.crm.leads\target\m2e-wtp\web-resources\META-INF\maven\com.sap.fiori\cus.crm.lead\pom.properties.
File not found: C:\Users\i042416\git\cus.crm.leads\target\m2e-wtp\web-resources\META-INF\maven\com.sap.fiori\cus.crm.lead\pom.xml.
Resource is out of sync with the file system: ‘/cus.crm.lead/target/m2e-wtp/web-resources/META-INF/ui5.properties’.
File not found: C:\Users\i042416\git\cus.crm.leads\target\m2e-wtp\web-resources\test-resources\WEB-INF\webjetty.xml.
File not found: C:\Users\i042416\git\cus.crm.leads\target\m2e-wtp\web-resources\test-resources\capabilities.json.
File not found: C:\Users\i042416\git\cus.crm.leads\target\m2e-wtp\web-resources\test-resources\opa\AcceptRejectButtonSteps.js.
File not found: C:\Users\i042416\git\cus.crm.leads\target\m2e-wtp\web-resources\test-resources\opa\AcceptRejectButtonTest.js.
File not found: C:\Users\i042416\git\cus.crm.leads\target\m2e-wtp\web-resources\test-resources\opa\AddLeadSteps.js.
File not found: C:\Users\i042416\git\cus.crm.leads\target\m2e-wtp\web-resources\test-resources\opa\AddLeadTest.js.
File not found: C:\Users\i042416\git\cus.crm.leads\target\m2e-wtp\web-resources\test-resources\opa\AttachmentSteps.js.
File not found: C:\Users\i042416\git\cus.crm.leads\target\m2e-wtp\web-resources\test-resources\opa\AttachmentTest.js.
File not found: C:\Users\i042416\git\cus.crm.leads\target\m2e-wtp\web-resources\test-resources\opa\CommonArrangement.js.
File not found: C:\Users\i042416\git\cus.crm.leads\target\m2e-wtp\web-resources\test-resources\opa\CommonSteps.js.
File not found: C:\Users\i042416\git\cus.crm.leads\target\m2e-wtp\web-resources\test-resources\opa\EditSteps.js.
File not found: C:\Users\i042416\git\cus.crm.leads\target\m2e-wtp\web-resources\test-resources\opa\EditTest.js.
File not found: C:\Users\i042416\git\cus.crm.leads\target\m2e-wtp\web-resources\test-resources\opa\ErrorMessageSteps.js.
File not found: C:\Users\i042416\git\cus.crm.leads\target\m2e-wtp\web-resources\test-resources\opa\ErrorMessageTest.js.
File not found: C:\Users\i042416\git\cus.crm.leads\target\m2e-wtp\web-resources\test-resources\opa\InfoSteps.js.
File not found: C:\Users\i042416\git\cus.crm.leads\target\m2e-wtp\web-resources\test-resources\opa\InfoTest.js.
File not found: C:\Users\i042416\git\cus.crm.leads\target\m2e-wtp\web-resources\test-resources\opa\NotePanelSteps.js.
File not found: C:\Users\i042416\git\cus.crm.leads\target\m2e-wtp\web-resources\test-resources\opa\NotePanelTest.js.
File not found: C:\Users\i042416\git\cus.crm.leads\target\m2e-wtp\web-resources\test-resources\opa\ParticipantSteps.js.
File not found: C:\Users\i042416\git\cus.crm.leads\target\m2e-wtp\web-resources\test-resources\opa\ParticipantTest.js.
File not found: C:\Users\i042416\git\cus.crm.leads\target\m2e-wtp\web-resources\test-resources\opa\ProductSteps.js.
File not found: C:\Users\i042416\git\cus.crm.leads\target\m2e-wtp\web-resources\test-resources\opa\ProductTest.js.
File not found: C:\Users\i042416\git\cus.crm.leads\target\m2e-wtp\web-resources\test-resources\opa\SearchOnS2Steps.js.
File not found: C:\Users\i042416\git\cus.crm.leads\target\m2e-wtp\web-resources\test-resources\opa\SearchOnS2Test.js.
File not found: C:\Users\i042416\git\cus.crm.leads\target\m2e-wtp\web-resources\test-resources\opa\SortSteps.js.
File not found: C:\Users\i042416\git\cus.crm.leads\target\m2e-wtp\web-resources\test-resources\opa\SortTest.js.
File not found: C:\Users\i042416\git\cus.crm.leads\target\m2e-wtp\web-resources\test-resources\opa\TransactionHisSteps.js.
File not found: C:\Users\i042416\git\cus.crm.leads\target\m2e-wtp\web-resources\test-resources\opa\TransactionHisTest.js.
File not found: C:\Users\i042416\git\cus.crm.leads\target\m2e-wtp\web-resources\test-resources\qunit.runner.testsuite.html.
File not found: C:\Users\i042416\git\cus.crm.leads\target\m2e-wtp\web-resources\test-resources\test-files\ModulePathForTests.js.
File not found: C:\Users\i042416\git\cus.crm.leads\target\m2e-wtp\web-resources\test-resources\test-files\SimpleTest.js.
File not found: C:\Users\i042416\git\cus.crm.leads\target\m2e-wtp\web-resources\test-resources\testsuite.opa.html.
File not found: C:\Users\i042416\git\cus.crm.leads\target\m2e-wtp\web-resources\test-resources\testsuite.qunit.html.
File not found: C:\Users\i042416\git\cus.crm.leads\target\m2e-wtp\web-resources\test-resources\testsuite.qunit.js.
Resource is out of sync with the file system: ‘/cus.crm.lead/target/classes/META-INF/sap-ui-version.xml’.
Resource is out of sync with the file system: ‘/cus.crm.lead/target/classes/META-INF/test-resources/WEB-INF/webjetty.xml’.
Resource is out of sync with the file system: ‘/cus.crm.lead/target/classes/META-INF/test-resources/capabilities.json’.
Resource is out of sync with the file system: ‘/cus.crm.lead/target/classes/META-INF/test-resources/opa/AcceptRejectButtonSteps.js’.
Resource is out of sync with the file system: ‘/cus.crm.lead/target/classes/META-INF/test-resources/opa/AcceptRejectButtonTest.js’.
Resource is out of sync with the file system: ‘/cus.crm.lead/target/classes/META-INF/test-resources/opa/AddLeadSteps.js’.
Resource is out of sync with the file system: ‘/cus.crm.lead/target/classes/META-INF/test-resources/opa/AddLeadTest.js’.
Resource is out of sync with the file system: ‘/cus.crm.lead/target/classes/META-INF/test-resources/opa/AttachmentSteps.js’.
Resource is out of sync with the file system: ‘/cus.crm.lead/target/classes/META-INF/test-resources/opa/AttachmentTest.js’.
Resource is out of sync with the file system: ‘/cus.crm.lead/target/classes/META-INF/test-resources/opa/CommonArrangement.js’.
Resource is out of sync with the file system: ‘/cus.crm.lead/target/classes/META-INF/test-resources/opa/CommonSteps.js’.
Resource is out of sync with the file system: ‘/cus.crm.lead/target/classes/META-INF/test-resources/opa/EditSteps.js’.
Resource is out of sync with the file system: ‘/cus.crm.lead/target/classes/META-INF/test-resources/opa/EditTest.js’.
Resource is out of sync with the file system: ‘/cus.crm.lead/target/classes/META-INF/test-resources/opa/ErrorMessageSteps.js’.
Resource is out of sync with the file system: ‘/cus.crm.lead/target/classes/META-INF/test-resources/opa/ErrorMessageTest.js’.
Resource is out of sync with the file system: ‘/cus.crm.lead/target/classes/META-INF/test-resources/opa/InfoSteps.js’.
Resource is out of sync with the file system: ‘/cus.crm.lead/target/classes/META-INF/test-resources/opa/InfoTest.js’.
Resource is out of sync with the file system: ‘/cus.crm.lead/target/classes/META-INF/test-resources/opa/NotePanelSteps.js’.
Resource is out of sync with the file system: ‘/cus.crm.lead/target/classes/META-INF/test-resources/opa/NotePanelTest.js’.
Resource is out of sync with the file system: ‘/cus.crm.lead/target/classes/META-INF/test-resources/opa/ParticipantSteps.js’.
Resource is out of sync with the file system: ‘/cus.crm.lead/target/classes/META-INF/test-resources/opa/ParticipantTest.js’.
Resource is out of sync with the file system: ‘/cus.crm.lead/target/classes/META-INF/test-resources/opa/ProductSteps.js’.
Resource is out of sync with the file system: ‘/cus.crm.lead/target/classes/META-INF/test-resources/opa/ProductTest.js’.
Resource is out of sync with the file system: ‘/cus.crm.lead/target/classes/META-INF/test-resources/opa/SearchOnS2Steps.js’.
Resource is out of sync with the file system: ‘/cus.crm.lead/target/classes/META-INF/test-resources/opa/SearchOnS2Test.js’.
Resource is out of sync with the file system: ‘/cus.crm.lead/target/classes/META-INF/test-resources/opa/SortSteps.js’.
Resource is out of sync with the file system: ‘/cus.crm.lead/target/classes/META-INF/test-resources/opa/SortTest.js’.
Resource is out of sync with the file system: ‘/cus.crm.lead/target/classes/META-INF/test-resources/opa/TransactionHisSteps.js’.
Resource is out of sync with the file system: ‘/cus.crm.lead/target/classes/META-INF/test-resources/opa/TransactionHisTest.js’.
Resource is out of sync with the file system: ‘/cus.crm.lead/target/classes/META-INF/test-resources/qunit.runner.testsuite.html’.
Resource is out of sync with the file system: ‘/cus.crm.lead/target/classes/META-INF/test-resources/test-files/ModulePathForTests.js’.
Resource is out of sync with the file system: ‘/cus.crm.lead/target/classes/META-INF/test-resources/test-files/SimpleTest.js’.
Resource is out of sync with the file system: ‘/cus.crm.lead/target/classes/META-INF/test-resources/testsuite.opa.html’.
Resource is out of sync with the file system: ‘/cus.crm.lead/target/classes/META-INF/test-resources/testsuite.qunit.html’.
Resource is out of sync with the file system: ‘/cus.crm.lead/target/classes/META-INF/test-resources/testsuite.qunit.js’.
重新clone下来maven clean install之后还是起不起来。我看下这个错:
Wait for的超时时间是15秒,每隔400毫秒检查一次。
你在浏览器里维护的http://localhost:8090/cus.crm.lead/test-resources/testsuite.opa.html?responderOn=true&testId=3f40bd04, OPA怎么知道3f40bd04对应哪个test case?