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

[tests] Selenium test for Preview configuration with keyboard #868 #955

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dee077
Copy link
Contributor

@dee077 dee077 commented Dec 24, 2024

Added a Selenium test case to replicate the process by creating a device, clicking its anchor tag, pressing ALT+P to open the preview, and pressing ESC to close it.

Fixes #868

Checklist

  • I have read the OpenWISP Contributing Guidelines.
  • I have manually tested the changes proposed in this pull request.
  • I have written new test cases for new code and/or updated existing tests for changes to existing code.

Reference to Existing Issue

Closes #868

Description of Changes:

  • Creates and saves a device configuration.
  • Navigate to the device detail page.
  • Simulates pressing Alt + P to open the preview configuration overlay.
  • Verifies that the overlay becomes visible.
  • Simulates pressing Escape to close the overlay.
  • Confirms that the overlay disappears.

Added a Selenium test case to replicate the process by creating a device, clicking its anchor tag, pressing ALT+P to open the preview, and pressing ESC to close it.

Fixes openwisp#868
@coveralls
Copy link

Coverage Status

coverage: 98.261%. remained the same
when pulling 6607106 on dee077:issues/868-preview-keyboard-keys-selenium-test
into aa08611 on openwisp:master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[bug:ui] Preview keyboard keys do not work anymore
2 participants