-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4956 from FlowFuse/4955-no-instances-feedback
Improve feedback when Hosted Instances are not available to a team
- Loading branch information
Showing
12 changed files
with
145 additions
and
24 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
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
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
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
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
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
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
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
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
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
22 changes: 22 additions & 0 deletions
22
test/e2e/frontend/cypress/tests-ee/free-tier/free-tier.spec.js
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,22 @@ | ||
describe('FlowFuse EE - Free Tier', () => { | ||
beforeEach(() => { | ||
cy.login('freddie', 'ffPassword') | ||
cy.home() | ||
}) | ||
|
||
it('shows that Hosted Instances are a premium feature in the side navigation', () => { | ||
cy.get('[data-nav="team-instances"]').get('[data-el="premium-feature"]').should('exist') | ||
}) | ||
|
||
it('shows that Hosted Instances are a premium feature when on the /team/<teamId>/instances page', () => { | ||
cy.get('[data-nav="team-instances"]').click() | ||
cy.get('[data-el="page-banner-feature-unavailable-to-team"]').should('exist') | ||
}) | ||
|
||
it('redirects to /application/devices after creating an Application when Hosted Instances are not enabled', () => { | ||
cy.get('[data-el="empty-state"] [data-action="create-application"]').click() | ||
cy.get('[data-form="application-name"] input[type="text"]').type('My Application') | ||
cy.get('[data-action="create-project"]').click() | ||
cy.url().should('include', '/devices') | ||
}) | ||
}) |
Oops, something went wrong.