mirror of
https://github.com/elyby/accounts-frontend.git
synced 2024-12-25 14:39:53 +05:30
29 lines
738 B
TypeScript
29 lines
738 B
TypeScript
describe('/dev/applications - guest', () => {
|
|
it('should render login button', () => {
|
|
cy.visit('/dev/applications');
|
|
|
|
cy.get('[data-e2e-content] [href="/login"]').click();
|
|
|
|
cy.url().should('include', '/login');
|
|
});
|
|
|
|
it('should not allow create new app', () => {
|
|
cy.visit('/dev/applications/new');
|
|
|
|
cy.url().should('include', '/login');
|
|
});
|
|
|
|
it('should not allow edit app', () => {
|
|
cy.visit('/dev/applications/foo-bar');
|
|
|
|
cy.url().should('include', '/login');
|
|
});
|
|
|
|
it('should have feedback popup link', () => {
|
|
cy.visit('/dev/applications');
|
|
|
|
cy.get('[data-e2e-content] [data-e2e-button="feedbackPopup"]').click();
|
|
cy.get('[data-e2e="feedbackPopup"]').should('be.visible');
|
|
});
|
|
});
|