Skip to content

Converted test recorder for bulk recordings #169

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Aug 1, 2021

Conversation

AndreasArvidsson
Copy link
Member

No description provided.

@AndreasArvidsson AndreasArvidsson requested a review from pokey as a code owner August 1, 2021 04:36
@AndreasArvidsson AndreasArvidsson changed the title Converted test recorded for bulk recordings Converted test recorder for bulk recordings Aug 1, 2021
Copy link
Member

@pokey pokey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is mostly a win but see my two comments

start: {line: 0, character: 6}
end: {line: 0, character: 21}
initialState:
documentContents: "const myVariableValue = \"hello\";\r\n"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm. So I don't think it's worth re-recording everything, but I believe if you don't use line feeds these will get turned into block output and be a bit nicer to read. At least I think that's what's happening here. Check out the example yamls

- anchor: {line: 1, character: 0}
active: {line: 1, character: 0}
finalState:
documentContents: "\r\nconst myVariableValue = \"hello\";\r\n"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does VSCode auto-detect line ending type? If not then this will fail in some cases I believe

@AndreasArvidsson AndreasArvidsson merged commit 2552002 into master Aug 1, 2021
@AndreasArvidsson AndreasArvidsson deleted the test_recorder_bulk branch August 1, 2021 06:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants