Skip to content

Commit

Permalink
chore: test on chrome
Browse files Browse the repository at this point in the history
  • Loading branch information
oterral committed May 10, 2024
1 parent eb48ef2 commit a1608ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cypress/e2e/control/cad.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit a1608ab

Please sign in to comment.