constellation-app / constellation

A graph-focused data visualisation and interactive analysis application.
https://constellation-app.com
Apache License 2.0
385 stars 59 forks source link

Testing for Release v2.3 #1046

Closed arcturus2 closed 3 years ago

arcturus2 commented 3 years ago

Testing Constellation for v2.3 Release

This testing suite was generated using https://github.com/constellation-app/miscellaneous/blob/master/TestCaseGenerator/generate_test_cases.py

Views

Testing Conversation View

  1. Click on Views > Conversation View
  2. Are there any errors or exceptions thrown?
  3. If the view is enabled, can you click on any buttons (if applicable)?
  4. Did each button work as intended?
  5. Are there any exceptions or errors thrown?
  6. If the view is enabled, can you click on any drop down lists (if applicable)?
  7. Did each drop down list work as intended?
  8. Are there any exceptions or errors thrown?
  9. Close the View
  10. Click on File > New Graph
  11. Open the Conversation View again
  12. Are there any errors or exceptions thrown?
  13. Is the view still disabled? If so this is likely a problem!
  14. Click the buttons
  15. Did each button work as intended?
  16. Are there any errors or exceptions thrown?
  17. Click on drop down lists
  18. Did each drop down list work as intended?
  19. Are there any errors or exceptions thrown?

Testing Data Access View

  1. Click on Views > Data Access View
  2. Are there any errors or exceptions thrown?
  3. If the view is enabled, can you click on any buttons (if applicable)?
  4. Did each button work as intended?
  5. Are there any exceptions or errors thrown?
  6. If the view is enabled, can you click on any drop down lists (if applicable)?
  7. Did each drop down list work as intended?
  8. Are there any exceptions or errors thrown?
  9. Close the View
  10. Click on File > New Graph
  11. Open the Data Access View again
  12. Are there any errors or exceptions thrown?
  13. Is the view still disabled? If so this is likely a problem!
  14. Click the buttons
  15. Did each button work as intended?
  16. Are there any errors or exceptions thrown?
  17. Click on drop down lists
  18. Did each drop down list work as intended?
  19. Are there any errors or exceptions thrown?

Testing Histogram View

  1. Click on Views > Histogram View
  2. Are there any errors or exceptions thrown?
  3. If the view is enabled, can you click on any buttons (if applicable)?
  4. Did each button work as intended?
  5. Are there any exceptions or errors thrown?
  6. If the view is enabled, can you click on any drop down lists (if applicable)?
  7. Did each drop down list work as intended?
  8. Are there any exceptions or errors thrown?
  9. Close the View
  10. Click on File > New Graph
  11. Open the Histogram View again
  12. Are there any errors or exceptions thrown?
  13. Is the view still disabled? If so this is likely a problem!
  14. Click the buttons
  15. Did each button work as intended?
  16. Are there any errors or exceptions thrown?
  17. Click on drop down lists
  18. Did each drop down list work as intended?
  19. Are there any errors or exceptions thrown?

Testing Layers View

  1. Click on Views > Layers View
  2. Are there any errors or exceptions thrown?
  3. If the view is enabled, can you click on any buttons (if applicable)?
  4. Did each button work as intended?
  5. Are there any exceptions or errors thrown?
  6. If the view is enabled, can you click on any drop down lists (if applicable)?
  7. Did each drop down list work as intended?
  8. Are there any exceptions or errors thrown?
  9. Close the View
  10. Click on File > New Graph
  11. Open the Layers View again
  12. Are there any errors or exceptions thrown?
  13. Is the view still disabled? If so this is likely a problem!
  14. Click the buttons
  15. Did each button work as intended?
  16. Are there any errors or exceptions thrown?
  17. Click on drop down lists
  18. Did each drop down list work as intended?
  19. Are there any errors or exceptions thrown?

Testing Notes View

  1. Click on Views > Notes View
  2. Are there any errors or exceptions thrown?
  3. If the view is enabled, can you click on any buttons (if applicable)?
  4. Did each button work as intended?
  5. Are there any exceptions or errors thrown?
  6. If the view is enabled, can you click on any drop down lists (if applicable)?
  7. Did each drop down list work as intended?
  8. Are there any exceptions or errors thrown?
  9. Close the View
  10. Click on File > New Graph
  11. Open the Notes View again
  12. Are there any errors or exceptions thrown?
  13. Is the view still disabled? If so this is likely a problem!
  14. Click the buttons
  15. Did each button work as intended?
  16. Are there any errors or exceptions thrown?
  17. Click on drop down lists
  18. Did each drop down list work as intended?
  19. Are there any errors or exceptions thrown?

