mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-06-18 18:16:26 +00:00
15 lines
393 B
JavaScript
15 lines
393 B
JavaScript
/// <reference types="cypress" />
|
|
|
|
describe('Frontend Login', () => {
|
|
it('Login works', function() {
|
|
cy.intercept('/api/users/me*').as('getCurrentUser')
|
|
|
|
cy.visit("/")
|
|
cy.get('input[name="identity"]').type("admin@example.com")
|
|
cy.get('input[name="secret"]').type("changeme")
|
|
cy.get('button[type=submit]').click()
|
|
|
|
cy.wait("@getCurrentUser")
|
|
});
|
|
});
|