Skip to content

Create smoke test for tabs #703

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

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

Create smoke test for tabs #703

wants to merge 1 commit into from

Conversation

krishpdev
Copy link

@krishpdev krishpdev commented Aug 5, 2025

Relevant Links

Bugzilla: https://bugzilla.mozilla.org/show_bug.cgi?id=1976537
TestRail: 134455

Description of Code / Doc Changes

Leave a bullet-pointed list of changes you made.

Created a test to ensure that middle clicking or pressing control/command and clicking a hyperlink
will correctly create a new background tab. Selenium does not directly support
middle clicking so I used the pynput library to simulate middle clicking. The test
will dynamically determine the location of the hyperlink element so the mouse will correctly
over it before initiating a middle click.

Process Changes Required

Mark the relevant boxes:

  • Adds a dependency (rerun pipenv install)
  • Changes the BasePage
  • Changes or creates a BOM/POM (name the object model): _
  • Changes CI flow
  • Changes scheduled Beta or DevEdition
  • Changes Git hooks or Github settings
  • Changes L10n harness

Screenshots or Explanations

If you need to explain your code, do it here.

Comments or Future Work

Do we need to start another PR soon to address something you saw while working on this?

Workflow Checklist

  • Please request reviewers
  • If this is an unblocker, please post in Slack.
  • If asked to address comments, please resolve conversations.
  • If asked to change code, please re-request review from the person who wanted changes.

Thank you!

Verify that a new background tab opens when middle clicking or pressing control/command and clicking a hyperlink
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.

1 participant