From 4fa4ae726b9c4700ef0c7bec374a79fb3b6bc1e8 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Mon, 10 Dec 2012 15:38:32 +0100 Subject: [PATCH] Adjusted Behat steps to new definition format --- tests/behat/features/edit-a-page.feature | 4 ++-- tests/behat/features/preview-a-page.feature | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/behat/features/edit-a-page.feature b/tests/behat/features/edit-a-page.feature index 0be2ba39..cf7684f2 100644 --- a/tests/behat/features/edit-a-page.feature +++ b/tests/behat/features/edit-a-page.feature @@ -20,10 +20,10 @@ Feature: Edit a page Then I should see an edit page form When I fill in "Title" with "About Us!" - And I fill in the content form with "my new content" + And I fill in the "Content" HTML field with "my new content" And I press the "Save Draft" button Then I should see a "Saved." notice When I follow "About Us" Then the "Title" field should contain "About Us!" - And the content form should contain "my new content" \ No newline at end of file + And the "Content" HTML field should contain "my new content" \ No newline at end of file diff --git a/tests/behat/features/preview-a-page.feature b/tests/behat/features/preview-a-page.feature index 279fdb27..9f2d75c6 100644 --- a/tests/behat/features/preview-a-page.feature +++ b/tests/behat/features/preview-a-page.feature @@ -25,7 +25,7 @@ Feature: Preview a page Then I should see "About Us" in CMS Tree When I follow "About Us" - And I fill in the content form with "my new content" + And I fill in the "Content" HTML field with "my new content" And I press the "Save Draft" button And I press the "Preview ยป" button