Closed Bug 1920219 Opened 1 year ago Closed 1 year ago

Create test for C122542 - Audio & Video permission prompt is successfully displayed

Categories

(Mozilla QA :: STArFox, task)

Desktop
Unspecified

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: tracy, Assigned: Muhamzyali)

References

Details

(Whiteboard: [Fx-Desk-Auto][Test Batch 5])

https://mozilla.testrail.io/index.php?/cases/view/122542

Create test automation for this test case - Audio & Video permission prompt is successfully displayed

Test Steps:

1 Access the following link.

2 Click on the "Camera & Microphone" button.
Expected results: After clicking on the "Camera & Microphone" button, the Permission panel is successfully displayed.

Hello Tracy, can I take this up?

Hi Muhammed, Yes you may take this. However, please wait while we sort out the details of how to integrate community volunteer efforts into this automation project. That should be by later today or tomorrow at the latest. Thank you for your patience.

Okay no problem, I will wait

Please forgive the boilerplate...

Thank you for your interest in contributing to our project. We’re excited you have found your way here. We would be glad to get you started.

First let us explain what this project is about. We have created a test automation harness based on Python Selenium that is outside of the Mozilla Firefox code base. The project repository is in GitHub, at https://github.com/mozilla/fx-desktop-qa-automation, please feel free to take a look. The project is intended to automate manual smoke tests our team runs regularly.

If you’re interested in contributing, please follow this outline (from the README.md):

  • Read all the documentation in the project GitHub repository, including the README, BEST_PRACTICES and CODE_OF_CONDUCT.
  • Find an open and unassigned test case bug in the bug tree at https://bugzilla.mozilla.org/show_bug.cgi?id=1892813
    • Ask, in the bug, to be allowed to take the bug to work on it.
    • A Mozilla DTE will either assign you the bug or suggest another test case bug for you to work on.
    • The DTE will give you, as a comment in the bug, the test steps, from our test case repository, TestRail.
  • Fork the repo and create your test case based on the test steps given.
  • Submit your PR to this repo.
  • A Mozilla DTE will review your PR
    • Address any review comments
  • Once approved your test code will be landed in the repo.

Thank you,
Tracy Walker
Mozilla DTE Lead

Okay, can I go ahead with it now?

(In reply to Muhammed Ali from comment #5)

Okay, can I go ahead with it now?

Yes, I've added the test steps to the original comment here.

Thank you for your patience and good luck!

Flags: needinfo?(Muhamzyali)
Assignee: nobody → Muhamzyali

Okay, thank you.

Flags: needinfo?(Muhamzyali)

I am getting this error when I run pytest: "PermissionError: [Errno 13] Permission denied: '/home/muhammed/Desktop/Custom Firefox/firefox'" Do you know why, please? I am using ubuntu.
I have given all the permissions, but it is still not working.

Interesting, you have it correctly installed. You're able to manually run that installation of Firefox, yes?

CCing a couple others for input.

Yes, everything works well, then I run pytest and it shows me that

Is that installation of Firefox in use already, when you run pytest?

I have tried while in use and not in use, same thing

Nevermind I got it, thanks for your help :D

What was the solution, just for future reference?

I exported the downloaded file to Custom Firefox/firefox instead of Custom Firefox/
The error wasn't accurate, so I was checking the wrong places for solutions

I went through the docs for modules.browser_object_panel_ui and other modules and didn't see any module for permission panel. Am I supposed to develop that, or is it done internally?

Look at the test case: tests/notifications/test_microphone_permissions_notification.py. That should help you along quite a bit.

Ohh thanks, didn't have this in my original clone. It really helped.
I have sent the pr now.

Thank you for the PR and well done!

Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Component: General → STArFox
You need to log in before you can comment on or make changes to this bug.