master -> test #1479

Merged
alexandre merged 6 commits from master-to-test into test 2023-04-25 07:05:45 +00:00
2 changed files with 5 additions and 5 deletions
Showing only changes of commit af1ad7e08c - Show all commits

View File

@ -1,6 +1,6 @@
import getBrowser from '../../helpers/puppeteer'; import getBrowser from '../../helpers/puppeteer';
describe('InvoiceIn negative bases path', () => { describe('InvoiceOut negative bases path', () => {
let browser; let browser;
let page; let page;
const httpRequests = []; const httpRequests = [];
@ -9,11 +9,11 @@ describe('InvoiceIn negative bases path', () => {
browser = await getBrowser(); browser = await getBrowser();
page = browser.page; page = browser.page;
page.on('request', req => { page.on('request', req => {
if (req.url().includes(`InvoiceIns/negativeBases`)) if (req.url().includes(`InvoiceOuts/negativeBases`))
httpRequests.push(req.url()); httpRequests.push(req.url());
}); });
await page.loginAndModule('administrative', 'invoiceIn'); await page.loginAndModule('administrative', 'invoiceOut');
await page.accessToSection('invoiceIn.negative-bases'); await page.accessToSection('invoiceOut.negative-bases');
}); });
afterAll(async() => { afterAll(async() => {

View File

@ -55,6 +55,6 @@
"acl": [ "acl": [
"administrative" "administrative"
] ]
}, }
] ]
} }