Skip to content

Instantly share code, notes, and snippets.

View tk-421's full-sized avatar

Alex F tk-421

  • Amazon
  • San Francisco
View GitHub Profile
@tk-421
tk-421 / test-plan-sample.md
Last active January 18, 2023 00:52
Test Plan Sample

Application/Feature Test Plan

This document is meant for sample purposes only. QA leads may adjust content to their needs.

Application Description/Feature Description

A brief description here of either the overall application test plan or the test plan for the new feature under development.

Feature Name Jira Ticket Product Spec Design Spec
Feature 1 Name TICKT-1234 product_spec_link_1 design_spec_link_1
Feature 2 Name TICKT-1224 product_spec_link_2 design_spec_link_2
@tk-421
tk-421 / triforce.py
Created April 26, 2017 23:44
Recursive Triforce
import turtle
def create_screen(color):
window = turtle.Screen()
window.bgcolor(color)
return window
def create_turtle_object(name, shape, color, speed):
name = turtle.Turtle()
name.shape(shape)

Keybase proof

I hereby claim:

  • I am tk-421 on github.
  • I am bebop_ (https://keybase.io/bebop_) on keybase.
  • I have a public key ASBHArVJ6aFj4HUbb8kjAxudAybvXrbz3ZGO8TBip3NMdAo

To claim this, I am signing this object:

@tk-421
tk-421 / gist:a63e6e4f00692ad342c9
Created September 29, 2015 20:29
Appium error cannot tap element.
info: [debug] Pushing command to appium work queue: "au.getElementByIndexPath('/0/0/2/0')"
info: [debug] Sending command to instruments: au.getElementByIndexPath('/0/0/2/0')
info: [debug] [INST] 2015-09-29 18:41:17 +0000 Debug: Got new command 12 from instruments: au.getElementByIndexPath('/0/0/2/0')
info: [debug] [INST] 2015-09-29 18:41:17 +0000 Debug: evaluating au.getElementByIndexPath('/0/0/2/0')
info: [debug] [INST] 2015-09-29 18:41:17 +0000 Debug: evaluation finished
info: [debug] [INST] 2015-09-29 18:41:17 +0000 Debug: Lookup returned [object UIACollectionCell] with the name "item_name_goes_here" (id: 3).
info: [debug] [INST] 2015-09-29 18:41:17 +0000 Debug: responding with:
info: [debug] [INST] 2015-09-29 18:41:17 +0000 Debug: Running system command #13: /Applications/Appium.app/Contents/Resources/node/bin/node /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-uiauto/bin/command-proxy-client.js /tmp/instruments_sock 2,{"status":0,"value":{"ELEMENT":"3"}}...
info: [deb
#problem is to move through a 2-d array and find the unqiue islands
#where islands = 1 and ocean = 0
#island arrays
m = [
[0,0,0,0]
[0,0,0,0]
[0,0,0,1]
[1,0,0,1]
]