OpenSearch-Dashboards
OpenSearch-Dashboards copied to clipboard
[BUG][Test] App link test broke for plugin functional tests
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)
│
@joshuarrrr Can I try this one?