Skip to content
This repository has been archived by the owner on Feb 1, 2018. It is now read-only.

--family ipad has no effect on which script is ran #94

Open
maciekish opened this issue Mar 4, 2015 · 0 comments
Open

--family ipad has no effect on which script is ran #94

maciekish opened this issue Mar 4, 2015 · 0 comments

Comments

@maciekish
Copy link

Hi,
I'm trying to launch bwoken with this command

bwoken test --device "iPad 2 (8.1 Simulator)" --skip-build --focus pizza_search --family ipad

But it insists on using pizza_search.js from the iphone folder instead of the ipad folder. If i rename the ipad script to pizza_search_ipad.js and modify the command line accordingly it quits with an error about not finding the script.

Expected output:

ipad    pizza_search.js
Start:  Searching for pizza from clear state by hitting return/search on keyboard
Debug:  tap navigationBar.searchBars[0]

Actual output:

iphone  pizza_search.js
Start:  Searching for pizza from clear state by hitting return/search on keyboard
Debug:  tap navigationBar.searchBars[0]

If i don't specify --focus it runs all tests in the iphone folder

Directory structure:

integration
└── javascript
    ├── includes
    │   ├── header.js
    │   ├── mechanic.js
    │   └── tuneup_js
    │       └── tuneup.js
    ├── ipad
    │   └── pizza_search.js
    ├── iphone
    │   ├── @onboarding.js
    │   ├── detail_view.js
    │   ├── direct_hit_search.js
    │   ├── pizza_search.js
    │   ├── toolbar.js
    │   └── webview.js
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant