{"id":50297253,"url":"https://github.com/mapbender/mapbender-tests","last_synced_at":"2026-05-28T09:35:15.628Z","repository":{"id":280790624,"uuid":"919975477","full_name":"mapbender/mapbender-tests","owner":"mapbender","description":"Cypress tests","archived":false,"fork":false,"pushed_at":"2026-04-27T13:36:03.000Z","size":349,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2026-04-27T15:27:40.405Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mapbender.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-01-21T10:50:05.000Z","updated_at":"2025-03-11T16:21:25.000Z","dependencies_parsed_at":"2025-03-05T10:36:16.386Z","dependency_job_id":"af87fb77-9271-4b42-ae5a-b8e8e9eb32b1","html_url":"https://github.com/mapbender/mapbender-tests","commit_stats":null,"previous_names":["mapbender/mapbender-tests"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/mapbender/mapbender-tests","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mapbender%2Fmapbender-tests","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mapbender%2Fmapbender-tests/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mapbender%2Fmapbender-tests/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mapbender%2Fmapbender-tests/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mapbender","download_url":"https://codeload.github.com/mapbender/mapbender-tests/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mapbender%2Fmapbender-tests/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33603475,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-28T02:00:06.440Z","response_time":99,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-05-28T09:35:13.410Z","updated_at":"2026-05-28T09:35:15.607Z","avatar_url":"https://github.com/mapbender.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mapbender-testing\n\n## Cypress for Mapbender\n\n### Configuration\n\nThe following parameters must be entered in `cypress.config.js`.\n\n- title : 'Mapbender Demo Cypress',\n- slug : 'Mapbender_Demo_CYPRESS',\n- user: 'root',\n- password: 'root',\n- mainUrl: 'http://localhost/mapbender4/',\n\nExplanation:  \ntitle: Application name for the test  \nslug: Part of the url for the test application  \nuser: for login  \npassword: for login  \nmainUrl: which application is to be tested  \n\nTo be able to read the parameters, they must be added in json format under env -\u003e application.  \nExample:\n```\n    env : {\n      application : {\n        title : 'Mapbender Demo Cypress',\n        slug : 'Mapbender_Demo_CYPRESS',\n        user: 'username',\n        password: 'password',\n        mainUrl: 'http://localhost/mapbender/',\n        layer : {\n            1 : 'Themen'\n        },\n      },\n    }\n```\n\nHere is an example of a complete cypress.config.js  \n```\nconst { defineConfig } = require(\"cypress\");\n\nmodule.exports = defineConfig({\n\n  e2e: {\n    baseUrl: 'http://localhost',\n    experimentalRunAllSpecs: true,\n    env : {\n      application : {\n        title : 'Mapbender Demo Cypress',\n        slug : 'Mapbender_Demo_CYPRESS',\n        user: 'username',\n        password: 'password',\n        mainUrl: 'http://localhost/mapbender/',\n        layer : {\n            1 : 'Themen'\n        },\n      },\n    },\n  },\n});\n```\nThe other parameters are Cypress specific and can be found here:\nhttps://docs.cypress.io/app/references/configuration\n\nIt is possible that the tests must be language-dependent. To do this, it must be ensured that the mapbender is started in the corresponding language:  \n\nCustomise the `paramters.yaml` for this.\n```\nparameters:  \n    \\# locale en, de, es, fr, it, nl, pt, ru, tr, uk are available  \n    fallback_locale: de  \n    locale: de  \n    \\# uncomment this if you don't want the language to automatically adapt to the browser language  \n    mapbender.automatic_locale: false  \n```\n\n### Installation Cypress\n\nNode.js and npm:  \nMake sure Node.js and the package manager npm (or alternatively yarn or pnpm) are installed on your system.  \nIf not, you can install them via the package management system:\n\n**Ubuntu/Debian**  \n```\nsudo apt update\nsudo apt install nodejs npm\n```\n\n**Install Cypress in a Directory of your Choice**\n\n```\nnpm install cypress --save-dev\n```\nYou can also use yarn or pnpm:\n```\n# yarn\nyarn add cypress --dev\n\n# pnpm\npnpm add --save-dev cypress\n```\n\n**Open Cypress**\n\nTo open cypress, execute this command on the bash in the folder where cypress is located:\n````\nuser:/example/to/cypress/tests/for/mapbender/$ npx cypress open\n````\nThen select E2E Testing in the window that opens\n\nFor more information please visit the official cypress documentation.  \n\n### Official documentation\n\nThe official documentation can be found here: [docs.cypress.io](https://docs.cypress.io/).  ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmapbender%2Fmapbender-tests","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmapbender%2Fmapbender-tests","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmapbender%2Fmapbender-tests/lists"}