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

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

@maciekish

Description

@maciekish

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions