feat: the team no longer gets alert e-mails; the Kanban user form drops the option
All checks were successful
Build and deploy / Validate source (push) Successful in 47s
Build and deploy / Integration suite on a real stack (push) Successful in 3m38s
Build and deploy / Secret scan and release gate (push) Successful in 9s
Build and deploy / Publish images (push) Successful in 1m20s

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Cauê Faleiros
2026-10-20 09:37:41 -03:00
parent 14a43f2ada
commit c8857a5bf5
11 changed files with 43 additions and 114 deletions

View File

@@ -265,11 +265,11 @@ with db.connect() as c:
admin = Client()
textil = admin.call('/operator/machines', {'name': 'Têxtil 1', 'products': ['textil']}, operator=True)['id']
admin.call('/operator/machines', {'name': 'UV 1', 'products': ['uv']}, operator=True)
for name, email, role, machines, alerts in (
('Ana Souza', 'ana@dropstar.test', 'admin', [], True), ('Diego Ramos', 'diego@dropstar.test', 'gestao', [], True),
('Bruno Souza', 'bruno@dropstar.test', 'operador', [textil], False), ('Carla Dias', 'carla@dropstar.test', 'vendedor', [], False)):
for name, email, role, machines in (
('Ana Souza', 'ana@dropstar.test', 'admin', []), ('Diego Ramos', 'diego@dropstar.test', 'gestao', []),
('Bruno Souza', 'bruno@dropstar.test', 'operador', [textil]), ('Carla Dias', 'carla@dropstar.test', 'vendedor', [])):
admin.call('/operator/users', {'name': name, 'email': email, 'role': role, 'password': 'senha-de-exemplo-123',
'machines': machines, 'alerts': alerts}, operator=True)
'machines': machines}, operator=True)
# Pedro's account (Camisetas Ipê): it brings his orders, one in correction, for Minha conta.
from tests.smoke_test import register