afs commented on PR #2055:
URL: https://github.com/apache/jena/pull/2055#issuecomment-1786009956

   When I run `mvn clean install` in `jena-fusekli-ui` problems running the 
`datasets.cy.js` and `query.cy.js` tests.  
   
   "This occurred while Cypress was compiling and bundling your test code."
   
   Running `mvn clean install -Pdev` does result in proper Fuseki with UI which 
works. The same happens with running in `jena-fuseki-ui`.
   
   I deleted all the files and did a "git restore" of jena-fusekli-ui to make 
sure I had the right files.
   
   To check it's not just my machine, I pulled the PR, pushed to my account on 
github, and ran the Ubuntu action:
   
   Start of jena-fuseki-ui:
   
https://github.com/afs/jena/actions/runs/6698087924/job/18200133940#step:4:4483
   the errors start at:
   
https://github.com/afs/jena/actions/runs/6698087924/job/18200133940#step:4:4753
   
   ```
   [INFO] [TESTS]   Running:  datasets.cy.js                                    
                              (1 of 2)
   [INFO] [TESTS] 
   [INFO] [TESTS] Oops...we found an error preparing this test file:
   [INFO] [TESTS] 
   [INFO] [TESTS]   > tests/e2e/specs/datasets.cy.js
   [INFO] [TESTS] 
   [INFO] [TESTS] The error was:
   [INFO] [TESTS] 
   [INFO] [TESTS] RollupError: Could not load 
/home/afs/ASF/afs-jena/jena-fuseki2/jena-fuseki-ui/src/views/manage/ExistingDatasets.vue:
 Cannot call "addWatchFile" after the build has finished.
   [INFO] [TESTS]     at error 
(file:///home/afs/ASF/afs-jena/jena-fuseki2/jena-fuseki-ui/node_modules/rollup/dist/es/shared/parseAst.js:337:30)
   [INFO] [TESTS]     at Object.error 
(file:///home/afs/ASF/afs-jena/jena-fuseki2/jena-fuseki-ui/node_modules/rollup/dist/es/shared/node-entry.js:18264:20)
   [INFO] [TESTS]     at Object.addWatchFile 
(file:///home/afs/ASF/afs-jena/jena-fuseki2/jena-fuseki-ui/node_modules/rollup/dist/es/shared/node-entry.js:18256:29)
   [INFO] [TESTS]     at Object.load 
(file:///home/afs/ASF/afs-jena/jena-fuseki2/jena-fuseki-ui/node_modules/vite/dist/node/chunks/dep-kPX9VBbU.js:46422:22)
   [INFO] [TESTS]     at async PluginDriver.hookFirstAndGetPlugin 
(file:///home/afs/ASF/afs-jena/jena-fuseki2/jena-fuseki-ui/node_modules/rollup/dist/es/shared/node-entry.js:18349:28)
   [INFO] [TESTS]     at async 
file:///home/afs/ASF/afs-jena/jena-fuseki2/jena-fuseki-ui/node_modules/rollup/dist/es/shared/node-entry.js:17523:33
   [INFO] [TESTS]     at async Queue.work 
(file:///home/afs/ASF/afs-jena/jena-fuseki2/jena-fuseki-ui/node_modules/rollup/dist/es/shared/node-entry.js:18559:32)
   [INFO] [TESTS] 
   [INFO] [TESTS] This occurred while Cypress was compiling and bundling your 
test code. This is usually caused by:
   [INFO] [TESTS] 
   [INFO] [TESTS] - A missing file or dependency
   [INFO] [TESTS] - A syntax error in the file or one of its dependencies
   [INFO] [TESTS] 
   [INFO] [TESTS] Fix the error in your code and re-run your tests.
   ```
   Same for query.cy.js.
   
   [Complete log 
attached](https://github.com/apache/jena/files/13209634/LOG2.txt)
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: pr-unsubscr...@jena.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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

Reply via email to