Skip to content
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

CC-1523: YAML-JSON conversion #1564

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

CC-1523: YAML-JSON conversion #1564

wants to merge 5 commits into from

Conversation

depperm
Copy link

@depperm depperm commented Apr 19, 2023

meant to resolve #1523 and #1256

@depperm
Copy link
Author

depperm commented Apr 21, 2023

any idea why its failing the UI test?

@brun0ne
Copy link
Contributor

brun0ne commented Apr 27, 2023

message: 'session not created: This version of ChromeDriver only supports Chrome version 110\n' + 'Current browser version is 112.0.5615.121 with binary path /usr/bin/google-chrome',

Seems like this is an issue with the current test setup

run(input, args) {
const doc = new YAML.Document();
try {
doc.contents = JSON.parse(input.replace(/(\w+):/gm, `"$1":`));

Choose a reason for hiding this comment

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

I am quite sure this would not work, at all.

Wouldn't it be easier to use YAML.stringify(input)?

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.

Feature request: Converting YAML to JSON
4 participants