Skip to content
This repository has been archived by the owner on Apr 25, 2023. It is now read-only.

add basic recording functionality #224

Merged
merged 19 commits into from
Jun 26, 2017
Merged

add basic recording functionality #224

merged 19 commits into from
Jun 26, 2017

Conversation

jlipps
Copy link
Member

@jlipps jlipps commented Jun 23, 2017

Added action recorder and code generator

@jlipps jlipps requested a review from dpgraham June 23, 2017 21:23
Copy link
Contributor

@dpgraham dpgraham left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Just a few comments.

<Tooltip title="Pause Recording">
<Button icon="pause" onClick={pauseRecording}/>
</Tooltip>
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a way to reset the recording?

return async (dispatch) => {
return async (dispatch, getState) => {
let isRecording = params.methodName !== 'quit' &&
params.methodName !== 'source' &&
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The methodName is never set to source. The source method is called every time.

If we were to add source as a client method call, though, I think we'd want to record it.

@@ -0,0 +1,93 @@
export default class Framework {

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we put client-frameworks and highlighting directories into a utils or helpers directory?

<Button icon="delete" onClick={clearRecording} size="small" />
</Tooltip>
}
{!isRecording &&
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These three instances of !!recorderActions.length && can be replaced with one and you can either wrap the three components in a div or make them an array. Not a big deal if left as is though.

@jlipps
Copy link
Member Author

jlipps commented Jun 26, 2017

ok @dpgraham all comments addressed and ruby/python frameworks added

@jlipps jlipps merged commit b811989 into appium:master Jun 26, 2017
@jlipps jlipps deleted the recorder branch June 26, 2017 20:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants