Skip to content

Commit

Permalink
fix(serenity-bdd): upgraded Serenity BDD to 4.0.48
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-molak committed Feb 5, 2024
1 parent bb18515 commit f99b9cb
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 7 deletions.
15 changes: 15 additions & 0 deletions examples/cucumber-reporting/features/readme.md
@@ -0,0 +1,15 @@
Narrative:
In order to quickly learn how to use Serenity/JS with Cucumber
As a busy developer
I'd like to see examples demonstrating how Serenity/JS reports the result of executing Cucumber test scenarios.

This note is called _"the narrative"_. It can be used to provide the context around the business capability of your
product ("Reporting Results" in this case) and its features that help to enable this capability.

**Please note:** While [Cucumber](https://github.com/cucumber/cucumber-js) allows you to capture a description
of each feature in the `.feature` file, [Serenity/JS](https://serenity-js.org) allows us to group those `.feature`
files in directories corresponding to "epics", "themes" or "business capabilities" of your system and provide
each one of those with additional context using this `narrative.txt` file.

**By the way:** Did you notice that you can use **[markdown syntax](https://www.markdownguide.org/)** to better express
your thoughts?
8 changes: 4 additions & 4 deletions examples/playwright-test-todomvc/spec/bulk_operations.spec.ts
Expand Up @@ -2,10 +2,10 @@ import { contain, containItemsWhereEachItem, Ensure, equals, isPresent, not, pro
import { afterEach, beforeEach, describe, it } from '@serenity-js/playwright-test';
import { Click, CssClasses, isSelected, Text } from '@serenity-js/web';

import { TODO_ITEMS } from './test-data';
import { clearCompletedButton, persistedItemNames, persistedItems, startWithAListContaining, toggleAllButton } from './todo-list-app/TodoApp';
import { isDisplayedAsCompleted, isDisplayedAsOutstanding, markAsCompleted, markAsOutstanding } from './todo-list-app/TodoItem';
import { itemCalled, itemNames, items, toggleAllItems } from './todo-list-app/TodoList';
import { TODO_ITEMS } from '../test-data';
import { clearCompletedButton, persistedItemNames, persistedItems, startWithAListContaining, toggleAllButton } from '../todo-list-app/TodoApp';
import { isDisplayedAsCompleted, isDisplayedAsOutstanding, markAsCompleted, markAsOutstanding } from '../todo-list-app/TodoItem';
import { itemCalled, itemNames, items, toggleAllItems } from '../todo-list-app/TodoList';

describe('Bulk operations', () => {

Expand Down
@@ -1,5 +1,3 @@
Reporting results

Narrative:
In order to quickly learn how to use Serenity/JS with Cucumber
As a busy developer
Expand Down
2 changes: 1 addition & 1 deletion packages/serenity-bdd/src/cli/defaults.ts
Expand Up @@ -14,7 +14,7 @@
* @public
*/
export const defaults = {
artifact: 'net.serenity-bdd:serenity-cli:jar:4.0.46',
artifact: 'net.serenity-bdd:serenity-cli:jar:4.0.48',
repository: 'https://repo1.maven.org/maven2/',
cacheDir: 'node_modules/@serenity-js/serenity-bdd/cache',
sourceDir: 'target/site/serenity',
Expand Down

0 comments on commit f99b9cb

Please sign in to comment.