[ 
https://issues.apache.org/jira/browse/CB-13875?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16362984#comment-16362984
 ] 

ASF GitHub Bot commented on CB-13875:
-------------------------------------

janpio commented on issue #254: [WIP] CB-13875 add `prepare` script that can be 
called in e2e tests
URL: https://github.com/apache/cordova-windows/pull/254#issuecomment-365390984
 
 
   The missing `index.html` in the test project is causing issues now:
   
   ```
   EXEC : warning : Start page is missing on the disk. The build must go on but 
note that this will cause WACK failures. 
[C:\projects\cordova-windows\testcreate ??\CordovaApp.Phone.jsproj]
   MakeAppx : error : Manifest validation error: Line 26, Column 47, Reason: 
The file name "www\index.html" declared for element 
"m:Applications/m:Application" doesn't exist in the package. 
[C:\projects\cordova-windows\testcreate ??\CordovaApp.Phone.jsproj]
   MakeAppx : error : Package creation failed. 
[C:\projects\cordova-windows\testcreate ??\CordovaApp.Phone.jsproj]
   MakeAppx : error : 0x80080204 - The specified package format is not valid: 
The package manifest is not valid. 
   ```
   
   Locally I only get the first line, but on CI the MSBuildTools version seems 
to do some additional validation.
   
   Working on a fix.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> `npm run test-e2e` is highly platform dependent as `prepare` step is not run
> ----------------------------------------------------------------------------
>
>                 Key: CB-13875
>                 URL: https://issues.apache.org/jira/browse/CB-13875
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-windows
>            Reporter: Jan Piotrowski (Sujan)
>            Assignee: Jan Piotrowski (Sujan)
>            Priority: Major
>
> When running `npm run test-e2e` you have to have the Windows SDK with the 
> exact version that is mentioned in `TargetPlatformVersion` (which oldest one 
> in the template) installed for it to succeed.
> For actual projects, this is updated with the newest/available one on project 
> creation.
> For this to properly work in tests, `prepare` has also to be executed in the 
> e2e tests.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to