HelloWorld-PC / django-cypress

Out-of-the-box end-to-end testing for Django
https://django-cypress.helloworldpc.com
MIT License
13 stars 1 forks source link

`cy.login()` command #80

Open Stavrospanakakis opened 11 months ago

Stavrospanakakis commented 11 months ago

Description

Description

Description

The next custom command of django-cypress should be cy.login(). This command should authenticate the user to Django project.

Example

cy.login({"username": "django-user", "password": "12345678"});

Syntax

cy.login(userAttributes);

The implementation should contain tests, documentation, and an example scenario in the example directory.