Testing Plugin Reporter View

  1. Click on Views > Plugin Reporter View
  2. Are there any errors or exceptions thrown?
  3. If the view is enabled, can you click on any buttons (if applicable)?
  4. Did each button work as intended?
  5. Are there any exceptions or errors thrown?
  6. If the view is enabled, can you click on any drop down lists (if applicable)?
  7. Did each drop down list work as intended?
  8. Are there any exceptions or errors thrown?
  9. Close the View
  10. Click on File > New Graph
  11. Open the Plugin Reporter View again
  12. Are there any errors or exceptions thrown?
  13. Is the view still disabled? If so this is likely a problem!
  14. Click the buttons
  15. Did each button work as intended?
  16. Are there any errors or exceptions thrown?
  17. Click on drop down lists
  18. Did each drop down list work as intended?
  19. Are there any errors or exceptions thrown?

Testing Quality Control View

  1. Click on Views > Quality Control View
  2. Are there any errors or exceptions thrown?
  3. If the view is enabled, can you click on any buttons (if applicable)?
  4. Did each button work as intended?
  5. Are there any exceptions or errors thrown?
  6. If the view is enabled, can you click on any drop down lists (if applicable)?
  7. Did each drop down list work as intended?
  8. Are there any exceptions or errors thrown?
  9. Close the View
  10. Click on File > New Graph
  11. Open the Quality Control View again
  12. Are there any errors or exceptions thrown?
  13. Is the view still disabled? If so this is likely a problem!
  14. Click the buttons
  15. Did each button work as intended?
  16. Are there any errors or exceptions thrown?
  17. Click on drop down lists
  18. Did each drop down list work as intended?
  19. Are there any errors or exceptions thrown?

Testing Table View

  1. Click on Views > Table View
  2. Are there any errors or exceptions thrown?
  3. If the view is enabled, can you click on any buttons (if applicable)?
  4. Did each button work as intended?
  5. Are there any exceptions or errors thrown?
  6. If the view is enabled, can you click on any drop down lists (if applicable)?
  7. Did each drop down list work as intended?
  8. Are there any exceptions or errors thrown?
  9. Close the View
  10. Click on File > New Graph
  11. Open the Table View again
  12. Are there any errors or exceptions thrown?
  13. Is the view still disabled? If so this is likely a problem!
  14. Click the buttons
  15. Did each button work as intended?
  16. Are there any errors or exceptions thrown?
  17. Click on drop down lists
  18. Did each drop down list work as intended?
  19. Are there any errors or exceptions thrown?

Testing Timeline View

  1. Click on Views > Timeline View
  2. Are there any errors or exceptions thrown?
  3. If the view is enabled, can you click on any buttons (if applicable)?
  4. Did each button work as intended?
  5. Are there any exceptions or errors thrown?
  6. If the view is enabled, can you click on any drop down lists (if applicable)?
  7. Did each drop down list work as intended?
  8. Are there any exceptions or errors thrown?
  9. Close the View
  10. Click on File > New Graph
  11. Open the Timeline View again
  12. Are there any errors or exceptions thrown?
  13. Is the view still disabled? If so this is likely a problem!
  14. Click the buttons
  15. Did each button work as intended?
  16. Are there any errors or exceptions thrown?
  17. Click on drop down lists
  18. Did each drop down list work as intended?
  19. Are there any errors or exceptions thrown?

Testing Welcome View

  1. Click on Views > Welcome View
  2. Are there any errors or exceptions thrown?
  3. If the view is enabled, can you click on any buttons (if applicable)?
  4. Did each button work as intended?
  5. Are there any exceptions or errors thrown?
  6. If the view is enabled, can you click on any drop down lists (if applicable)?
  7. Did each drop down list work as intended?
  8. Are there any exceptions or errors thrown?
  9. Close the View
  10. Click on File > New Graph
  11. Open the Welcome View again
  12. Are there any errors or exceptions thrown?
  13. Is the view still disabled? If so this is likely a problem!
  14. Click the buttons
  15. Did each button work as intended?
  16. Are there any errors or exceptions thrown?
  17. Click on drop down lists
  18. Did each drop down list work as intended?
  19. Are there any errors or exceptions thrown?

