@wopee-io/wopee.wdio
v5.2.2
Published
WebdriverIO visual testing plugin by Wopee.io — catch visual regressions with AI-powered autonomous test maintenance
Readme
Wopee.io Visual Testing for WebdriverIO
Catch visual regressions in your WebdriverIO tests with AI-powered autonomous test maintenance by Wopee.io.
Installation
npm install @wopee-io/wopee.wdioQuick Start
Add the Wopee service to your WebdriverIO config:
// wdio.conf.js
export const config = {
services: [
[
'@wopee-io/wopee.wdio',
{
apiUrl: 'https://api.wopee.io',
apiKey: process.env.WOPEE_API_KEY,
projectUuid: process.env.WOPEE_PROJECT_UUID,
},
],
],
};Take visual snapshots in your tests:
describe('Visual Testing', () => {
it('should match the homepage', async () => {
await browser.url('https://example.com');
await browser.wopeeTrack('homepage');
});
});Documentation
- Configuration -- full setup guide and configuration options
- Commands -- available WebdriverIO commands
- Mobile Native -- mobile app testing support
