Repository navigation
test(webui): check the Changes and Ratings & Reviews tabs and the namespace link - #2463
Merged
Merged
Conversation
…espace link The smoke tests only checked that the Changes and Ratings & Reviews tabs exist. Opening Changes now has to show the changelog the page loaded, opening Ratings & Reviews the reviews section, and the namespace link on an extension page has to open a namespace page that lists the extension. Signed-off-by: Tingri Lohar Mohammed Mohsin <[email protected]>
netomi
requested changes
Nov 19, 2026
netomi
left a comment
Contributor
There was a problem hiding this comment.
Thanks, the tabs test looks good. One change needed in the namespace test: it assumes the namespace is displayed by its id, which only holds for namespaces without a display name.
netomi
approved these changes
Nov 19, 2026
netomi
left a comment
Contributor
There was a problem hiding this comment.
Thanks, finding the link by its target works for any display name. LGTM.
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.
Part of #1998: the tabs and namespace tests from my comment there.
…/changesand shows the changelog the page loaded. The test reads the first line of the fetchedCHANGELOG.md, strips the Markdown syntax and checks that text is visible, so it works for any extension with a changelog (production starts with a sentence and a link, staging with a### v1.4.0heading). It also checks that "No changelog available" is not shown.…/reviewsand shows the User Reviews section with the "Log in to Review" link, since the smoke tests run logged out./namespace/<name>, which lists a link back to that extension.The
extensionToOpendocs now also require a changelog. Both current fixtures have one.Tested locally with Playwright 1.65:
--repeat-each=5, 10/10test/e2ereports no errorsOne thing I left out on purpose. Clicking the extension on its namespace page to go back opens an empty Error dialog on production, and the extension page does not render (3/3 attempts). Leaving the namespace page aborts its
/api/<namespace>/detailsrequest. Staging runs v1.4.0 and works (5/5), production runs v1.3.2, so this looks like what the abort handling in #2360 / #2364 fixed. Since the scheduled run tests production, I kept that step out; I can add it once production is on v1.4.0.Tests only, so no changelog entry.