Closed
Bug 947120
Opened 11 years ago
Closed 11 years ago
[marionette-helper] Handle the switchToFrame things.
Categories
(Testing Graveyard :: JSMarionette, defect)
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: evanxd, Unassigned)
Details
(Whiteboard: [mentor=evanxd@mozilla.com][good first bug])
Hi all,
We should have the "goToFrame" function in marionette-helper to switch different frame more easily.
If we have the goto function, we could go to calendar app from email with
`goToFrame(EMAIL_APP_URL)`
instead of
```
// We're in the calendar app now.
client.switchToFrame();
client.apps.launch(EMAIL_APP_URL);
client.apps.switchToApp(EMAIL_APP_URL);
```
It is more clear and easier.
Reporter | ||
Updated•11 years ago
|
Assignee: nobody → gchen
Comment 1•11 years ago
|
||
Hey Evan,
I think `goToAPP(EMAIL_APP_URL)` is more clearly for user to switch 'APP'.
Maybe we can have `goToFrame(FRAME_ID)` for switching real frames which are in same app.
Make sense?
Reporter | ||
Comment 2•11 years ago
|
||
For `goToFrame(FRAME_ID)` things, we already have switchToFrame() to handle this.
See it in http://mozilla-b2g.github.io/marionette-js-client/api-docs/files/lib_marionette_client.js.html#l826.
Reporter | ||
Comment 3•11 years ago
|
||
Hi Gary,
Cool, `goToAPP(EMAIL_APP_URL)` is better.
Updated•11 years ago
|
Whiteboard: [mentor=evanxd@mozilla.com] → [mentor=evanxd@mozilla.com][good first bug]
Comment 4•11 years ago
|
||
Sorry, I am busy on other project, so un-assignee first.
Assignee: gchen → nobody
Reporter | ||
Updated•11 years ago
|
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → INVALID
Updated•7 years ago
|
Product: Testing → Testing Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•