In order to learn how to use Serenity/JS with Cucumber and Protractor

As a Curious Developer

I'd like to see an example

As a Curious Developer

I'd like to see an example

The "Super Calculator" was developed by Julie Ralph,

the author of Protractor, to demonstrate what Protractor is capable of.

the author of Protractor, to demonstrate what Protractor is capable of.

By the way, did you notice that with **Serenity/JS** you can use Markdown

to better describe each `Feature`

and `Scenario`

?

Before

Given Callie decides to use the Super Calculator

When she adds 19 and 23

Then she should see that the result is 42

Before

Given Callie decides to use the Super Calculator

When she multiplies 6 and 2

Then she should see that the result is 12

Number of Scenarios | 2 | Total Duration | 0ms |

Total Number of Test Cases | 2 | Fastest Test | 2s |

Number of Manual Test Cases | 0 | Slowest Test | 4s |

Tests Started | Aug 07, 2024 22:04:17 | Average Execution Time | 3s |

Tests Finished | Total Execution Time | 6s |

feature | Scenario | Context | Steps | Started | Total Duration | Result |
---|---|---|---|---|---|---|

Calculations | Adding numbers | 4 | 22:04:17 | 4s 421ms | ||

Calculations | Multiplying numbers | 4 | 22:04:22 | 2s 465ms |

Serenity BDD version 4.1.6