Skip to content

New actions format #63

Open
Open

Description

@heynemann

Allow users to specify actions as:

@action('And I click something')
def click_something():
//click something

This would reduce A LOT the noise generated by actions. A lot of repeated code would just go.

Activity

  1. ricobl commented on Sep 29, 2010

    @ricobl
    Contributor

    I think you already know that, but it should be nice to have a context and arguments, just like current actions.

    @action('And I click (\d+) times on (?P<element>\w+)')
    def click_x_times_on_element(context, num, element):
        // click n times...
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions