Questions tagged [ruby]

Ruby is a dynamic, reflective, object-oriented, general-purpose programming language.

9 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
0answers
1k views

Headless Chrome with Docker Compose

I'm currently trying to setup headless chrome testing with Capybara in my docker-compose file. However, I keep getting that chromedriver has failed to start because it had crashed. Selenium::...
3
votes
0answers
926 views

How to use multiple wait conditions in Selenium Webdriver using ruby?

I wanted to know, how I can use following waits in program at which situations? 1. driver.manage.timeouts.implicit_wait = 20 2. driver.manage.timeouts.script_timeout = 20 3. driver.manage.timeouts....
1
vote
2answers
46 views

Check that an element does not exist *after* a button is clicked

With ruby, I'm doing some cucumber tests with capybara to test a Shiny application (shiny is a R package to do web applications). But I'm a newbie with ruby and cucumber (and this is my first post ...
1
vote
0answers
15 views

Header isnt being sent when using faraday gem ruby

I am doing an Api automation in Ruby and I am using the Gem Faraday to automate a file upload in my API. I have the follow problem: My Header is not being sent. I just tried all the options and is ...
1
vote
0answers
85 views

(Ruby) How can I invoke multiples Selenium Webdriver just in one browser POM

I'm newbie on ruby language... Currently I am using POM (page objects model) with Selenium webdriver. This is my throuble: As I'm using selenium with POM, I have 3 classes (register.br, login.br and ...
1
vote
0answers
161 views

Cucumber/Selenium WebDriver Ruby not popping a browser during remote session (TeamViewer)

This is a bit of a mystery. I'm running a remote desktop session using TeamViewer in an OSx system (which behaves like an ordinary console in every way that I can detect). From the command line, I'...
1
vote
0answers
414 views

Can't find button and click

Got a button that changes state when clicked on. But, I cannot "find the button, even when in it's default state.: Source code: <div class="alert alert-warning" ng-hide="show_cd_only"> <...
0
votes
0answers
21 views

My mock test for Github client contains messy stubbing and it feels like I'm testing implementation details

I wrote a GithubClient class which is basically a wrapper for Ruby's Octokit library. It contains one public method aside from the constructor, called push, which basically creates commit in the ...
0
votes
0answers
54 views

How can I integrate database validation (queries, updates) in Ruby, Cucumber, Watir project in RubyMine

I have setup a project in RubyMine using Ruby with Cucumber, RSPEC, and Watir for UI automation of feature files. (I also have page objects implemented). In my step_definitions where the actual UI ...