refactor: make ARNES external-repo based with ticket publish flow
This commit is contained in:
@@ -1,58 +1,12 @@
|
||||
# Features BDD
|
||||
# BDD feature files
|
||||
|
||||
Este directorio contiene los archivos `.feature` organizados por dominio.
|
||||
Put Gherkin `.feature` files here.
|
||||
|
||||
## Estructura
|
||||
Example:
|
||||
- `spec/bdd/features/checkout/purchase.feature`
|
||||
- `spec/bdd/features/common/error-handling.feature`
|
||||
|
||||
```
|
||||
features/
|
||||
├── auth/
|
||||
│ ├── login.feature
|
||||
│ └── registration.feature
|
||||
├── dashboard/
|
||||
│ └── dashboard.feature
|
||||
├── common/
|
||||
│ ├── navigation.feature
|
||||
│ └── error-handling.feature
|
||||
└── README.md
|
||||
```
|
||||
|
||||
## Tags comunes
|
||||
|
||||
Usar estos tags en todos los features:
|
||||
|
||||
| Tag | Descripción |
|
||||
|-----|-------------|
|
||||
| `@F-XXX` | Link a feature ID del backlog |
|
||||
| `@smoke` | Test crítico |
|
||||
| `@regression` | Regresión |
|
||||
|
||||
## Example
|
||||
|
||||
```gherkin
|
||||
@F-001 @auth @smoke
|
||||
Feature: Inicio de sesión
|
||||
|
||||
Como usuario registrado
|
||||
Quiero iniciar sesión con mis credenciales
|
||||
Para acceder a mi cuenta personal
|
||||
|
||||
@positive
|
||||
Scenario: Login exitoso con credenciales válidas
|
||||
Given un usuario con email "user@example.com" y password "Password123"
|
||||
And el usuario no tiene sesión activa
|
||||
When el usuario ingresa email "user@example.com"
|
||||
And ingresa password "Password123"
|
||||
And presiona el botón "Iniciar sesión"
|
||||
Then el sistema redirige al dashboard
|
||||
And muestra mensaje de bienvenida
|
||||
|
||||
@negative
|
||||
Scenario: Login fallido con password incorrecto
|
||||
Given un usuario con email "user@example.com" y password "Password123"
|
||||
When el usuario ingresa email "user@example.com"
|
||||
And ingresa password "WrongPassword"
|
||||
And presiona el botón "Iniciar sesión"
|
||||
Then el sistema muestra mensaje de error "Credenciales inválidas"
|
||||
And permanece en la página de login
|
||||
```
|
||||
Use tags like:
|
||||
- `@F-001`
|
||||
- `@smoke`
|
||||
- `@regression`
|
||||
|
||||
Reference in New Issue
Block a user