Sha256: e1bfa7d3dab9ab3c9377e73d534f942b63457697331f26c7f26bfb043c394ca7
Contents?: true
Size: 1.49 KB
Versions: 3
Compression:
Stored size: 1.49 KB
Contents
Feature: A user should be able to see when styles are unused Scenario: Going to a page with a single stylesheet Given I go to the home page Then I should see style '#heading' was used Then I should see style '.sub-heading' was not used Scenario: Going to a page with more than one stylesheet Given I go to a page with 2 stylesheets Then I should see style '#heading' was used Then I should see style '.notification' was used Then I should see style '.sub-heading' was not used Then I should see style '.sub-heading span' was not used Then I should see style '.old-error' was not used Scenario: Going to a page with styles for hover state Given I go to a page with 2 stylesheets Then I should see style '#heading' was used Then I should see style '.notification' was used Then I should see style '.notification:hover' was used Then I should see style '.sub-heading' was not used Then I should see style '.sub-heading span' was not used Then I should see style '.old-error' was not used Scenario: Going to a page that loads content via AJAX Given I go to the home page Then I should see style '#heading' was used Then I should see style '.sub-heading' was not used Then I should see style '#ajaxed-content' was not used When I wait for content to be loaded into the DOM via AJAX Then I should see 'I was pulled in by AJAX' When I recheck the styles on the page Then I should see style '#ajaxed-content' was used
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
unused_css-1.0.0 | features/unused_css.feature |
unused_css-0.2.0 | features/unused_css.feature |
unused_css-0.1.0 | features/unused_css.feature |