Repository navigation
Playwright Support - #773
Merged
Merged
Conversation
Replaced Selenium WebDriver with Microsoft.Playwright for browser-based integration tests. Removed Selenium dependencies and test files, added Playwright-based test suite and server factory. Updated Razor view forms to use explicit URLs and include anti-forgery tokens. Cleaned up minor HTML in blog item views. This modernizes and improves reliability of end-to-end testing.
- Use .First for category selection to ensure correct element targeting - Increase delays after create/edit for better persistence handling - Navigate directly to edit/delete URLs via href extraction for stability - Simplify edit step and verify post existence after edit - After deletion, confirm post link is absent from home page - Update activity log test to use /admin/log route
- Refactor and remove outdated Playwright test methods - Update test navigation and assertions for UI changes - Change comment form field IDs to PascalCase for consistency - Update submit button ID and label "for" attributes - Set SiteConfig.Root to test server URL at runtime - Improve test reliability and alignment with current UI
- Remove WelcomePostCheckPageBrowserTitle test as redundant/unreliable - Simplify NavigateToArchiveSpecificDate to only check archive URL - Update comment delete test to handle Bootstrap modal confirmation and pagination - Use dynamic Server.RootUri in site admin test assertion - Add aria-label to comment delete link for accessibility
Tests now expect GetAtom and GetAtomCategory to return valid AtomRoot objects instead of throwing NotImplementedException. Assertions verify non-null results and correct title values, reflecting recent method implementations.
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
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.
PR Classification
Migration of integration tests from Selenium WebDriver to Microsoft Playwright for improved browser automation and test reliability.
PR Summary
This pull request replaces Selenium-based integration tests with Playwright, updates Razor view element IDs for testability, and adds support for Atom feed tests.