{"id":19056745,"url":"https://github.com/geonode/geonode-selenium","last_synced_at":"2025-07-28T19:40:09.748Z","repository":{"id":66466166,"uuid":"170328444","full_name":"GeoNode/geonode-selenium","owner":"GeoNode","description":"End to end tests with Selenium","archived":false,"fork":false,"pushed_at":"2020-06-10T20:51:16.000Z","size":822,"stargazers_count":0,"open_issues_count":0,"forks_count":4,"subscribers_count":29,"default_branch":"master","last_synced_at":"2025-01-02T11:43:40.670Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GeoNode.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2019-02-12T14:05:25.000Z","updated_at":"2020-06-10T20:51:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"19f28c4c-f5b3-434b-81b6-5181612c0986","html_url":"https://github.com/GeoNode/geonode-selenium","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GeoNode%2Fgeonode-selenium","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GeoNode%2Fgeonode-selenium/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GeoNode%2Fgeonode-selenium/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GeoNode%2Fgeonode-selenium/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GeoNode","download_url":"https://codeload.github.com/GeoNode/geonode-selenium/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240112936,"owners_count":19749713,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":"2024-11-08T23:51:16.121Z","updated_at":"2025-02-22T01:28:02.859Z","avatar_url":"https://github.com/GeoNode.png","language":"Python","readme":"# geonode-selenium\n\nTesting [GeoNode](http://geonode.org/) with [Selenium](https://www.seleniumhq.org/).\n\n# Requirements\n\nMandatory:\n - [Python 3](https://www.python.org/)\n - A browser supported by a [Selenium WebDriver](https://www.seleniumhq.org/projects/webdriver/) (Firefox is used by default)\n\nOptional:\n - [Docker](https://www.docker.com/) (required by `test-docker.sh`)\n - [GeoNode sourcecode](https://github.com/GeoNode/geonode) (required by `test-docker.sh`)\n - [fades](https://github.com/PyAr/fades) (to automatically manage virtualenvs)\n\n# Setup\n\n## Dependencies\n\nIf using virtualenv:\n\n```bash\n$ python3 -m venv venv\n$ source venv/bin/activate\n$ pip install -r requirements.txt\n```\n\nIf using fades:\n\n```bash\n$ pip3 install --user fades\n```\n\n## Selenium WebDriver (Gecko)\n\n```bash\n$ tag=v0.24.0\n$ wget https://github.com/mozilla/geckodriver/releases/download/$tag/geckodriver-$tag-linux64.tar.gz -O- |\n      tar zx -C $HOME/bin\n```\n\nOther releases are available from: https://github.com/mozilla/geckodriver/releases/latest\n\n## Data\n\n```bash\n$ wget https://download.osgeo.org/geotiff/samples/made_up/ntf_nord.tif -P data\n```\n\n# Usage\n\nIf GeoNode is running:\n\n```bash\n$ ./test.sh\n```\n\nIf GeoNode is not running (warning: it could delete existing Docker volumes created by SPCgeonode):\n```bash\n$ git clone https://github.com/GeoNode/geonode.git\n$ ./test-docker.sh\n```\n\nSet `GEONODE_REPOSITORY` to specify a different path.\n\n## Find the commit that introduced a bug\n\n```bash\n$ git checkout -b new-test\n$ # write a new test or extend an existing one\n$ cd geonode/\n$ export GEONODE_REPOSITORY=$(pwd)\n$ git bisect start\n$ git bisect bad\n$ git bisect good $COMMIT\n$ git bisect run ../test-docker.sh\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeonode%2Fgeonode-selenium","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgeonode%2Fgeonode-selenium","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeonode%2Fgeonode-selenium/lists"}