-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🥒 adds scenarios to prevent errors from missing assets
- Loading branch information
1 parent
b1b0e1d
commit 6da03a0
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
@allow-rescue | ||
Feature: Dev portal backwards compatibility | ||
|
||
As a long time 3scale user, I don't want any new updates in 3scale to break my developer portal. | ||
|
||
Background: | ||
Given a provider | ||
And the current domain is "foo.3scale.localhost" | ||
|
||
Scenario: Essential assets | ||
Given the provider has main layout with: | ||
""" | ||
<html> | ||
<head> | ||
{% essential_assets %} | ||
</head> | ||
<body> | ||
Good news everyone! | ||
</body> | ||
</html> | ||
""" | ||
And the cms page "/" has main layout | ||
When they go to the homepage | ||
Then they should see "Good news everyone!" |