forked from 5afe/safe-react
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'moonbase-stg' into dev
- Loading branch information
Showing
197 changed files
with
5,577 additions
and
7,168 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"baseUrl": "http://localhost:3000/app" | ||
} |
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,31 @@ | ||
describe('Landing page', () => { | ||
it('redirects to welcome page', () => { | ||
cy.visit('/') | ||
|
||
cy.url().should('include', '/app/welcome') | ||
}) | ||
|
||
it('features discoverability cookies', () => { | ||
cy.visit('/') | ||
|
||
cy.findByTestId('cookies-banner-form').contains('We use cookies to provide you with the best experience') | ||
|
||
cy.findByTestId('cookies-banner-form').contains('Accept selection').click() | ||
|
||
cy.findByTestId('cookies-banner-form').should('not.exist') | ||
|
||
cy.contains("What's new").click() | ||
|
||
cy.findByTestId('cookies-banner-form').contains('We use cookies to provide you with the best experience') | ||
cy.findByTestId('cookies-banner-form').contains('Please accept the community support & updates cookies.') | ||
|
||
cy.findByTestId('cookies-banner-form').contains('Community support & updates').click() | ||
cy.findByTestId('cookies-banner-form').contains('Accept selection').click() | ||
cy.findByTestId('cookies-banner-form').should('not.exist') | ||
|
||
// Open the features discoverability section | ||
cy.wait(3000) // TODO: wait for Beamer cookies to be set | ||
cy.contains("What's new").click() | ||
cy.get('#beamerOverlay .iframeCointaner').should('exist') | ||
}) | ||
}) |
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 @@ | ||
import '@testing-library/cypress/add-commands' |
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.