{"id":16120434,"url":"https://github.com/diemol/frontend_testing","last_synced_at":"2025-03-18T10:31:50.934Z","repository":{"id":115148294,"uuid":"56847378","full_name":"diemol/frontend_testing","owner":"diemol","description":"Repository containing sample code used in a Frontend Testing workshop","archived":false,"fork":false,"pushed_at":"2018-03-20T09:03:07.000Z","size":305,"stargazers_count":14,"open_issues_count":0,"forks_count":7,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-16T16:44:56.602Z","etag":null,"topics":["fluentlenium","frontend-testing-workshop","frontend-tests","java","javascript","selenium","selenium-webdriver","webdriverio","zalenium"],"latest_commit_sha":null,"homepage":"","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/diemol.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}},"created_at":"2016-04-22T10:24:18.000Z","updated_at":"2021-01-24T11:05:35.000Z","dependencies_parsed_at":"2023-05-14T19:15:19.757Z","dependency_job_id":null,"html_url":"https://github.com/diemol/frontend_testing","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/diemol%2Ffrontend_testing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diemol%2Ffrontend_testing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diemol%2Ffrontend_testing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diemol%2Ffrontend_testing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/diemol","download_url":"https://codeload.github.com/diemol/frontend_testing/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243925468,"owners_count":20369906,"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":["fluentlenium","frontend-testing-workshop","frontend-tests","java","javascript","selenium","selenium-webdriver","webdriverio","zalenium"],"created_at":"2024-10-09T20:58:23.860Z","updated_at":"2025-03-18T10:31:50.928Z","avatar_url":"https://github.com/diemol.png","language":"JavaScript","readme":"# Frontend Testing Workshop - Code Examples\n\n[![Build Status](https://travis-ci.org/diemol/frontend_testing.svg?branch=master)](https://travis-ci.org/diemol/frontend_testing)\n\nThis repository contains different examples that are used during a basic Frontend Testing workshop.\n\nThe examples are provided in Java with TestNG+Fluentlenium and JavaScript with WebDriverIO+Mocha+Chai.\n\n## The code is structured as follows:\n* [first-test](https://github.com/diemol/frontend_testing/tree/master/first-test)\n\n    A page is opened, the page title is retrieved, and finally an assertion of a expected value is done.\n* [add-item-to-shopping-cart](https://github.com/diemol/frontend_testing/tree/master/add-item-to-shopping-cart)\n\n    This is an example where a guest searches for a brand and puts an item in the shopping cart.\n* [running-in-parallel](https://github.com/diemol/frontend_testing/tree/master/running-in-parallel)\n\n    After having tests working, a natural step is to try to execute all of them in less time. Some simple examples where a page is loaded are executed in parallel.\n* [page-objects](https://github.com/diemol/frontend_testing/tree/master/page-objects)\n\n    A final round up of the hotel booking example but now using the Page Object model/pattern, which is know as one of the best practices when doing Frontend Testing.\n\n\n## General Setup to run the examples\n\n### Java\n_Only if you want to run the Java examples_\n* [Install Maven](https://maven.apache.org/install.html)\n* Or Install Maven with [Homebrew](http://brew.sh/)\n\n    ```sh\n    brew install maven\n    ```\n\n### JavaScript\n_Only if you want to run the JavaScript examples_\n* Install [Node.js](https://nodejs.org/en/)\n* Or Install Node.js with [Homebrew](http://brew.sh/)\n\n    ```sh\n    brew install node\n    ```\n\n### Docker\n[Zalenium](https://github.com/zalando/zalenium) is used to run most of the examples.\nThis means:\n* You need to have [docker](https://www.docker.com/) installed, version \u003e= 1.11.1. Here are the instructions for \nmost of the supported [platforms](https://www.docker.com/products/docker).\n* After installing docker, just run this command to start Zalenium:\n\n  ```sh\n  curl -sSL https://raw.githubusercontent.com/dosel/t/i/p | bash -s start\n  ```\n  \n  This will check for the latest images and ask for missing dependencies.\n  \n  To stop Zalenium when you are done testing, you can.\n\n  ```sh\n  curl -sSL https://raw.githubusercontent.com/dosel/t/i/p | bash -s stop\n  ```\n\n* After getting the message `Zalenium in docker started!`, head to [http://localhost:4444/grid/console](http://localhost:4444/grid/console).\n\n* If you want to see the browsers while the test is running, you can access the container with VNC through \n[http://localhost:4444/grid/admin/live](http://localhost:4444/grid/admin/live). \n\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiemol%2Ffrontend_testing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdiemol%2Ffrontend_testing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiemol%2Ffrontend_testing/lists"}