diff --git a/cypress/e2e/control/cad.spec.js b/cypress/e2e/control/cad.spec.js index 0a8dd821..e36d95cd 100644 --- a/cypress/e2e/control/cad.spec.js +++ b/cypress/e2e/control/cad.spec.js @@ -17,7 +17,7 @@ describe('CAD control', () => { cy.get('.ol-overlaycontainer').click(500, 500, FORCE); }); - it('should not snap new points when CAD deactivated', () => { + it.only('should not snap new points when CAD deactivated', () => { cy.window().then((win) => { // Draw new point (click on map canvas container at x: 507 and y: 500) cy.get('.ol-overlaycontainer') diff --git a/package.json b/package.json index f0b96e5f..db6aed2f 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ "scripts": { "build": "shx rm -rf build && tsc --project config/tsconfig-build.json && esbuild build/index.js --bundle --global-name=ole --loader:.svg=dataurl --minify --outfile=build/bundle.js", "cy:open": "cypress open", - "cy:run": "cypress run --headless", + "cy:run": "cypress run --browser chrome", "cy:test": "start-server-and-test start http://127.0.0.1:8000 cy:run", "doc": "jsdoc -p -r -c jsdoc_conf.json src -d doc README.md && shx cp build/bundle.js index.js", "format": "prettier --write 'cypress/integration/*.js' 'src/**/*.js' && eslint 'src/**/*.js' --fix && stylelint 'style/**/*.css' 'src/**/*.css' 'src/**/*.scss' --fix",