Skip to content

Instantly share code, notes, and snippets.

View iltempo's full-sized avatar
🌈
Occasionally writing some code

Alexander Greim iltempo

🌈
Occasionally writing some code
View GitHub Profile
public class TestMessages extends ActivityTest {
@Test
public void writeMessageToContact() throws Exception{
onView(withId(userFieldId)).perform(typeText("test_user@domain.com"), closeSoftKeyboard());
onView(withId(is(passwordFieldId))).perform(scrollTo()).check(matches(isDisplayed())).perform(typeText("mySecretPassword"), closeSoftKeyboard());
onView(withId(is(loginButtonId))).perform(scrollTo(), click());

Keybase proof

I hereby claim:

  • I am iltempo on github.
  • I am iltempo (https://keybase.io/iltempo) on keybase.
  • I have a public key whose fingerprint is AD64 FFDF 4983 CE13 F9F4 8EC0 447B 4556 0531 38E8

To claim this, I am signing this object:

notify_deploy_environments = %w(staging production integration)
notify_deploy_roles = %w(solo app_master)
if notify_deploy_environments.include?(environment) && notify_deploy_roles.include?(current_role)
run "cd #{current_path} && bundle exec rake airbrake:deploy TO=#{environment} REVISION=#{revision} USER=`whoami` REPO=#{repo}"
end
# Method converting hash of attributes to url string
def to_url_params(params)
params.each do |key, value|
"#{CGI::escape(key.to_s)}=#{CGI::escape(value.to_s)}"
end.join('&')
end