refs #6184 saveCmr #1788
|
@ -6,9 +6,10 @@
|
||||||
*/
|
*/
|
||||||
SET foreign_key_checks = 0;
|
SET foreign_key_checks = 0;
|
||||||
|
|
||||||
-- CREATE ROLE 'salix';
|
DROP ROLE 'salix';
|
||||||
-- GRANT 'salix' TO 'root'@'%';
|
CREATE ROLE 'salix';
|
||||||
-- SET DEFAULT ROLE 'salix' FOR 'root'@'%';
|
GRANT 'salix' TO 'root'@'%';
|
||||||
|
SET DEFAULT ROLE 'salix' FOR 'root'@'%';
|
||||||
|
|
||||||
CREATE SCHEMA IF NOT EXISTS `vn2008`;
|
CREATE SCHEMA IF NOT EXISTS `vn2008`;
|
||||||
CREATE SCHEMA IF NOT EXISTS `tmp`;
|
CREATE SCHEMA IF NOT EXISTS `tmp`;
|
||||||
|
|
|
@ -27,6 +27,6 @@ describe('Ticket expeditions and log path', () => {
|
||||||
const result = await page
|
const result = await page
|
||||||
.countElement(selectors.ticketExpedition.expeditionRow);
|
.countElement(selectors.ticketExpedition.expeditionRow);
|
||||||
|
|
||||||
expect(result).toEqual(4);
|
expect(result).toEqual(6);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
|
@ -41,10 +41,10 @@ describe('Supplier basic data path', () => {
|
||||||
expect(result).toEqual('Plants Nick SL');
|
expect(result).toEqual('Plants Nick SL');
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should check the isSerious checkbox is now unchecked', async() => {
|
it('should check the isSerious checkbox is now checked', async() => {
|
||||||
const result = await page.checkboxState(selectors.supplierBasicData.isSerious);
|
const result = await page.checkboxState(selectors.supplierBasicData.isSerious);
|
||||||
|
|
||||||
expect(result).toBe('unchecked');
|
expect(result).toBe('checked');
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should check the isActive checkbox is now unchecked', async() => {
|
it('should check the isActive checkbox is now unchecked', async() => {
|
||||||
|
|
Loading…
Reference in New Issue