21 lines
1.4 KiB
JavaScript
21 lines
1.4 KiB
JavaScript
describe('Client Edit basicData path', () => {
|
|
describe('as employee', () => {
|
|
it('should not be able to change the salesPerson', async() => {
|
|
it('should edit the client basic data but leave salesPerson untainted', async() => {
|
|
it('should confirm the name have been edited', async() => {
|
|
it('should confirm the contact name have been edited', async() => {
|
|
it('should confirm the business type have been edited', async() => {
|
|
it('should confirm the email have been edited', async() => {
|
|
it('should confirm the channel have been selected', async() => {
|
|
it('should confirm the previous client have been selected', async() => {
|
|
describe('as salesAssistant', () => {
|
|
it('should navigate to a client basic data', async() => {
|
|
it('should be able to change the salesPerson', async() => {
|
|
it('should edit the client basic data including salesPerson', async() => {
|
|
it('should now confirm the name have been edited', async() => {
|
|
it('should now confirm the contact name have been edited', async() => {
|
|
it('should now confirm the email have been edited', async() => {
|
|
it('should now confirm the phone have been edited', async() => {
|
|
it('should now confirm the mobile have been edited', async() => {
|
|
it('should confirm the sales person have been selected', async() => {
|
|
it('should now confirm the channel have been selected', async() => { |