Comments (8)
Thanks @kirantpatil, I've reverted the last commit, and pushed it to master.
Codex:cucumber-watir rbulling$ git revert HEAD
[master 3ce1e4e] Revert "added support for appium to test ios & android native apps"
7 files changed, 2 insertions(+), 58 deletions(-)
delete mode 100644 features/reactnative.feature
delete mode 100644 features/step_definitions/appium_steps.rb
delete mode 100644 features/support/appium.rb
delete mode 100644 features/support/appium.txt
Codex:cucumber-watir rbulling$ git push
Counting objects: 8, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (8/8), done.
Writing objects: 100% (8/8), 816 bytes | 0 bytes/s, done.
Total 8 (delta 5), reused 0 (delta 0)
To [email protected]:ModusCreateOrg/cucumber-watir.git
34fb49b..30b6dd1 master -> master
Codex:cucumber-watir rbulling$ rake
/Users/rbulling/.rvm/rubies/ruby-2.1.1/bin/ruby -S bundle exec cucumber features/*.feature --format html --out=results/all-report-2016-03-18-16-18-13.html --format pretty --no-source --format rerun --out results/all-rerun.txt --tag @regression
Using the default profile...
Feature: Main tests
In order to make sure that the web page is working
As a normal user
I want to check out the home page in a variety of aspect ratios
@smoke @regression @desktop
Scenario: Visit the home page
Given I am on the desktop home page
URL = http://moduscreate.com/
Then I must see the page title "Modus Create - HTML5 Application Development & Training"
Given I click the "Services" span
@regression @mobile
Scenario: Visit the home page on a mobile device
Given I am on the desktop home page
URL = http://moduscreate.com/
Then I must see the page title "Modus Create - HTML5 Application Development & Training"
Given I click the "icon-reorder" icon
And I wait for the menu to be displayed
2 scenarios (2 passed)
7 steps (7 passed)
0m21.126s
If you pull the latest changes to master, you should find that the suite is working as expected again.
from cucumber-watir.
Kiran,
the movies.app is part of the react native example repository and will not
work on Linux. You will need to run this on a Mac. Howeveryou can write acceptance tests against a browser application on any OS. Also make sure bundle install has run successfully before you run any tests. It looks like the minitest gem was not installed.
Thanks
bk
from cucumber-watir.
I have installed minitest.
Ruby version:
$ ruby -v
ruby 2.2.3p173 (2015-08-18 revision 51636) [x86_64-linux]
$ gem list minitest
*** LOCAL GEMS ***
minitest (5.8.4, 5.8.1, 5.7.0, 5.4.3, 5.3.3)
read() failed: Connection reset by peer
from cucumber-watir.
Why is it invoking app folder when I am using serach feature as below ?
Feature: Search
In order to make sure that the search feature is working
As a user I will search for a search term and expect to see valid results
@desktop
Scenario: search for modus create
Given I am on the duckduckgo home page
Then I must see the page title "DuckDuckGo"
Given I fill in the text field "q" with "Modus Create"
And I click the "S" button
Then I must see the page title "Modus Create at DuckDuckGo"
and
urls.rb file changed as below
def path_to(page_name)
if ENV["BASE_URL"]
base_url = ENV["BASE_URL"]
else
base_url = BASE_URL[TARGET]
end
case page_name
when /the desktop home page/i
base_url
when /the duckduckgo home page/i
base_url="http://duckduckgo.com"
else
raise "Can't find mapping from "#{page_name}" to a url.\n" +
"Please add a mapping in #{FILE}"
end
end
from cucumber-watir.
The warning is gone after placing the require 'minitest/autorun' statement above line 4 of env.rb.
The app error is gone after removing your last commit files which are,
features/reactnative.feature
features/step_definitions/appium_steps.rb
features/support/appium.rb
features/support/appium.txt
from cucumber-watir.
Please fix the issue which is caused by the last commit 34fb49b
from cucumber-watir.
The Appium changes are now in the appium
branch, this bug will stay open until we can fix that branch.
@andrewowen perhaps you can take a look at the appium
branch and triage what needs to be fixed here?
from cucumber-watir.
I'm going to close this as wontfix for now, as this repo is really focused more on web testing than appium.
from cucumber-watir.
Related Issues (5)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cucumber-watir.