observationEmail
gitea/salix/pipeline/head There was a failure building this commit
Details
gitea/salix/pipeline/head There was a failure building this commit
Details
This commit is contained in:
parent
610f51aaf8
commit
f97d169cbf
|
@ -0,0 +1,2 @@
|
||||||
|
INSERT INTO `salix`.`ACL` (`model`, `property`, `accessType`, `permission`, `principalType`, `principalId`)
|
||||||
|
VALUES ('Defaulter', 'observationEmail', 'WRITE', 'ALLOW', 'ROLE', 'employee');
|
|
@ -989,7 +989,7 @@ export default {
|
||||||
saveButton: 'vn-worker-basic-data button[type=submit]'
|
saveButton: 'vn-worker-basic-data button[type=submit]'
|
||||||
},
|
},
|
||||||
workerNotes: {
|
workerNotes: {
|
||||||
addNoteFloatButton: 'vn-float-button',
|
addNoteFloatButton: 'a vn-float-button',
|
||||||
note: 'vn-textarea[ng-model="$ctrl.note.text"]',
|
note: 'vn-textarea[ng-model="$ctrl.note.text"]',
|
||||||
saveButton: 'button[type=submit]',
|
saveButton: 'button[type=submit]',
|
||||||
firstNoteText: 'vn-worker-note .text'
|
firstNoteText: 'vn-worker-note .text'
|
||||||
|
|
|
@ -50,7 +50,7 @@ describe('Client defaulter path', () => {
|
||||||
expect(message.text).toContain(`The message can't be empty`);
|
expect(message.text).toContain(`The message can't be empty`);
|
||||||
});
|
});
|
||||||
|
|
||||||
it('shoul checked all defaulters', async() => {
|
it('should checked all defaulters', async() => {
|
||||||
await page.loginAndModule('insurance', 'client');
|
await page.loginAndModule('insurance', 'client');
|
||||||
await page.accessToSection('client.defaulter');
|
await page.accessToSection('client.defaulter');
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@ describe('Worker Add notes path', () => {
|
||||||
beforeAll(async() => {
|
beforeAll(async() => {
|
||||||
browser = await getBrowser();
|
browser = await getBrowser();
|
||||||
page = browser.page;
|
page = browser.page;
|
||||||
await page.loginAndModule('employee', 'worker');
|
await page.loginAndModule('hr', 'worker');
|
||||||
await page.accessToSearchResult('Bruce Banner');
|
await page.accessToSearchResult('Bruce Banner');
|
||||||
await page.accessToSection('worker.card.note.index');
|
await page.accessToSection('worker.card.note.index');
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue