PoonLab / covizu

Rapid analysis and visualization of coronavirus genome variation
https://filogeneti.ca/CoVizu/
MIT License
45 stars 20 forks source link

Dev #473

Closed ArtPoon closed 1 year ago

ArtPoon commented 1 year ago
GopiGugan commented 1 year ago
ArtPoon commented 1 year ago

testing in progress

GopiGugan commented 1 year ago

Recombinants aren't being displayed:

image

Related to change made in 4f74df1286699b4934fc1f4ccfb24c26bdfdcbc7

GopiGugan commented 1 year ago

Checking the following:

GopiGugan commented 1 year ago

Unit tests are failing:

  11 passing (1m)
  3 failing

  1) Search Interface
       Searching 'China' results in selection and expected point count:
     AssertionError: Timed out retrying after 10000ms: Expected to find element: `.selectionH`, but never found it.
      at Context.eval (webpack:///./cypress/e2e/covizu.spec.cy.js:93:30)

  2) Search Interface
       Clicking the next button highlights the correct bead:
     TypeError: Cannot read properties of undefined (reading '0')
      at Context.eval (webpack:///./cypress/e2e/covizu.spec.cy.js:101:90)

  3) Search Interface
       Clear button resets search interface and cluster selection:
     CypressError: Timed out retrying after 10050ms: `cy.click()` failed because this element is `disabled`:
GopiGugan commented 1 year ago

Unit test did not timeout when re-running the tests

GopiGugan commented 1 year ago
Uncaught ReferenceError: Driver is not defined
    at HTMLDivElement.click (covizu.js:46:22)
    at HTMLButtonElement.<anonymous> (jquery-ui.min.js:11:4603)
    at HTMLButtonElement.dispatch (jquery.js:5429:27)
    at elemData.handle (jquery.js:5233:28)

To reproduce:

  1. Click es to navigate to the Spanish translated page
  2. Click on Tour rapido
GopiGugan commented 1 year ago
Uncaught DOMException: Failed to execute 'querySelector' on 'Document': '.lines#India-UT-VCSGGIMS&R-VCSG416285' is not a valid selector.
    at Object.select (http://localhost:8001/js/d3.js:1689:34)
    at SVGLineElement.<anonymous> (http://localhost:8001/js/beadplot.js:752:30)
    at SVGLineElement.<anonymous> (http://localhost:8001/js/d3.js:1526:16)

To reproduce:

  1. Open the BA.2.75.5 beadplot
  2. Hover over the vertical line connecting the India/UT-VCSGGIMS&R-VCSG416274 and India/UT-VCSGGIMS&R-VCSG416285 beads
ArtPoon commented 1 year ago

Can we deactivate the tests that are affected by the sporadic timeout issue, and run them manually with each PR?