Est-il correct d'avoir plusieurs groupes de Given / When / Then dans un seul scénario

Je suis en train d'écrire des tests d'acceptation Cornichon où je veux tester pour de multiples changements dans l'INTERFACE utilisateur d'une application web basée sur une action initiale. Voici un exemple:

        Scenario: Cancel editing a new text asset
            Given the user "[email protected]" is logged in
            When the user navigates to "/build/"
            And the user clicks the "Sandbox" link
            And the user inputs "Test story for canceling editing of a new text asset" for the "title" field
            And the user inputs "Test User" for the "byline" field 
            And the user inputs "My summary, so exciting!" for the "summary" textarea
            And the user clicks on "Untitled Section" in the section list
            And the user clicks the "Text" icon in the "center" container 
            And the user inputs the following text in the rich text editor:
                    """
                    Test text for asset. This is cool. 
                    """
            And the user clicks the "cancel" button
            Then the following text is not present: 
                    """
                    Test text for asset. This is cool. 
                    """
            And the "Image" icon is present
            And the "Text" icon is present
            When the user refreshes the browser 
            And the user clicks on "Untitled Section" in the section list
            Then the following text is not present:
                    """
                    Test text for asset. This is cool. 
                    """
            When the user opens the asset drawer
            Then the following text is not present:
                    """
                    Test text for asset. This is cool.
                    """

Noter qu'il existe plusieurs groupes de Quand/Puis, pour tester les réponses de l'action initiale. Alors que la plupart des implémentations de pas ignorer le préfixe du mot-clé, et je suis assez sûr que je peux obtenir ce test à exécuter, est-il un meilleur moyen de tester les différents résultats? Est-il préférable d'écrire plusieurs scénarios avec la même configuration, mais différents ", Puis les" déclarations?

source d'informationauteur Geoffrey Hing