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

test: extract keyboard interaction mode tests #7992

Merged
merged 2 commits into from
Oct 18, 2024

Conversation

vursen
Copy link
Contributor

@vursen vursen commented Oct 17, 2024

Description

  • Extracted keyboard interaction mode tests into a new separate file
  • Moved getFocusedRowIndex and getFocusedCellIndex helpers into the common grid helpers file

Type of change

  • Internal

@vursen vursen marked this pull request as ready for review October 17, 2024 14:30
Copy link

Copy link
Member

@web-padawan web-padawan left a comment

Choose a reason for hiding this comment

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

Getting this locally when running test on MacOS. Also happens on main so not a blocker.

packages/grid/test/keyboard-interaction-mode-lit.test.js:

 ❌ keyboard interaction mode > should tab through the elements in order
      AssertionError: expected 13 to equal 11
      + expected - actual

      -13
      +11

      at n.<anonymous> (packages/grid/test/keyboard-interaction-mode.common.js:562:35)

packages/grid/test/keyboard-interaction-mode-polymer.test.js:

 ❌ keyboard interaction mode > should tab through the elements in order
      AssertionError: expected 13 to equal 11
      + expected - actual

      -13
      +11

      at n.<anonymous> (packages/grid/test/keyboard-interaction-mode.common.js:562:35)

@vursen vursen merged commit d5f95aa into main Oct 18, 2024
9 checks passed
@vursen vursen deleted the extract-test-helpers-into-separate-file branch October 18, 2024 07:26
@vursen vursen restored the extract-test-helpers-into-separate-file branch October 23, 2024 07:39
vaadin-bot pushed a commit that referenced this pull request Oct 23, 2024
vaadin-bot pushed a commit that referenced this pull request Oct 23, 2024
vursen added a commit that referenced this pull request Oct 23, 2024
Co-authored-by: Sergey Vinogradov <[email protected]>
Co-authored-by: Serhii Kulykov <[email protected]>
vursen added a commit that referenced this pull request Oct 23, 2024
Co-authored-by: Sergey Vinogradov <[email protected]>
Co-authored-by: Serhii Kulykov <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants