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.create()` command #79

Open Stavrospanakakis opened 11 months ago

Stavrospanakakis commented 11 months ago

Description

Description

The next custom command of django-cypress should be cy.create(). This command should create a new Django Model.

Example

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

Syntax

cy.create(ModelName, model_attributes);

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