salix-front/test/cypress/integration/client/12_lock_of_verified_data.sp...

22 lines
1.5 KiB
JavaScript

describe('Client lock verified data path', () => {
describe('as salesPerson', () => {
it('should confirm verified data button is disabled for salesPerson', async() => {
it('should edit the social name', async() => {
it('should confirm the social name have been edited', async() => {
describe('as administrative', () => {
it('should confirm verified data button is enabled for administrative', async() => {
it('should check the Verified data checkbox', async() => {
it('should confirm Verified data checkbox is checked', async() => {
it('should again edit the social name', async() => {
it('should again confirm the social name have been edited', async() => {
describe('as salesPerson second run', () => {
it('should confirm verified data button is disabled once again for salesPerson', async() => {
it('should not be able to save change throwing a verified data error', async() => {
describe('as salesAssistant', () => {
it('should log in as salesAssistant then get to the client fiscal data', async() => {
it('should confirm verified data button is enabled for salesAssistant', async() => {
it('should now edit the social name', async() => {
it('should now confirm the social name have been edited once and for all', async() => {
describe('as salesPerson third run', () => {
it('should confirm verified data button is enabled once again', async() => {
it('should confirm the form is enabled for salesPerson', async() => {