Fixed a couple of tests

main
Boris Sekachev 5 years ago
parent df76d21d51
commit 91162ecaab

@ -201,8 +201,8 @@ export default class LabelForm extends React.Component<Props> {
<Tooltip title='Specify a default value' mouseLeaveDelay={0}>
<Form.Item name={[key, 'values']} fieldKey={[fieldInstance.fieldKey, 'values']} initialValue={value}>
<Select className='cvat-attribute-values-input'>
<Select.Option value='false'> False </Select.Option>
<Select.Option value='true'> True </Select.Option>
<Select.Option value='false'>False</Select.Option>
<Select.Option value='true'>True</Select.Option>
</Select>
</Form.Item>
</Tooltip>

@ -15,3 +15,11 @@ before(() => {
});
}
});
const resizeObserverLoopErrRe = /^ResizeObserver loop limit exceeded/;
Cypress.on('uncaught:exception', (err) => {
if (resizeObserverLoopErrRe.test(err.message)) {
// the exception is generated by cypress in some browsers
return false;
}
});

Loading…
Cancel
Save