Skip to content

Commit 8c09b76

Browse files
committed
Gherkin syntax-highlighting in ReadMe files
1 parent da0af4f commit 8c09b76

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def test_mfa_login(sb):
8080

8181
<p align="left">↘️ Example test with <b>behave-BDD</b> <a href="https://behave.readthedocs.io/en/stable/gherkin.html">Gherkin</a> structure. Runs with <code>behave</code>. (<a href="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/behave_bdd/ReadMe.md">Learn more</a>)</p>
8282

83-
```bash
83+
```gherkin
8484
Feature: SeleniumBase scenarios for the RealWorld App
8585
8686
Scenario: Verify RealWorld App (log in / sign out)

examples/behave_bdd/ReadMe.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ def add_item_to_cart(context, item):
144144

145145
🐝 A ``*.feature`` file could look like this:
146146

147-
```bash
147+
```gherkin
148148
Feature: SeleniumBase scenarios for the Swag Labs App
149149
150150
Background:
@@ -173,7 +173,7 @@ Feature: SeleniumBase scenarios for the Swag Labs App
173173

174174
🐝 Here's another example of a ``*.feature`` file:
175175

176-
```bash
176+
```gherkin
177177
Feature: SeleniumBase scenarios for the RealWorld App
178178
179179
Scenario: Verify RealWorld App (log in / sign out)

help_docs/syntax_formats.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,7 @@ features/
523523

524524
A ``*.feature`` file might look like this:
525525

526-
```bash
526+
```gherkin
527527
Feature: SeleniumBase scenarios for the RealWorld App
528528
529529
Scenario: Verify RealWorld App (log in / sign out)
@@ -571,7 +571,7 @@ from seleniumbase.behave import steps # noqa
571571

572572
That will allow you to use lines like this in your ``*.feature`` files:
573573

574-
```bash
574+
```gherkin
575575
...
576576
Given Open "seleniumbase.io/realworld/login"
577577
And Clear Session Storage

integrations/behave/ReadMe.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ def add_item_to_cart(context, item):
141141

142142
🐝 A ``*.feature`` file could look like this:
143143

144-
```bash
144+
```gherkin
145145
Feature: SeleniumBase scenarios for the Swag Labs App
146146
147147
Background:
@@ -170,7 +170,7 @@ Feature: SeleniumBase scenarios for the Swag Labs App
170170

171171
🐝 Here's another example of a ``*.feature`` file:
172172

173-
```bash
173+
```gherkin
174174
Feature: SeleniumBase scenarios for the RealWorld App
175175
176176
Scenario: Verify RealWorld App (log in / sign out)

0 commit comments

Comments
 (0)