Skip to content

levigutt/local-ghost-inspector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 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
  • name.full
    • first name, last name
    • usually without title, prefix, and suffix

known bugs and limitations

  • no support for importing steps
    • you must include imported steps when exporting test suite
  • 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

Watchers

Forks

Releases

No releases published

Packages

No packages published