From 8c09b762b64266b89eb6c422ce884c0e7f18b16e Mon Sep 17 00:00:00 2001 From: Michael Mintz Date: Mon, 16 May 2022 15:26:12 -0400 Subject: [PATCH] Gherkin syntax-highlighting in ReadMe files --- README.md | 2 +- examples/behave_bdd/ReadMe.md | 4 ++-- help_docs/syntax_formats.md | 4 ++-- integrations/behave/ReadMe.md | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 73ec1f0f..28a4ed45 100755 --- a/README.md +++ b/README.md @@ -80,7 +80,7 @@ def test_mfa_login(sb):

↘️ Example test with behave-BDD Gherkin structure. Runs with behave. (Learn more)

-```bash +```gherkin Feature: SeleniumBase scenarios for the RealWorld App Scenario: Verify RealWorld App (log in / sign out) diff --git a/examples/behave_bdd/ReadMe.md b/examples/behave_bdd/ReadMe.md index 94602f3c..c9cc30c0 100755 --- a/examples/behave_bdd/ReadMe.md +++ b/examples/behave_bdd/ReadMe.md @@ -144,7 +144,7 @@ def add_item_to_cart(context, item): 🐝 A ``*.feature`` file could look like this: -```bash +```gherkin Feature: SeleniumBase scenarios for the Swag Labs App Background: @@ -173,7 +173,7 @@ Feature: SeleniumBase scenarios for the Swag Labs App 🐝 Here's another example of a ``*.feature`` file: -```bash +```gherkin Feature: SeleniumBase scenarios for the RealWorld App Scenario: Verify RealWorld App (log in / sign out) diff --git a/help_docs/syntax_formats.md b/help_docs/syntax_formats.md index b7c269a0..92f42013 100755 --- a/help_docs/syntax_formats.md +++ b/help_docs/syntax_formats.md @@ -523,7 +523,7 @@ features/ A ``*.feature`` file might look like this: -```bash +```gherkin Feature: SeleniumBase scenarios for the RealWorld App Scenario: Verify RealWorld App (log in / sign out) @@ -571,7 +571,7 @@ from seleniumbase.behave import steps # noqa That will allow you to use lines like this in your ``*.feature`` files: -```bash +```gherkin ... Given Open "seleniumbase.io/realworld/login" And Clear Session Storage diff --git a/integrations/behave/ReadMe.md b/integrations/behave/ReadMe.md index 19d5b536..5ca64992 100755 --- a/integrations/behave/ReadMe.md +++ b/integrations/behave/ReadMe.md @@ -141,7 +141,7 @@ def add_item_to_cart(context, item): 🐝 A ``*.feature`` file could look like this: -```bash +```gherkin Feature: SeleniumBase scenarios for the Swag Labs App Background: @@ -170,7 +170,7 @@ Feature: SeleniumBase scenarios for the Swag Labs App 🐝 Here's another example of a ``*.feature`` file: -```bash +```gherkin Feature: SeleniumBase scenarios for the RealWorld App Scenario: Verify RealWorld App (log in / sign out)