Skip to content

Saving .robot file in grid mode breaks some specific keywords (RIDE v2.0b2.dev5) #2433

@axiom41

Description

@axiom41

Hello.
I'm using the library "robotframework-seleniumscreenshots 0.9.5" (https://pypi.org/project/robotframework-seleniumscreenshots/) and, after updating RIDE to the latest v2.0b2.dev5, when i edit a .robot file containing keywords from such library, RIDE breaks each of them by replacing a character with 4 "spaces" and consequently changing the rest of the KW that stops to work after that

for example, one of the "original" lines, in text mode was:
${PointyNote}    Add Pointy Note    css:input#btn_ricerca    text=Ricerca pratica    background=#6dbfc0    position=bottom

After editing with RIDe the file that contains it, it's changed/malformed to:
${PointyNote}    Add Pointy Note    css:inpu    #btn_ricerca \ \ \ text=Ricerca pratica \ \ \ background=#6dbfc0 \ \ \ position=bottom

(the "t" of word "input" is replaced by 4 spaces and all other 4 spaces (separating parameters in original KW) are split to single space characters in a single, unique parameter

This seems to happen only on KW imported from that specific library and it was not happening with RIDE v2.0b2.dev4

Can you please investigate on this (in the meantime i had to revert to RIDE v2.0b2.dev4)?

Many thanks in advance

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugMalfunctions that should be fixed to comply with the expected behaviorprio-highCritical to user experience

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions