opensearch-project / reporting-cli

Apache License 2.0
4 stars 13 forks source link

[BUG] Error: No element found for selector: button[id="downloadReport"]. #73

Open chanranhi opened 4 months ago

chanranhi commented 4 months ago

What is the bug?

CSV report download does not work.

How can one reproduce the bug?

  1. npm install @opensearch-project/reporting-cli
  2. Enter the following:

    opensearch-reporting-cli -u [opensearch discover/dashboard shortcut URL] -f csv

What is the expected behavior?

I need to download a CSV report, but I'm getting the error below: Error: No element found for selector: button[id="downloadReport"].

What is your host/environment?

open search v2.13 (AWS engine) reporting cli v1.1.0

Do you have any screenshots?

error-download

dblock commented 4 months ago

Thanks for reporting this. Did you try to debug it? Maybe someone (you?) could try to contribute a fix?

[Catch All Triage, attendees 1, 2, 3, 4, 5, 6, 7]

chanranhi commented 3 months ago

Hi, I temporarily solved it by adding a "reload" code on my server. However, the exact reason is that there is no [id="downloadReport"] button in the menu, depending on the resolution. (For example, if you change to mobile resolution, the button will be lost.) This issue would have been resolved in OpenSearch 2.4 and later versions. However, AWS engines currently support up to version 2.3.

same issue: https://github.com/opensearch-project/dashboards-reporting/issues/57

lynomet commented 1 month ago

Hi, I temporarily solved it by adding a "reload" code on my server

hi can you show example how did you resolve this ?