Menus Options

Testing Display > Add Blazes (AddBlazeAction.java)

  1. Try to click on Display > Add Blazes
  2. If the menu is disabled this may be as per design, can you confirm this?
  3. Click on File > New Graph
  4. Click on Display > Add Blazes
  5. Did the menu work as intended?
  6. Are there any exceptions?

Testing Display > Add Custom Blazes (AddCustomBlazeAction.java)

  1. Try to click on Display > Add Custom Blazes
  2. If the menu is disabled this may be as per design, can you confirm this?
  3. Click on File > New Graph
  4. Click on Display > Add Custom Blazes
  5. Did the menu work as intended?
  6. Are there any exceptions?

Testing Experimental/Developer > Test Autosave (AutosaveTestAction.java)

  1. Try to click on Experimental/Developer > Test Autosave
  2. If the menu is disabled this may be as per design, can you confirm this?
  3. Click on File > New Graph
  4. Click on Experimental/Developer > Test Autosave
  5. Did the menu work as intended?
  6. Are there any exceptions?

Testing Tools > Complete with Schema (CompleteSchemaAction.java)

  1. Try to click on Tools > Complete with Schema
  2. If the menu is disabled this may be as per design, can you confirm this?
  3. Click on File > New Graph
  4. Click on Tools > Complete with Schema
  5. Did the menu work as intended?
  6. Are there any exceptions?

Testing (CopyToClipboardAction.java)

  1. Try to click on
  2. If the menu is disabled this may be as per design, can you confirm this?
  3. Click on File > New Graph
  4. Click on
  5. Did the menu work as intended?
  6. Are there any exceptions?

Testing Edit > Copy to New Graph (CopyToNewGraphAction.java)

  1. Try to click on Edit > Copy to New Graph
  2. If the menu is disabled this may be as per design, can you confirm this?
  3. Click on File > New Graph
  4. Click on Edit > Copy to New Graph
  5. Did the menu work as intended?
  6. Are there any exceptions?

Testing Cosine Similarity (CosineSimilarityAction.java)

  1. Try to click on Cosine Similarity
  2. If the menu is disabled this may be as per design, can you confirm this?
  3. Click on File > New Graph
  4. Click on Cosine Similarity
  5. Did the menu work as intended?
  6. Are there any exceptions?

Testing (CutToClipboardAction.java)

  1. Try to click on
  2. If the menu is disabled this may be as per design, can you confirm this?
  3. Click on File > New Graph
  4. Click on
  5. Did the menu work as intended?
  6. Are there any exceptions?

Testing Selection > (DeSelectBlazesAction.java)

  1. Try to click on Selection >
  2. If the menu is disabled this may be as per design, can you confirm this?
  3. Click on File > New Graph
  4. Click on Selection >
  5. Did the menu work as intended?
  6. Are there any exceptions?

Testing Edit > Delete (DeleteSelectionAction.java)

  1. Try to click on Edit > Delete
  2. If the menu is disabled this may be as per design, can you confirm this?
  3. Click on File > New Graph
  4. Click on Edit > Delete
  5. Did the menu work as intended?
  6. Are there any exceptions?

Testing Selection > Deselect All (DeselectAllAction.java)

  1. Try to click on Selection > Deselect All
  2. If the menu is disabled this may be as per design, can you confirm this?
  3. Click on File > New Graph
  4. Click on Selection > Deselect All
  5. Did the menu work as intended?
  6. Are there any exceptions?

Testing Selection > Deselect Transactions (DeselectTransactionsAction.java)

  1. Try to click on Selection > Deselect Transactions
  2. If the menu is disabled this may be as per design, can you confirm this?
  3. Click on File > New Graph
  4. Click on Selection > Deselect Transactions
  5. Did the menu work as intended?
  6. Are there any exceptions?

Testing Selection > Deselect Nodes (DeselectVerticesAction.java)

  1. Try to click on Selection > Deselect Nodes
  2. If the menu is disabled this may be as per design, can you confirm this?
  3. Click on File > New Graph
  4. Click on Selection > Deselect Nodes
  5. Did the menu work as intended?
  6. Are there any exceptions?

