-
Notifications
You must be signed in to change notification settings - Fork 13
feat(tests): Integrate Playwright for end-to-end testing #164
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
Merged
antobinary
merged 14 commits into
bigbluebutton:v0.0.x
from
antonbsa:plugin-tests-setup
May 28, 2025
Merged
feat(tests): Integrate Playwright for end-to-end testing #164
antobinary
merged 14 commits into
bigbluebutton:v0.0.x
from
antonbsa:plugin-tests-setup
May 28, 2025
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
|
Thank you for this contribution! Could you please confirm if you already sent in the signed Contributor License Agreement? See https://docs.bigbluebutton.org/support/faq.html#why-do-i-need-to-sign-a-contributor-license-agreement-to-contribute-source-code Thanks in advance! |
- Created Playwright configuration globally (extended in the samples folder) - Implemented test for the action button dropdown functionality, including visibility and logging on click. - Introduced core constants and helper functions for managing test parameters and settings. - Updated the package.json files to include new dependencies and test scripts.
8784529 to
5bc7e0c
Compare
- use playwright custom fixture (sampleTest)
… for sample plugins - use single playwright config file - create copy-sample-to-container script - standardize plugin
3 tasks
GuiLeme
requested changes
May 21, 2025
Co-authored-by: Guilherme Pereira Leme <69865537+GuiLeme@users.noreply.github.com>
GuiLeme
approved these changes
May 27, 2025
Collaborator
GuiLeme
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
GuiLeme
approved these changes
May 28, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What does this PR do?
This PR introduces the setup with E2E tests for the
Actions button dropdownandActions barsamples using Playwright:should display and log when clickedshould log expected message when custom SVG button is clickedshould handle selector button click and log expected valuesshould verify selector icon has correct classshould handle toggle group button click and log expected valuesIn addition:
.eslintrcto include overrides for test files and samples, allowing specific rules to be turned off for these files;/scripts/copy-sample-to-container.shscript file to facilitate testing in a development environment;More
pluginManifestscreate parameter into a session;.env.template);