mirror of
https://github.com/elyby/accounts-frontend.git
synced 2024-12-03 12:10:45 +05:30
29 lines
733 B
TypeScript
29 lines
733 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.getByTestId('feedbackPopup').should('be.visible');
|
|
});
|
|
});
|