38 lines
1.2 KiB
Gherkin
38 lines
1.2 KiB
Gherkin
|
Feature: Admin Appearance
|
||
|
Scenario: Create new appearance
|
||
|
Given I sign in as an admin
|
||
|
And I visit admin appearance page
|
||
|
When submit form with new appearance
|
||
|
Then I should be redirected to admin appearance page
|
||
|
And I should see newly created appearance
|
||
|
|
||
|
Scenario: Preview appearance
|
||
|
Given application has custom appearance
|
||
|
And I sign in as an admin
|
||
|
When I visit admin appearance page
|
||
|
And I click preview button
|
||
|
Then I should see a customized appearance
|
||
|
|
||
|
Scenario: Custom sign-in page
|
||
|
Given application has custom appearance
|
||
|
When I visit login page
|
||
|
Then I should see a customized appearance
|
||
|
|
||
|
Scenario: Appearance logo
|
||
|
Given application has custom appearance
|
||
|
And I sign in as an admin
|
||
|
And I visit admin appearance page
|
||
|
When I attach a logo
|
||
|
Then I should see a logo
|
||
|
And I remove the logo
|
||
|
Then I should see logo removed
|
||
|
|
||
|
Scenario: Header logos
|
||
|
Given application has custom appearance
|
||
|
And I sign in as an admin
|
||
|
And I visit admin appearance page
|
||
|
When I attach header logos
|
||
|
Then I should see header logos
|
||
|
And I remove the header logos
|
||
|
Then I should see header logos removed
|