@@ -15,7 +15,7 @@ Feature: Content items creation
1515 | label | value |
1616 | Title | Test Article draft |
1717 | Short title | Test Article draft |
18- And I click on the edit action bar button "Save"
18+ And I perform the "Save" action from the "Save and close" group
1919 Then success notification that "Content draft saved." appears
2020 And I should be on Content update page for "Test Article draft"
2121 And I open the "Dashboard" page in admin SiteAccess
@@ -29,7 +29,7 @@ Feature: Content items creation
2929 And I open the "Dashboard" page in admin SiteAccess
3030 And there's draft "TestDraft" on Dashboard list
3131 When I start editing content draft "TestDraft"
32- And I click on the edit action bar button "Delete draft"
32+ And I perform the "Delete draft" action
3333 Then I should be on Content view Page for root
3434 And I open the "Dashboard" page in admin SiteAccess
3535 And there's no draft "TestDraft" on Dashboard list
@@ -43,9 +43,9 @@ Feature: Content items creation
4343 | Title | TestArticleSavePublish |
4444 | Short title | TestArticleSavePublish |
4545 | Intro | TestArticleIntro |
46- When I click on the edit action bar button "Save"
46+ When I perform the "Save" action from the "Save and close" group
4747 And I should be on Content update page for "TestArticleSavePublish"
48- And I click on the edit action bar button "Publish"
48+ And I perform the "Publish" action
4949 Then success notification that "Content published." appears
5050 And I should be on Content view Page for "TestArticleSavePublish"
5151
@@ -58,8 +58,8 @@ Feature: Content items creation
5858 And there's draft "TestDraftDashboardEdit" on Dashboard list
5959 And I start editing content draft "TestDraftDashboardEdit"
6060 And I should be on Content update page for "TestDraftDashboardEdit"
61- When I click on the close button
62- And I should be on Content view Page for root
61+ When I perform the "Delete draft" action
62+ Then I should be on Content view Page for root
6363
6464 @javascript @APIUser:admin
6565 Scenario : Content draft can be created and published through draft list modal
@@ -70,13 +70,13 @@ Feature: Content items creation
7070 | title | short_title |
7171 | ContentDraftConflictVersion1 | ContentDraftConflictVersion2 |
7272 And I'm on Content view Page for "ContentDraftConflict"
73- When I click on the edit action bar button "Edit"
73+ When I perform the "Edit" action
7474 And I start creating new draft from draft conflict modal
7575 And I set content fields
7676 | label | value |
7777 | Title | ContentDraftConflictVersion2 |
7878 | Short title | ContentDraftConflictVersion2 |
79- And I click on the edit action bar button "Publish"
79+ And I perform the "Publish" action
8080 Then success notification that "Content published." appears
8181 And I should be on Content view Page for ContentDraftConflictVersion2
8282 And content attributes equal
@@ -93,12 +93,12 @@ Feature: Content items creation
9393 | title | short_title |
9494 | ContentDraftConflictFromTheListVersion2 | ContentDraftConflictFromTheListVersion2 |
9595 And I'm on Content view Page for "ContentDraftConflictFromTheList"
96- When I click on the edit action bar button "Edit"
96+ When I perform the "Edit" action
9797 And I start editing draft with version number "2" from draft conflict modal
9898 And I set content fields
9999 | label | value |
100100 | Intro | ContentDraftConflictFromTheListVersion2Edited |
101- And I click on the edit action bar button "Publish"
101+ And I perform the "Publish" action
102102 Then success notification that "Content published." appears
103103 And I should be on Content view Page for ContentDraftConflictFromTheListVersion2
104104 And content attributes equal
0 commit comments