Projeto base de exemplo utilizando Capybara + Site_prism + Cucumber + Rspec
📦capybara-google-search
┣ 📂tests
┃ ┣ 📂features
┃ ┃ ┣ 📂pages
┃ ┃ ┃ ┣ 📜google_results_page.rb
┃ ┃ ┃ ┗ 📜google_search_page.rb
┃ ┃ ┣ 📂specs
┃ ┃ ┃ ┗ 📜pesquisando_google.feature
┃ ┃ ┣ 📂step_definitions
┃ ┃ ┃ ┗ 📜pesquisando_google.rb
┃ ┃ ┗ 📂support
┃ ┃ ┃ ┣ 📜env.rb
┃ ┃ ┃ ┗ 📜hooks.rb
┃ ┣ 📂reports
┃ ┃ ┗ 📜relatorio.html
┃ ┣ 📜.DS_Store
┃ ┣ 📜Gemfile
┃ ┣ 📜Gemfile.lock
┃ ┗ 📜cucumber.yml
┣ 📜.gitignore
┗ 📜README.md
Windows: Ruby Installer Unix Based: "Ruby for Unix Based"
gem install bundler
bundle install
Para MacOS: brew cask install chromedriver Para Windows: Consultar aqui
bundle exec cucumber
Consultar o arquivo .html
criado dentro da pasta reports