Skip to content

Commit

Permalink
Tests fix 2
Browse files Browse the repository at this point in the history
  • Loading branch information
zahardev committed May 6, 2024
1 parent 35c5058 commit e8957b4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/_support/AcceptanceTester.php
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ protected function isAbsoluteUrl( $url ) {
}

protected function createEpisode( $args ) {
$this->iClickMenuSubmenu( 'Podcast', "Add New" );
$this->iClickMenuSubmenu( 'Podcast', "Add New Episode" );
$this->iFillTheFieldWith( 'Episode title', $args[0] );
$this->iFillTheFieldWith( 'Episode content', $args[1] );

Expand Down
4 changes: 2 additions & 2 deletions tests/acceptance/2_settings-episode-itunes.feature
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Feature: Create new episode
Given I login as admin

Scenario: "Enable iTunes fields" option works properly
When I click "Podcast" submenu "Add New"
When I click "Podcast" submenu "Add New Episode"
Then I can see "Add New Episode"
And I can not see "iTunes Episode Number:"
And I can not see "The iTunes Episode Number. Leave Blank If None."
Expand All @@ -22,7 +22,7 @@ Feature: Create new episode
Then I check "Enable iTunes fields" checkbox
And I save settings

When I click "Podcast" submenu "Add New"
When I click "Podcast" submenu "Add New Episode"
Then I can see "Add New Episode"
And I can see "iTunes Episode Number:"
And I can see "The iTunes Episode Number. Leave Blank If None."
Expand Down

0 comments on commit e8957b4

Please sign in to comment.