Repository navigation
Own-open driver script checks that page controls save through the store - #1024
Merged
Merged
Conversation
…ch add, rename and delete is in the store, on the server and in the pages bar, and only the strategy-wide controls leave the server unchanged
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 45 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
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.
tool/drive/scripts/cloud-store-own-open.jsonhad been stale since #1009. It opens a store-owned strategy, presses the page controls, and then requiresexpectServerUnchanged. That was right while those controls were off. Since #1009 they save through the store, so on main the script fails at the moment the app does the right thing.What the script checks now
storeExpectPageOrder, the same check thestore-pages-*scripts use. That check needs the same page names in the same order in the store, on the server and in the pages bar. After each add it also checks the shown page, its agent, andexpectCanvasIsTheStores. At the end it is back on Page 1 with the agent, drawn from the store, and the old queue is empty.expectStoreEditable(these controls are off) and the server unchanged against that baseline. #1023 turns them on, and this part changes with it.Smaller changes:
resize: [1600, 900]like the store-pages scripts, so its coordinates are the ones those scripts use.No driver step or app code changed.
Run
One run on the
storerunspreview (adept-seahorse-592), Linux driver build of 863ea63 with this script,--library-store store --cloud-store own, one account:SUMMARY steps=152 failed=0 flutterErrors=0 misplaced=0 CLEAN, exit 0. The page order matched in the store, on the server and in the pages bar after every step:[Page 1, Page 2]→[Page 1, Menu …]→[Page 1, Icon …]→[Page 1, Icon …, Page 3]→[Page 1, Icon …]→[Page 1]. The server was unchanged across the strategy-wide controls. The store matched the server at the end, both before and after a reopen.ci: analyze


Confidence Score: 5/5
This PR appears safe to merge.Summary
Updates
cloud-store-own-open.jsonto expect page controls to save through the store rather than leave the server unchanged.No actionable issues found. The script and relevant driver checks were inspected; no app run was performed during this review.
SunkenInTime explicitly states that strategy rename and the every-page controls remain off intentionally; enabling them is deferred to #1023.
Reviews (1) · Last reviewed commit: "The own-open run checks that page contro..." · Reviewed by Greptile