Repository navigation
Browser tests for RPM and Python pages, sync detection, return URL and list order; stricter list-page and crawl checks - #35
Merged
Conversation
…motes and repositories - remotes and repositories are created from the forms against a source the test publishes on the server itself - the repository details show the URL the server reports for the distribution; an RPM repository without a publication says it is not served - the sync started from the dialog is dispatched for the repository and its remote, and the task is followed to its end
… its query and the list order - opening the sync dialog sends the running-task question the server accepts and leaves Sync usable when no task runs - signing in again after signing out lands on the same list page with its query string - sessions that a session test opens are ended afterwards through the menu - the file repository list is in the server's name order and the add form marks Name as required
- RPM repositories and remotes and Python repositories, remotes and packages join the list-page table - a list page fails when it shows an error alert or the error state - pages with a recorded defect run as expected failures, so a fix is noticed - a server that lacks one of the expected plugins fails the run unless PULP_UI_E2E_ALLOW_MISSING_PLUGINS is set - the limited account must see the title without an error on the pages its roles allow, and an error elsewhere must come from a 403 answer
…creens rendered signed out - the detail and edit routes of RPM and Python repositories and remotes are opened with the name of an existing object - every report records whether the user menu was shown, and a screen other than the login page that rendered signed out fails the crawl
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.
Adds browser tests that run against a real Pulp server and tightens two existing checks.
New tests (remote-admin project):
Stricter checks:
How it is tested: the new and changed specs and the whole remote-admin and remote-viewer suite pass on a test server (91 passed, 4 skipped for the container plugin that is not installed, nothing left behind under the test prefix). One crawl project (desktop, light theme) and the phone one pass with the new check. The signed-in check was shown to fail when the user menu selector matches nothing. The unit tests, type checks, lint and the public-content guard pass locally.