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

Tenant change related integration tests - allow tenant change and retain tenant in shortlink #736

Merged

Commits on Sep 29, 2023

  1. Test to ensure when a shortlink is copied, tenant is changed and shor…

    …t link is visited. The tenant from the link is visited.
    
    Signed-off-by: leanneeliatra <[email protected]>
    Signed-off-by: [email protected] <[email protected]>
    leanneeliatra committed Sep 29, 2023
    Configuration menu
    Copy the full SHA
    46dd03a View commit details
    Browse the repository at this point in the history
  2. After link copy, allow tenant change

    Signed-off-by: leanneeliatra <[email protected]>
    Signed-off-by: [email protected] <[email protected]>
    leanneeliatra committed Sep 29, 2023
    Configuration menu
    Copy the full SHA
    f68f455 View commit details
    Browse the repository at this point in the history
  3. Addressing comments, removing function to it's own file and removing …

    …unneeded code in before.
    
    Signed-off-by: leanneeliatra <[email protected]>
    Signed-off-by: [email protected] <[email protected]>
    leanneeliatra committed Sep 29, 2023
    Configuration menu
    Copy the full SHA
    631a03f View commit details
    Browse the repository at this point in the history
  4. Spelling error rectified

    Signed-off-by: leanneeliatra <[email protected]>
    
    Signed-off-by: leanneeliatra <[email protected]>
    Signed-off-by: [email protected] <[email protected]>
    leanneeliatra committed Sep 29, 2023
    Configuration menu
    Copy the full SHA
    836089a View commit details
    Browse the repository at this point in the history
  5. Linting errors resolved

    Signed-off-by: leanneeliatra <[email protected]>
    Signed-off-by: [email protected] <[email protected]>
    leanneeliatra committed Sep 29, 2023
    Configuration menu
    Copy the full SHA
    5b0df4a View commit details
    Browse the repository at this point in the history
  6. Update cypress/utils/commands.js

    Co-authored-by: Yulong Ruan <[email protected]>
    Signed-off-by: leanneeliatra <[email protected]>
    Signed-off-by: leanneeliatra <[email protected]>
    Signed-off-by: [email protected] <[email protected]>
    leanneeliatra and ruanyl committed Sep 29, 2023
    Configuration menu
    Copy the full SHA
    d5f3520 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    dee3b57 View commit details
    Browse the repository at this point in the history
  8. Switch tenant updated to use interceps and should() for improved test…

    … performance
    
    Signed-off-by: leanneeliatra <[email protected]>
    Signed-off-by: [email protected] <[email protected]>
    leanneeliatra committed Sep 29, 2023
    Configuration menu
    Copy the full SHA
    9f1ac57 View commit details
    Browse the repository at this point in the history
  9. switch tenant changed to use intercepts and should() for increaced te…

    …st performance.
    
    Signed-off-by: leanneeliatra <[email protected]>
    Signed-off-by: [email protected] <[email protected]>
    leanneeliatra committed Sep 29, 2023
    Configuration menu
    Copy the full SHA
    dff22e8 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    2074437 View commit details
    Browse the repository at this point in the history
  11. Global declaration of the tenant removed. The clearing of session sto…

    …rage is not needed actually, cy.visit() does this for us
    
    Signed-off-by: leanneeliatra <[email protected]>
    Signed-off-by: [email protected] <[email protected]>
    leanneeliatra committed Sep 29, 2023
    Configuration menu
    Copy the full SHA
    14a870b View commit details
    Browse the repository at this point in the history
  12. Additition of 'createDashboard' method to allow programatic dashboard…

    … creation. Also improvements to the test.
    
    Signed-off-by: leanneeliatra <[email protected]>
    Signed-off-by: [email protected] <[email protected]>
    leanneeliatra committed Sep 29, 2023
    Configuration menu
    Copy the full SHA
    b0cf9bd View commit details
    Browse the repository at this point in the history
  13. When testing we are looking for the private tenant.

    Signed-off-by: leanneeliatra <[email protected]>
    Signed-off-by: [email protected] <[email protected]>
    leanneeliatra committed Sep 29, 2023
    Configuration menu
    Copy the full SHA
    c4c418a View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    a9db5e5 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    51d5d42 View commit details
    Browse the repository at this point in the history
  16. merging in changes on remote

    Signed-off-by: leanneeliatra <[email protected]>
    Signed-off-by: [email protected] <[email protected]>
    leanneeliatra committed Sep 29, 2023
    Configuration menu
    Copy the full SHA
    e91238b View commit details
    Browse the repository at this point in the history
  17. Adding back --headless parameter.

    Signed-off-by: leanneeliatra <[email protected]>
    Signed-off-by: [email protected] <[email protected]>
    leanneeliatra committed Sep 29, 2023
    Configuration menu
    Copy the full SHA
    ec83509 View commit details
    Browse the repository at this point in the history
  18. undoing package-lock changes.

    Signed-off-by: leanneeliatra <[email protected]>
    Signed-off-by: [email protected] <[email protected]>
    leanneeliatra committed Sep 29, 2023
    Configuration menu
    Copy the full SHA
    3303e23 View commit details
    Browse the repository at this point in the history
  19. Use library from release tag instead of git reference (opensearch-pro…

    …ject#706)
    
    The module installed from the OSD test library seems to update
    or not based on caching issues.
    
    Related proposal:
    opensearch-project/opensearch-dashboards-test-library#36
    
    Signed-off-by: Kawika Avilla <[email protected]>
    Signed-off-by: [email protected] <[email protected]>
    kavilla authored and leanneeliatra committed Sep 29, 2023
    Configuration menu
    Copy the full SHA
    02ad4e4 View commit details
    Browse the repository at this point in the history
  20. update testSplitTables test (opensearch-project#731)

    Signed-off-by: Sirazh Gabdullin <[email protected]>
    Signed-off-by: [email protected] <[email protected]>
    curq authored and leanneeliatra committed Sep 29, 2023
    Configuration menu
    Copy the full SHA
    1d46c05 View commit details
    Browse the repository at this point in the history
  21. [Vis Augmenter / Feature Anywhere] Add tests in core OSD and AD plugin (

    opensearch-project#739)
    
    * [Vis Augmenter / Feature Anywhere] Add test suite for vanilla OSD + helper fns for plugins (opensearch-project#725)
    
    * feature anywhere initial tests
    
    Signed-off-by: Jovan Cvetkovic <[email protected]>
    
    * Add test suite
    
    Signed-off-by: Tyler Ohlsen <[email protected]>
    
    * Remove unnecessary test case
    
    Signed-off-by: Tyler Ohlsen <[email protected]>
    
    * Optimize getters
    
    Signed-off-by: Tyler Ohlsen <[email protected]>
    
    ---------
    
    Signed-off-by: Jovan Cvetkovic <[email protected]>
    Signed-off-by: Tyler Ohlsen <[email protected]>
    Co-authored-by: Jovan Cvetkovic <[email protected]>
    
    * [Feature Anywhere / Vis Augmenter] Add test flows for integration with AD plugin (opensearch-project#727)
    
    * feature anywhere initial tests
    
    Signed-off-by: Jovan Cvetkovic <[email protected]>
    
    * Add test suite
    
    Signed-off-by: Tyler Ohlsen <[email protected]>
    
    * Add AD vis augmenter tests
    
    Signed-off-by: Tyler Ohlsen <[email protected]>
    
    * More refactoring
    
    Signed-off-by: Tyler Ohlsen <[email protected]>
    
    * More tests
    
    Signed-off-by: Tyler Ohlsen <[email protected]>
    
    * Add test for AD cleanup scenario
    
    Signed-off-by: Tyler Ohlsen <[email protected]>
    
    * Set up saved obj test suite
    
    Signed-off-by: Tyler Ohlsen <[email protected]>
    
    * Add reminder TODO
    
    Signed-off-by: Tyler Ohlsen <[email protected]>
    
    * Add tests regarding saved obj visibility
    
    Signed-off-by: Tyler Ohlsen <[email protected]>
    
    * Add view events tests
    
    Signed-off-by: Tyler Ohlsen <[email protected]>
    
    * cleanup
    
    Signed-off-by: Tyler Ohlsen <[email protected]>
    
    * remove import
    
    Signed-off-by: Tyler Ohlsen <[email protected]>
    
    ---------
    
    Signed-off-by: Jovan Cvetkovic <[email protected]>
    Signed-off-by: Tyler Ohlsen <[email protected]>
    Co-authored-by: Jovan Cvetkovic <[email protected]>
    
    ---------
    
    Signed-off-by: Jovan Cvetkovic <[email protected]>
    Signed-off-by: Tyler Ohlsen <[email protected]>
    Co-authored-by: Jovan Cvetkovic <[email protected]>
    Signed-off-by: [email protected] <[email protected]>
    2 people authored and leanneeliatra committed Sep 29, 2023
    Configuration menu
    Copy the full SHA
    00811cc View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    9a74842 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    f15d9ba View commit details
    Browse the repository at this point in the history
  24. [Vis Augmenter] Add tests in OSD & AD plugin (opensearch-project#752)

    * [Vis Augmenter / Feature Anywhere] Add test suite for vanilla OSD + helper fns for plugins (opensearch-project#725)
    
    * feature anywhere initial tests
    
    Signed-off-by: Jovan Cvetkovic <[email protected]>
    
    * Add test suite
    
    Signed-off-by: Tyler Ohlsen <[email protected]>
    
    * Remove unnecessary test case
    
    Signed-off-by: Tyler Ohlsen <[email protected]>
    
    * Optimize getters
    
    Signed-off-by: Tyler Ohlsen <[email protected]>
    
    ---------
    
    Signed-off-by: Jovan Cvetkovic <[email protected]>
    Signed-off-by: Tyler Ohlsen <[email protected]>
    Co-authored-by: Jovan Cvetkovic <[email protected]>
    
    * [Feature Anywhere / Vis Augmenter] Add test flows for integration with AD plugin (opensearch-project#727)
    
    * feature anywhere initial tests
    
    Signed-off-by: Jovan Cvetkovic <[email protected]>
    
    * Add test suite
    
    Signed-off-by: Tyler Ohlsen <[email protected]>
    
    * Add AD vis augmenter tests
    
    Signed-off-by: Tyler Ohlsen <[email protected]>
    
    * More refactoring
    
    Signed-off-by: Tyler Ohlsen <[email protected]>
    
    * More tests
    
    Signed-off-by: Tyler Ohlsen <[email protected]>
    
    * Add test for AD cleanup scenario
    
    Signed-off-by: Tyler Ohlsen <[email protected]>
    
    * Set up saved obj test suite
    
    Signed-off-by: Tyler Ohlsen <[email protected]>
    
    * Add reminder TODO
    
    Signed-off-by: Tyler Ohlsen <[email protected]>
    
    * Add tests regarding saved obj visibility
    
    Signed-off-by: Tyler Ohlsen <[email protected]>
    
    * Add view events tests
    
    Signed-off-by: Tyler Ohlsen <[email protected]>
    
    * cleanup
    
    Signed-off-by: Tyler Ohlsen <[email protected]>
    
    * remove import
    
    Signed-off-by: Tyler Ohlsen <[email protected]>
    
    ---------
    
    Signed-off-by: Jovan Cvetkovic <[email protected]>
    Signed-off-by: Tyler Ohlsen <[email protected]>
    Co-authored-by: Jovan Cvetkovic <[email protected]>
    
    * Fix NPE
    
    Signed-off-by: Tyler Ohlsen <[email protected]>
    
    * Fix bug of non-empty dashboard; remove unnecessary test
    
    Signed-off-by: Tyler Ohlsen <[email protected]>
    
    * Simplify dashboard creation
    
    Signed-off-by: Tyler Ohlsen <[email protected]>
    
    * Update undefined check
    
    Signed-off-by: Tyler Ohlsen <[email protected]>
    
    ---------
    
    Signed-off-by: Jovan Cvetkovic <[email protected]>
    Signed-off-by: Tyler Ohlsen <[email protected]>
    Co-authored-by: Jovan Cvetkovic <[email protected]>
    Signed-off-by: [email protected] <[email protected]>
    2 people authored and leanneeliatra committed Sep 29, 2023
    Configuration menu
    Copy the full SHA
    2a8fd3a View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    6ebfd9c View commit details
    Browse the repository at this point in the history
  26. feat: use "overrides" to install desired version of tough-cookie and …

    …word-wrap. (opensearch-project#772)
    
    * feat: use npm v8 to install and initialize package-lock
    
    Signed-off-by: SuZhou-Joe <[email protected]>
    
    * feat: add Node version requirement in DEVELOPER_GUIDE
    
    Signed-off-by: SuZhou-Joe <[email protected]>
    
    ---------
    
    Signed-off-by: SuZhou-Joe <[email protected]>
    Signed-off-by: [email protected] <[email protected]>
    SuZhou-Joe authored and leanneeliatra committed Sep 29, 2023
    Configuration menu
    Copy the full SHA
    2432032 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    07a6613 View commit details
    Browse the repository at this point in the history
  28. feat: sync cypress test from notifications-dashboards (opensearch-pro…

    …ject#776) (opensearch-project#784)
    
    * feat: sync cypress test from notifications-dashboards
    
    Signed-off-by: SuZhou-Joe <[email protected]>
    
    * feat: rename commands
    
    Signed-off-by: SuZhou-Joe <[email protected]>
    
    * feat: update
    
    Signed-off-by: SuZhou-Joe <[email protected]>
    
    * feat: add larger wait time
    
    Signed-off-by: SuZhou-Joe <[email protected]>
    
    * feat: update
    
    Signed-off-by: SuZhou-Joe <[email protected]>
    
    * feat: update
    
    Signed-off-by: SuZhou-Joe <[email protected]>
    
    * feat: update
    
    Signed-off-by: SuZhou-Joe <[email protected]>
    
    * feat: add refresh before delete all notifications configs
    
    Signed-off-by: SuZhou-Joe <[email protected]>
    
    ---------
    
    Signed-off-by: SuZhou-Joe <[email protected]>
    (cherry picked from commit 81f70c3)
    Signed-off-by: [email protected] <[email protected]>
    SuZhou-Joe authored and leanneeliatra committed Sep 29, 2023
    Configuration menu
    Copy the full SHA
    9507738 View commit details
    Browse the repository at this point in the history
  29. [Table Visualizations] Tests cleanup (opensearch-project#785)

    Signed-off-by: Sirazh Gabdullin <[email protected]>
    Signed-off-by: [email protected] <[email protected]>
    curq authored and leanneeliatra committed Sep 29, 2023
    Configuration menu
    Copy the full SHA
    bda3d9e View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    5917744 View commit details
    Browse the repository at this point in the history
  31. [Table Visualizations] Test Update (opensearch-project#787)

    * fix-test
    * simplify selector
    
    ---------
    
    Signed-off-by: Sirazh Gabdullin <[email protected]>
    Signed-off-by: [email protected] <[email protected]>
    curq authored and leanneeliatra committed Sep 29, 2023
    Configuration menu
    Copy the full SHA
    e9ac430 View commit details
    Browse the repository at this point in the history
  32. fix discover (opensearch-project#803)

    Signed-off-by: abbyhu2000 <[email protected]>
    Signed-off-by: [email protected] <[email protected]>
    abbyhu2000 authored and leanneeliatra committed Sep 29, 2023
    Configuration menu
    Copy the full SHA
    e3379ff View commit details
    Browse the repository at this point in the history
  33. Change to toast message in Reports (opensearch-project#578)

    * Change to toast message in Reports download spec
    
    Signed-off-by: Kavitha Conjeevaram Mohan <[email protected]>
    
    * Update test
    
    Signed-off-by: Kavitha Conjeevaram Mohan <[email protected]>
    
    * Fix lint
    
    Signed-off-by: Kavitha Conjeevaram Mohan <[email protected]>
    
    ---------
    
    Signed-off-by: Kavitha Conjeevaram Mohan <[email protected]>
    Signed-off-by: [email protected] <[email protected]>
    kavithacm authored and leanneeliatra committed Sep 29, 2023
    Configuration menu
    Copy the full SHA
    b37c0b1 View commit details
    Browse the repository at this point in the history
  34. fix discover (opensearch-project#807)

    Signed-off-by: Qingyang(Abby) Hu <[email protected]>
    Signed-off-by: [email protected] <[email protected]>
    abbyhu2000 authored and leanneeliatra committed Sep 29, 2023
    Configuration menu
    Copy the full SHA
    c9990e7 View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    99a4a59 View commit details
    Browse the repository at this point in the history
  36. fix workbench download text and csv schema (opensearch-project#814) (o…

    …pensearch-project#817)
    
    Signed-off-by: Joshua Li <[email protected]>
    (cherry picked from commit 46c0882)
    
    Co-authored-by: Joshua Li <[email protected]>
    Signed-off-by: [email protected] <[email protected]>
    2 people authored and leanneeliatra committed Sep 29, 2023
    Configuration menu
    Copy the full SHA
    8528312 View commit details
    Browse the repository at this point in the history
  37. update trace analytics cypress tests according to observability chang…

    …es (opensearch-project#775)
    
    * update ftr
    
    Signed-off-by: Derek Ho <[email protected]>
    
    * revert file
    
    Signed-off-by: Derek Ho <[email protected]>
    
    * update with trace analytics accordian changes
    
    Signed-off-by: Derek Ho <[email protected]>
    
    ---------
    
    Signed-off-by: Derek Ho <[email protected]>
    Signed-off-by: [email protected] <[email protected]>
    derek-ho authored and leanneeliatra committed Sep 29, 2023
    Configuration menu
    Copy the full SHA
    80eb972 View commit details
    Browse the repository at this point in the history
  38. Bump semver from 7.3.7 to 7.5.4 (opensearch-project#822)

    Bumps [semver](https://github.com/npm/node-semver) from 7.3.7 to 7.5.4.
    - [Release notes](https://github.com/npm/node-semver/releases)
    - [Changelog](https://github.com/npm/node-semver/blob/main/CHANGELOG.md)
    - [Commits](npm/node-semver@v7.3.7...v7.5.4)
    
    ---
    updated-dependencies:
    - dependency-name: semver
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    Signed-off-by: [email protected] <[email protected]>
    dependabot[bot] authored and leanneeliatra committed Sep 29, 2023
    Configuration menu
    Copy the full SHA
    f6081d9 View commit details
    Browse the repository at this point in the history
  39. [Dashboard] Retry visbuilder dashboard test (opensearch-project#823)

    Seeing it pass in video replays but occassionally doesn't pass.
    However, it doesn't pass with security enabled so I'd imagine it
    could be related to the refreshing of the session.
    
    Issue:
    opensearch-project/OpenSearch-Dashboards#4947
    
    Signed-off-by: Kawika Avilla <[email protected]>
    Signed-off-by: [email protected] <[email protected]>
    kavilla authored and leanneeliatra committed Sep 29, 2023
    Configuration menu
    Copy the full SHA
    ac153a5 View commit details
    Browse the repository at this point in the history
  40. Add new tests for alerting dashboards (opensearch-project#832)

    Signed-off-by: Ashish Agrawal <[email protected]>
    Signed-off-by: [email protected] <[email protected]>
    lezzago authored and leanneeliatra committed Sep 29, 2023
    Configuration menu
    Copy the full SHA
    d6201f9 View commit details
    Browse the repository at this point in the history
  41. Update source element in import_vector_map_tab.spec.js (opensearch-pr…

    …oject#844)
    
    * Update source element in import_vector_map_tab.spec.js
    
    Signed-off-by: Junqiu Lei <[email protected]>
    
    * Update source element in import_vector_map_tab.spec.js
    
    Signed-off-by: Junqiu Lei <[email protected]>
    
    ---------
    
    Signed-off-by: Junqiu Lei <[email protected]>
    Signed-off-by: [email protected] <[email protected]>
    junqiu-lei authored and leanneeliatra committed Sep 29, 2023
    Configuration menu
    Copy the full SHA
    1489306 View commit details
    Browse the repository at this point in the history
  42. Configuration menu
    Copy the full SHA
    3a3063a View commit details
    Browse the repository at this point in the history
  43. Buffer waitForLoader before checking for icon (opensearch-project#857

    …) (opensearch-project#859)
    
    Some async calls occur after navigating and sometimes navigating too quickly
    prevents the calls from having correct data and therefore the homeIcon is in
    a bad state.
    
    This adds the ability to buffer before checking for the homeIcon.
    
    Defaulted to 0 ms, but for `yarn cypress:run-with-security` configures
    WAIT_FOR_LOADER_BUFFER_MS to be 500 ms
    
    Issue resolved:
    opensearch-project/OpenSearch-Dashboards#5028
    
    Signed-off-by: Kawika Avilla <[email protected]>
    (cherry picked from commit e7c7e59)
    
    Co-authored-by: Kawika Avilla <[email protected]>
    Signed-off-by: [email protected] <[email protected]>
    2 people authored and leanneeliatra committed Sep 29, 2023
    Configuration menu
    Copy the full SHA
    b3e2b74 View commit details
    Browse the repository at this point in the history
  44. Overwrite removed and moved to after in unit test

    Signed-off-by: leanneeliatra <[email protected]>
    Signed-off-by: [email protected] <[email protected]>
    leanneeliatra committed Sep 29, 2023
    Configuration menu
    Copy the full SHA
    df07263 View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2023

  1. Merge branch 'main' into shortlink-tenancy-retained-test

    Signed-off-by: leanneeliatra <[email protected]>
    leanneeliatra authored Oct 9, 2023
    Configuration menu
    Copy the full SHA
    758300b View commit details
    Browse the repository at this point in the history
  2. Update dashboard.spec.js

    Signed-off-by: leanneeliatra <[email protected]>
    leanneeliatra authored Oct 9, 2023
    Configuration menu
    Copy the full SHA
    53b38e3 View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2023

  1. Update dashboard_sample_data_spec.js

    remove unneeded change
    
    Signed-off-by: leanneeliatra <[email protected]>
    leanneeliatra authored Oct 10, 2023
    Configuration menu
    Copy the full SHA
    2731dbf View commit details
    Browse the repository at this point in the history