OpenSearch-Dashboards icon indicating copy to clipboard operation
OpenSearch-Dashboards copied to clipboard

[BUG][Test] App link test broke for plugin functional tests

Open abbyhu2000 opened this issue 2 years ago • 1 comments

Describe the bug There are two failed tests for app link functional tests.

│2)    application links
     │       app links
     │         handles hash in urls:
     │
     │
     │       Error: expected '/app/applink_end/some-path' to sort of equal '/app/applink_end/some-path#/some/hash'
     │       + expected - actual
     │ 
     │       -/app/applink_end/some-path
     │       +/app/applink_end/some-path#/some/hash
     │       
     │       at Assertion.assert (packages/osd-expect/expect.js:111:11)
     │       at Assertion.eql (packages/osd-expect/expect.js:255:8)
     │       at Context.<anonymous> (test/plugin_functional/test_suites/application_links/redirect_app_links.ts:90:65)
     │       at processTicksAndRejections (node:internal/process/task_queues:95:5)
     │       at Object.apply (packages/osd-test/src/functional_test_runner/lib/mocha/wrap_function.js:95:16)
     │ 
     │ 
     │3)    application links
     │       app links
     │         works in a nested dom structure:
     │
     │
     │       Error: expected '/app/applink_end' to sort of equal '/app/applink_end#bang'
     │       + expected - actual
     │ 
     │       -/app/applink_end
     │       +/app/applink_end#bang
     │       
     │       at Assertion.assert (packages/osd-expect/expect.js:111:11)
     │       at Assertion.eql (packages/osd-expect/expect.js:255:8)
     │       at Context.<anonymous> (test/plugin_functional/test_suites/application_links/redirect_app_links.ts:100:65)
     │       at processTicksAndRejections (node:internal/process/task_queues:95:5)
     │       at Object.apply (packages/osd-test/src/functional_test_runner/lib/mocha/wrap_function.js:95:16)
     │ 

abbyhu2000 avatar Oct 27 '23 02:10 abbyhu2000

@joshuarrrr Can I try this one?

thanhinhchtom avatar Nov 01 '23 17:11 thanhinhchtom