Testing File/Import > From JDBC Source... (ImportJDBCFileAction.java)

  1. Try to click on File/Import > From JDBC Source...
  2. If the menu is disabled this may be as per design, can you confirm this?
  3. Click on File > New Graph
  4. Click on File/Import > From JDBC Source...
  5. Did the menu work as intended?
  6. Are there any exceptions?

Testing Pagerank Centrality (PagerankCentralityAction.java)

  1. Try to click on Pagerank Centrality
  2. If the menu is disabled this may be as per design, can you confirm this?
  3. Click on File > New Graph
  4. Click on Pagerank Centrality
  5. Did the menu work as intended?
  6. Are there any exceptions?

Testing (PasteFromClipboardAction.java)

  1. Try to click on
  2. If the menu is disabled this may be as per design, can you confirm this?
  3. Click on File > New Graph
  4. Click on
  5. Did the menu work as intended?
  6. Are there any exceptions?

Testing File > (RecentFileAction.java)

  1. Try to click on File >
  2. If the menu is disabled this may be as per design, can you confirm this?
  3. Click on File > New Graph
  4. Click on File >
  5. Did the menu work as intended?
  6. Are there any exceptions?

Testing Experimental/Build Graph > Small World Graph Builder (SmallWorldGraphBuilderAction.java)

  1. Try to click on Experimental/Build Graph > Small World Graph Builder
  2. If the menu is disabled this may be as per design, can you confirm this?
  3. Click on File > New Graph
  4. Click on Experimental/Build Graph > Small World Graph Builder
  5. Did the menu work as intended?
  6. Are there any exceptions?
arcturus2 commented 3 years ago

Issue 1

One issue is with the Open Street Map not working. Other maps work ok.

INFO [null]: Last record repeated again.
    at java.base/java.security.AccessController.doPrivileged(Native Method)
    at java.base/java.security.AccessController.doPrivilegedWithCombiner(Unknown Source)
    at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    at java.base/java.net.HttpURLConnection.getResponseCode(Unknown Source)
    at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown Source)
    at processing.core.PApplet.loadBytes(PApplet.java:7313)
    ... 4 more
java.io.IOException: Server returned HTTP response code: 403 for URL: https://tile.openstreetmap.org/5/30/19.png
    at java.base/jdk.internal.reflect.GeneratedConstructorAccessor92.newInstance(Unknown Source)
    at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    at java.base/java.lang.reflect.Constructor.newInstance(Unknown Source)
    at java.base/sun.net.www.protocol.http.HttpURLConnection$10.run(Unknown Source)

The link works browsing normally to https://tile.openstreetmap.org/5/30/19.png but not via Constellation for some reason.

arcturus2 commented 3 years ago

Issue 2

The GDELT import plugins are not working because it is unable to download a file its looking for. It looks like the format of the file is looking for todays date but on the server it is a couple of days behind so I think the plugin can be modified to use the file 2 days ago. I will make a PR to fix it now.

java.io.FileNotFoundException: http://data.gdeltproject.org/gkg/20210528.gkg.csv.zip
    at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
    at java.base/sun.net.www.protocol.http.HttpURLConnection$9.run(Unknown Source)
    at java.base/sun.net.www.protocol.http.HttpURLConnection$9.run(Unknown Source)
    at java.base/java.security.AccessController.doPrivileged(Native Method)
    at java.base/java.security.AccessController.doPrivilegedWithCombiner(Unknown Source)
    at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    at java.base/java.net.URL.openStream(Unknown Source)
    at au.gov.asd.tac.constellation.views.dataaccess.adaptors.plugins.utilities.GDELTImportingUtilities.retrieveEntities(GDELTImportingUtilities.java:48)
[catch] at au.gov.asd.tac.constellation.views.dataaccess.adaptors.plugins.importing.ImportEntitiesFromGDELTPlugin.query(ImportEntitiesFromGDELTPlugin.java:121)
    at au.gov.asd.tac.constellation.views.dataaccess.templates.RecordStoreQueryPlugin.lambda$query$0(RecordStoreQueryPlugin.java:139)
    at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.base/java.lang.Thread.run(Unknown Source)

EDIT: turns out this is not a bug. The date range is determined by the Data Access View so I was easily abled to change the range range to files that do exist and it works fine.