then method

BddThen then(
  1. String text
)

This keyword is used to describe the expected outcome or result after the 'When' step is executed. It's used to assert that a certain outcome should occur, which helps to validate whether the system behaves as expected. An example is, "Then I should be redirected to the dashboard".

Implementation

BddThen then(String text) => BddThen(bdd, text);