Base setup for Playwright tests #1255
Closed
Janni2006 wants to merge 10000 commits intoopencast:developfrom
Closed
Base setup for Playwright tests #1255Janni2006 wants to merge 10000 commits intoopencast:developfrom
Janni2006 wants to merge 10000 commits intoopencast:developfrom
Conversation
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.
This pull request introduces end-to-end testing for the frontend using Playwright as mentiones in #446.
Playwright Setup and Configuration:
.github/workflows/playwright.yml) to run Playwright tests on push and pull request events, including steps for installing dependencies, setting up browsers, and uploading test reports.playwright.config.tsto configure Playwright with parallel test execution, browser projects (Chromium, Firefox, WebKit), and a local development server for testing.Project Updates:
package.jsonto include Playwright as a development dependency (@playwright/test) and added new scripts for running Playwright tests (test:e2eandtest:e2e:headless).Test Implementation:
webtests/header.spec.tsto verify the visibility of header elements and functionality of the language dropdown.Documentation:
webtests/writing_tests.mdto provide an overview of Playwright, instructions for running tests locally, and references to official Playwright documentation.