Create test for C122542 - Audio & Video permission prompt is successfully displayed
Categories
(Mozilla QA :: STArFox, task)
Tracking
(Not tracked)
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.
| Assignee | ||
Comment 1•1 year ago
|
||
Hello Tracy, can I take this up?
| Reporter | ||
Comment 2•1 year ago
|
||
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.
| Assignee | ||
Comment 3•1 year ago
|
||
Okay no problem, I will wait
| Reporter | ||
Comment 4•1 year ago
|
||
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
| Assignee | ||
Comment 5•1 year ago
|
||
Okay, can I go ahead with it now?
| Reporter | ||
Comment 6•1 year ago
|
||
(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!
| Reporter | ||
Updated•1 year ago
|
| Assignee | ||
Comment 8•1 year ago
|
||
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.
| Reporter | ||
Comment 9•1 year ago
|
||
Interesting, you have it correctly installed. You're able to manually run that installation of Firefox, yes?
CCing a couple others for input.
| Assignee | ||
Comment 10•1 year ago
|
||
Yes, everything works well, then I run pytest and it shows me that
| Reporter | ||
Comment 11•1 year ago
|
||
Is that installation of Firefox in use already, when you run pytest?
| Assignee | ||
Comment 12•1 year ago
|
||
I have tried while in use and not in use, same thing
| Assignee | ||
Comment 13•1 year ago
|
||
Nevermind I got it, thanks for your help :D
Comment 14•1 year ago
|
||
What was the solution, just for future reference?
| Assignee | ||
Comment 15•1 year ago
|
||
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
| Assignee | ||
Comment 16•1 year ago
|
||
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?
| Reporter | ||
Comment 17•1 year ago
|
||
Look at the test case: tests/notifications/test_microphone_permissions_notification.py. That should help you along quite a bit.
| Assignee | ||
Comment 18•1 year ago
|
||
Ohh thanks, didn't have this in my original clone. It really helped.
I have sent the pr now.
| Reporter | ||
Comment 19•1 year ago
|
||
Thank you for the PR and well done!
| Reporter | ||
Updated•10 months ago
|
Description
•