Requested changes
gitea/salix/pipeline/head This commit has test failures Details

This commit is contained in:
Joan Sanchez 2020-05-14 17:15:54 +02:00
parent e51341102b
commit 2bb17f4a00
2 changed files with 2 additions and 3 deletions

View File

@ -1,7 +1,7 @@
import selectors from '../../helpers/selectors.js';
import getBrowser from '../../helpers/puppeteer';
fdescribe('Claim action path', () => {
describe('Claim action path', () => {
let browser;
let page;
@ -66,7 +66,6 @@ fdescribe('Claim action path', () => {
});
it('should check the "is paid with mana" checkbox', async() => {
// page.waitFor(3000); // can't use waitForNavigation here and needs more time than a single second to get the section ready...
await page.waitToClick(selectors.claimAction.isPaidWithManaCheckbox);
const message = await page.waitForSnackbar();

View File

@ -104,7 +104,7 @@ module.exports = Self => {
// Get sales person from claim client
const salesPerson = claim.client().salesPerson();
if (salesPerson) {
if (salesPerson && claim.hasToPickUp) {
const origin = ctx.req.headers.origin;
const message = $t('Claim will be picked', {
claimId: claim.id,