Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] shared_links test fail due to url change when installed security plugin #6373

Closed
ananzh opened this issue Apr 8, 2024 · 1 comment · Fixed by opensearch-project/opensearch-dashboards-functional-test#1209
Assignees
Labels

Comments

@ananzh
Copy link
Member

ananzh commented Apr 8, 2024

Describe the bug

Seeing a flaking test due to url change when installed security plugin

Running:  core-opensearch-dashboards/opensearch-dashboards/apps/data_explorer/          (18 of 41)
            shared_links.spec.js                                                                    


  shared links
    shared links with state in query
      1) should allow for copying the snapshot URL
      âœ" should allow for copying the snapshot URL as a short URL
      âœ" should allow for copying the saved object URL (10867ms)
    shared links with state in sessionStorage
      âœ" should allow for copying the snapshot URL (8637ms)
      âœ" should allow for copying the snapshot URL as a short URL
      âœ" should allow for copying the saved object URL (9559ms)


  5 passing (2m)
  1 failing

  1) shared links
       shared links with state in query
         should allow for copying the snapshot URL:

      Timed out retrying after 60000ms
      + expected - actual

      -'http://localhost:5601/app/data-explorer/discover?security_tenant=global#/?_a=(discover:(columns:!(_source),isDirty:!f,sort:!()),metadata:(indexPattern:\'logstash-*\',view:discover))&_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:\'2015-09-19T13:31:44.000Z\',to:\'2015-09-24T01:31:44.000Z\'))&_q=(filters:!(),query:(language:kuery,query:\'\'))'
      +'http://localhost:5601/app/data-explorer/discover#/?_a=(discover:(columns:!(_source),isDirty:!f,sort:!()),metadata:(indexPattern:\'logstash-*\',view:discover))&_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:\'2015-09-19T13:31:44.000Z\',to:\'2015-09-24T01:31:44.000Z\'))&_q=(filters:!(),query:(language:kuery,query:\'\'))'
      
      at Context.eval (http://localhost:5601/__cypress/tests?p=cypress/integration/core-opensearch-dashboards/opensearch-dashboards/apps/data_explorer/shared_links.spec.js:187:84)

To Reproduce
Steps to reproduce the behavior:

  1. Install Security plugin and run OS&OSD 2.13
  2. Run the test

Expected behavior
Success on test

OpenSearch Version
2.13

Dashboards Version
2.13

Plugins
Security

Screenshots

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants