Repository navigation
Close a pane's record on the press that sees it drawn - #1214
Merged
Merged
Conversation
…he labelled session in its e2e The pane head's button decided from the lens the core keeps, while the lane draws Sessions for a project with no pull request whatever lens is kept, and the first press's lens change can still be on its way; the lane's record now says which record it draws and the button reads that. The e2e pressed before the fixture's label moved the pane to its labelled session, so the second press opened the new session's record on a slow runner; it now waits for the button to carry the labelled session.
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.
Related: #1185
Summary
main went red after #1185 on
web e2e windows:overview-device.spec.tspressed a pane head's record button twice and the record stayed open.The test pressed before the fixture's label had moved the pane to its labelled session, so on a slow runner the second press asked for a different session and opened it, as it should.
Reading the toggle also found a real misread: it decided "the record is shown" from the lens the core keeps, while the lane draws Sessions for a project with no pull request whatever lens is kept, and the first press's lens change can still be on its way.
Now the lane's record says which record it draws (
ui.drawnRecord), and the button closes it when that record is its session's and the lane is up; the e2e waits for the button to carry the labelled session.Review
web/src/SessionRecord.tsx- 기록이 mount될 때drawnRecord를 쓰고 unmount 때 자기 것일 때만 지웁니다.web/src/actions.tstogglePaneRecord.Evidence
fixture-w1-p1에서label-…로 바뀌어 있었음.overview-device.spec.ts와session-panel.spec.ts전체 4개 통과.