Skip to content

[BUG] If test case path contains square brackets with text inside running from editor view is not possible #386

Closed
@huuhtaneno

Description

@huuhtaneno

Describe the bug
Cannot run test case if test case folder structure or test case file name contains square brackets with text inside.

Steps To Reproduce
Create a folder structure that at some point has text inside square brackets for example:
/tmp/[fish]kala/kala.robot
/tmp/fishkala/[kala].robot

This works:
/tmp/fishkala/kala.robot

Expected behavior
Expect to be able to run test cases when folder structure contains square brackets with text inside.

Screenshots/ Videos

Image

Image

Working example:
Image

Logs
[ ERROR ] Suite 'Robotcode' contains no tests or tasks.

Desktop (please complete the following information):

  • VS Code Version: 1.95.3
  • RobotCode Version: v0.108.1
  • OS: Windows
  • Python Version: Python 3.11.9
  • RobotFramework Version: 7.0.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions