Devices module.
Devices selected from playwright list of mobile devices available for browser emulation
Helpers module. Provides methods to be used across the project.
Class Helpers.
Takes .png screenshot of full page of pageobject.page
instance and saves it
to process.cwd() + screenshots
directory.
Filename is concat of expected test status, browser type, test title and Date.now()
.
mochaInstance
object instance of the mocha test runner, i.e.this
pageobject
object instance of the pageobject class, i.e.Homepage
expectedTestStatus
stringpassed
orfailed
browser
string type of browser we are testing, i.e. 'chromium', 'webkit', 'firefox'
Localized data for different culture versions of Page Objects of the tested website.
Localization for Homepage Page Object
Localization for Services Page Object
localization for JobOfferDetail PageObject Contains localizations for 'clones' of the same page, e.g. /senior-test-engineer, /test-engineer, etc. Those are same pages, just with different data
Type: Array