Fix cypress test
This commit is contained in:
parent
e9895d9f74
commit
3f229f10ab
|
|
@ -9,7 +9,7 @@ describe('The Login Page', () => {
|
||||||
cy.get('#id_password').type(`${password}{enter}`);
|
cy.get('#id_password').type(`${password}{enter}`);
|
||||||
|
|
||||||
cy.getCookie('sessionid').should('exist');
|
cy.getCookie('sessionid').should('exist');
|
||||||
cy.get('.start-page__title').should('contain', 'skillbox')
|
cy.get('.start-page__header').should('exist')
|
||||||
});
|
});
|
||||||
// it('logs in programmatically without using the UI', () => {
|
// it('logs in programmatically without using the UI', () => {
|
||||||
// cy.visit('/accounts/login/'); // have to get a csrf token by getting the base page first
|
// cy.visit('/accounts/login/'); // have to get a csrf token by getting the base page first
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue