Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

To Test Cypress - Do not merge #1887

Closed
wants to merge 9 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@
"@fortawesome/free-brands-svg-icons": "^6.4.2",
"@fortawesome/free-solid-svg-icons": "^5.11.2",
"@fortawesome/vue-fontawesome": "^0.1.8",
"@processmaker/screen-builder": "2.99.3",
"@processmaker/vue-form-elements": "0.60.0",
"@processmaker/screen-builder": "2.99.4",
"@processmaker/vue-form-elements": "0.60.1",
"@processmaker/vue-multiselect": "2.3.0",
"bootstrap": "^4.3.1",
"bootstrap-vue": "^2.0.4",
Expand Down
1 change: 1 addition & 0 deletions tests/e2e/specs/SequenceFlows.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ describe('Sequence Flows', { scrollBehavior: false }, () => {
});

it('Retains target anchor point after parsing and moving shape', () => {
cy.wait(3000);
const startEventPosition = { x: 210, y: 200 };
const taskPosition = { x: 350, y: 300 };
clickAndDropElement(nodeTypes.task, taskPosition);
Expand Down
3 changes: 2 additions & 1 deletion tests/e2e/support/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { saveDebounce } from '../../../src/components/inspectors/inspectorConsta
import path from 'path';
import { boundaryEventSelector, nodeTypes, taskSelector } from './constants';

const renderTime = 300;
const renderTime = 5000;

export function getTinyMceEditor() {
return cy
Expand Down Expand Up @@ -465,6 +465,7 @@ export function selectComponentType(component, type) {

export function clickAndDropElement(node, position) {
cy.window().its('store.state.paper').then(paper => {

const { tx, ty } = paper.translate();

cy.get('.main-paper').then($paperContainer => {
Expand Down
Loading