Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

local ghost inspector

run-test.pl testsuite.json
  • output is in TAP format

implementation status

commands

  • open
  • click
  • mouseOver
  • assign
  • keypress
  • screenshot
  • eval
  • exit
  • goBack
  • refresh
  • assertElementPresent
  • assertElementNotPresent
  • assertElementVisible
  • assertElementNotVisible
  • assertText
  • assertNotText
  • assertTextPresent
  • assertTextNotPresent
  • assertAccessibility
  • assertEval
  • pause
  • store
  • extract
  • extractEval

not to be implemented

  • dragAndDrop (unclear what this even is supposed to do)
  • execute (this executes a test by ID)

built-in variables

  • timestamp
  • alphanumeric
  • name.firstName
  • name.lastName
  • name.prefix
  • name.suffix
  • name.title
  • company.companyName
  • address.streetAddress
  • address.city
  • address.state
  • address.stateAbbr
  • address.zipCode
  • address.countryCode
  • phone.phoneNumber
  • phone.phoneNumberFormat
  • image.avatar
  • internet.email
  • internet.password
  • internet.ip
  • internet.color
  • date.month
  • date.weekday
  • date.past
  • date.future
  • commerce.productName
  • commerce.price
  • lorem.text
  • random.number
  • random.uuid

extra built-in variables

  • date.recent
    • within the past week
  • date.soon
    • within the next week

known bugs and limitations

  • no support for importing steps
    • you must include imported steps when exporting test suite
  • currently does not traverse deeper than 1 iframe
  • many test settings are ignored
    • schedule: tests run immediately regardless of schedule
    • browser: all tests run in Firefox
  • window resizing is attempted, but this is unreliable
  • screenshot comparison is not planned

About

run ghost inspector test suites locally

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages