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.createUser()` command #67

Closed Stavrospanakakis closed 12 months ago

Stavrospanakakis commented 1 year ago

Description

The next custom command of django-cypress should be cy.createUser(). This command should:

// Default User model
cy.createUser(username: "django-user", password: "12345678");

// Custom User Model
cy.createUser(email "user@mail.com", password: "12345678");

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