Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Keyword matching exactly after replacing variables is not used with setup/teardown or with Run Keyword (regression) #5444

Copy link
Copy link
Closed
@bhirsz

Description

@bhirsz
Issue body actions

I have noticed that following code:

*** Settings ***
Suite Setup    Set Variables For ${CLUSTER_TYPE}


*** Variables ***
${CLUSTER_TYPE}    Test


*** Test Cases ***
Do Nothing
    No Operation


*** Keywords ***
Set Variables For Test
    No Operation

Set Variables For Dev
    No Operation

Set Variables For ${environment}
    Fail    Did not found setup method for ${environment}.

Works on 7.2.2 but doesn't work on 7.3:

Image

It appears that previously we first checked for existence of keyword with the given name, but now we check the keywords with embedded variables first. Is this intentional change?

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.