Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
1.1 kB
1
Indexable
services: [['chromedriver'],
  ['image-comparison', {
    baselineFolder: join(process.cwd(), './tests/screenshots/baseline/'),
    formatImageName: '{tag}-{logName}-{width}x{height}',
    screenshotPath: join(process.cwd(), './tests/screenshots/'),
    savePerInstance: true,
    autoSaveBaseline: true,
    blockOutStatusBar: true,
    blockOutToolBar: true,
    clearRuntimeFolder: true,
    debug: false,
    // Optional
    comparisonTolerance: 0.01,
    dumpIO: false,
    ignoreAntialiasing: true,
    // Optional, defaults to the value set in the WDIO config file
    isHybridApp: false,
    // Optional
    tabbableOptions: {
      circle: {
        size: 18,
        fontSize: 18,
        background: 'rgba(255,255,255,0.5)',
        borderRadius: 50,
        lineHeight: 1,
      },
      line: {
        size: 3,
        color: '#ff221a',
      },
      shadow: {
        color: 'rgba(255, 0, 0, 0.6)',
        size: 5,
        offsetX: 0,
        offsetY: 0,
      },
    },
    // Optional, defaults to 1024
    screenWidth: 1366,
  }]],