{"id":21029852,"url":"https://github.com/kitconcept/robotframework-webpack","last_synced_at":"2025-10-24T20:07:52.522Z","repository":{"id":48670234,"uuid":"63153912","full_name":"kitconcept/robotframework-webpack","owner":"kitconcept","description":"A Robot Framework library for Webpack","archived":false,"fork":false,"pushed_at":"2021-07-14T23:50:34.000Z","size":443,"stargazers_count":5,"open_issues_count":8,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-11T12:11:34.785Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://kitconcept.com","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/kitconcept.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGES.rst","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-07-12T11:53:36.000Z","updated_at":"2021-05-09T18:25:17.000Z","dependencies_parsed_at":"2022-09-07T18:01:22.544Z","dependency_job_id":null,"html_url":"https://github.com/kitconcept/robotframework-webpack","commit_stats":null,"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kitconcept%2Frobotframework-webpack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kitconcept%2Frobotframework-webpack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kitconcept%2Frobotframework-webpack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kitconcept%2Frobotframework-webpack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kitconcept","download_url":"https://codeload.github.com/kitconcept/robotframework-webpack/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254330799,"owners_count":22053050,"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-19T12:14:32.133Z","updated_at":"2025-10-24T20:07:47.460Z","avatar_url":"https://github.com/kitconcept.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"==============================================================================\nA Robot Framework library for Webpack.\n==============================================================================\n\n.. image:: https://travis-ci.org/kitconcept/robotframework-webpack.svg?branch=master\n    :target: https://travis-ci.org/kitconcept/robotframework-webpack\n\n.. image:: https://img.shields.io/pypi/status/robotframework-webpack.svg\n    :target: https://pypi.python.org/pypi/robotframework-webpack/\n    :alt: Egg Status\n\n.. image:: https://img.shields.io/pypi/v/robotframework-webpack.svg\n    :target: https://pypi.python.org/pypi/robotframework-webpack/\n    :alt: Latest Version\n\n.. image:: https://img.shields.io/pypi/l/robotframework-webpack.svg\n    :target: https://pypi.python.org/pypi/robotframework-webpack/\n    :alt: License\n\n|\n\n.. image:: https://raw.githubusercontent.com/kitconcept/robotframework-djangolibrary/master/kitconcept.png\n   :alt: kitconcept\n   :target: https://kitconcept.com/\n\n\nIntroduction\n------------\n\nWebpackLibrary is a Robot Framework library for Webpack. It allows to start\nand stop the Webpack dev server.\n\nInstallation\n------------\n\nInstall robotframework-webpack with pip::\n\n  $ pip install robotframework-webpack\n\n\nDocumentation\n-------------\n\nhttps://kitconcept.github.io/robotframework-webpack/\n\nUsage\n-----\n\nIn order to write your first robot test, make sure that you include Selenium2Library and WebpackLibrary. Create a test.robot file with the following content::\n\n  *** Variables ***\n  ${HOST}                 127.0.0.1\n  ${PORT}                 8080\n  ${BROWSER}              chrome\n  ${SERVER}               http://${HOST}:${PORT}\n\n\n  *** Settings ***\n\n  Documentation   WebpackLibrary Acceptance Tests\n  Library         Selenium2Library  timeout=10  implicit_wait=0\n  Library         WebpackLibrary\n  Suite Setup     Start Webpack and Open Browser\n  Suite Teardown  Stop Webpack and Close Browser\n\n\n  *** Test Cases ***\n\n  Scenario: Webpack Dev Server\n    Go To  ${SERVER}\n    # Amend this line to check for the real content of your app. Otherwise this test will fail.\n    Wait until page contains  Hello World\n    Page Should Contain  Hello World\n\n\n  *** Keywords ***\n\n  Start Webpack and Open Browser\n    Start Webpack  yarn start\n    Open Browser  ${SERVER}  ${BROWSER}\n    Set Window Size  1280  1024\n\n  Stop Webpack and Close Browser\n    Stop Webpack\n    Close Browser\n\n\nKeywords\n--------\n\nStart Webpack: Starts the webpack process. The keyword take the command line command to start Webpack (e.g. 'yarn start').\n\n  Start Webpack  yarn start\n\nOptional parameters are:\n\n  - path: relative or absolute path to the path where the command should be executed.\n  - check: string that the keyword looks for in the Webpack output to know that Webpack has been fully started (default is 'Compiled successfully').\n  - debug: returns debug information\n\nExample with all parameters set::\n\n  Start Webpack  yarn start\n  ..  path=tests/test-create-react-app\n  ..  check=Compiled successfully\n  ..  debug=True\n\nStop Webpack: Stopps the webpack process that has been started with 'Start Webpack'.\nThe keyword has no parameters.\n\nRationale\n---------\n\nYou can start a Webpack process with standard Robot Framework keywords::\n\n  Run process  yarn run build  shell=True  cwd=${CURDIR}\n  Run process  yarn global add serve  shell=True  cwd=${CURDIR}\n  Start process  serve -s build  shell=True  cwd=${CURDIR}\n\nYou can even kill the process at the end of the test (suite)::\n\n  Terminate All Processes  kill=True\n\nThough. You will need to set a sleep statement to wait until the Webpack\nprocess is fully up and running. Since this can take a considerable amount\nof time it will make your test suite inefficient and hard to scale.\n\nRobot Framework Webpack checks the output of the Webpack process until it\nis fully up and running. As soon as Webpack is ready, the test can continue.\n\n\nDevelopment\n-----------\n\nProject Setup::\n\n  $ virtualenv-2.7 .py27\n  $ source .py27/bin/activate\n  $ pip install -r requirements.txt\n  $ python setup.py develop\n\nRun Tests::\n\n  $ .py27/bin/pybot tests\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkitconcept%2Frobotframework-webpack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkitconcept%2Frobotframework-webpack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkitconcept%2Frobotframework-webpack/lists"}