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

a11y tests on spaces home page including feature control #76515

Merged
merged 30 commits into from
Sep 9, 2020

Conversation

bhavyarm
Copy link
Contributor

@bhavyarm bhavyarm commented Sep 2, 2020

a11y tests for spaces and feature control home page
Meta issue - #51456

@bhavyarm bhavyarm added v8.0.0 Project:Accessibility release_note:skip Skip the PR/issue when compiling release notes labels Sep 2, 2020
@bhavyarm bhavyarm self-assigned this Sep 3, 2020
@bhavyarm
Copy link
Contributor Author

bhavyarm commented Sep 3, 2020

@myasonik can you please take a look at the code and the changes I made? I am rolling through different errors in CI and in my local. So not sure what is happening. Thanks!

@bhavyarm
Copy link
Contributor Author

bhavyarm commented Sep 4, 2020

@elasticmachine merge upstream

@bhavyarm bhavyarm marked this pull request as ready for review September 4, 2020 15:59
@bhavyarm bhavyarm requested a review from a team as a code owner September 4, 2020 15:59
Copy link
Contributor

@jportner jportner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Spaces management changes LGTM!

Some optional suggestions if you agree:

  • Existing Spaces data-test-subj's make use of a prefix (e.g., Copy to space uses cts-). Maybe these could be prefixed as well to ensure they are unique? Perhaps space-mgmt-.
  • The data-test-subj's that I've worked with usually have some sort of descriptive suffix, like cts-finish-button or -radioGroup. That can be helpful when working with functional tests to ensure you're using the correct approach for interacting with that element in Selenium... maybe it's just simulating a click, or something else.

bhavyarm and others added 2 commits September 4, 2020 12:39
…e_message/secure_space_message.tsx

Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>
Copy link

@LeeDr LeeDr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - I didn't pull and run locally. Just code review and Jenkins results.

@bhavyarm
Copy link
Contributor Author

bhavyarm commented Sep 8, 2020

@elasticmachine merge upstream

@bhavyarm
Copy link
Contributor Author

bhavyarm commented Sep 8, 2020

@elasticmachine merge upstream

@bhavyarm
Copy link
Contributor Author

bhavyarm commented Sep 8, 2020

@myasonik this PR is failing again on nth focus but I did add dismiss toasts to this test:

  it('a11y test for manage spaces page', async () => {
      await toasts.dismissAllToasts();
      await PageObjects.spaceSelector.clickManageSpaces();
      await PageObjects.header.waitUntilLoadingHasFinished();
      await a11y.testAppSnapshot();
    });

Running it again but worried this might make it flakey. Let me know what do you think about it? Thanks!

@bhavyarm
Copy link
Contributor Author

bhavyarm commented Sep 8, 2020

@bhavyarm
Copy link
Contributor Author

bhavyarm commented Sep 8, 2020

@elasticmachine merge upstream

@bhavyarm
Copy link
Contributor Author

bhavyarm commented Sep 9, 2020

@bhavyarm
Copy link
Contributor Author

bhavyarm commented Sep 9, 2020

@elasticmachine merge upstream

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Build metrics

page load bundle size

id value diff baseline
spaces 488.9KB +666.0B 488.2KB

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@bhavyarm bhavyarm merged commit 78f6410 into elastic:master Sep 9, 2020
gmmorris added a commit to gmmorris/kibana that referenced this pull request Sep 9, 2020
* master: (68 commits)
  a11y tests on spaces home page including feature control  (elastic#76515)
  [ML] Transforms list: persist pagination through refresh interval (elastic#76786)
  [ML] Replace all use of date_histogram interval with fixed_interval (elastic#76876)
  [Timelion] Update timelion deprecation links (elastic#77008)
  [Security Solution] Refactor Network Details to use Search Strategy (elastic#76928)
  Upgrade elastic charts to 21.1.2 (elastic#76939)
  [Alerting][Connectors] Refactor Jira: Generic Implementation (phase one) (elastic#73778)
  [Snapshot & Restore] fix pre existing policy with no existing repository (elastic#76861)
  Update saved object management UI text (elastic#76826)
  [Form lib] Add validations prop to UseArray and expose "moveItem" handler (elastic#76949)
  [Logs UI] Use fields api in log stream (elastic#76919)
  [UI Metrics] Support multi-colon keys (elastic#76913)
  [APM] Script for creating functional test archive (elastic#76926)
  [ENDPOINT] First version of the trusted apps list. (elastic#76304)
  Correct field for rum page url (elastic#76916)
  [Security Solution] Fix redirect properly old SIEM App routes (elastic#76868)
  Bump http-proxy from 1.17.0 to 1.18.1 (elastic#76924)
  [RUM Dashboard] Visitor breakdown usability (elastic#76834)
  [Search] Add a new advanced setting searchTimeout (elastic#75728)
  [DOCS] Adds timelion deprecation to new visualize docs structure (elastic#76959)
  ...
bhavyarm added a commit to bhavyarm/kibana that referenced this pull request Sep 9, 2020
rylnd added a commit to rylnd/kibana that referenced this pull request Sep 10, 2020
* master: (38 commits)
  Reporting/Test: unskip non-screenshot tests (elastic#77088)
  Move metrics to setup and add cgroup metrics (elastic#76730)
  [Enterprise Search] Add Overview landing page/plugin (elastic#76734)
  First pass. Change TS type. Update OpenAPI (elastic#76434)
  [CI] Balance xpack ci groups a bit (elastic#77068)
  [Security_solution][Detections] Refactor signal ancestry to allow multiple parents (elastic#76531)
  [Maps] convert MetricsEditor to TS (elastic#76727)
  IndexMigrator: fix non blocking migration wrapper promise rejection (elastic#77018)
  [Enterprise Search] Update config data endpoint to v2 (elastic#76970)
  [ML] Add decision path charts to exploration results table (elastic#73561)
  Bump eventemitter3 from 4.0.0 to 4.0.7 (elastic#77016)
  [Ingest Pipelines] Add descriptions for ingest processors K-S (elastic#76981)
  [Metrics UI] Replace Snapshot API with Metrics API (elastic#76253)
  legacy utils cleanup (elastic#76608)
  [ML] Account for "properties" layer in find_file_structure mappings (elastic#77035)
  fixed typo
  Upgrade to Kea 2.2 (elastic#77047)
  a11y tests on spaces home page including feature control  (elastic#76515)
  [ML] Transforms list: persist pagination through refresh interval (elastic#76786)
  [ML] Replace all use of date_histogram interval with fixed_interval (elastic#76876)
  ...
@bhavyarm bhavyarm mentioned this pull request Oct 1, 2020
77 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Project:Accessibility release_note:skip Skip the PR/issue when compiling release notes v7.10.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants