Open samuel-duhaime opened 4 months ago
Screenshots can be configured from the playwright.config.ts file like this:
defineConfig({
...
use: {
// Base URL to use in actions like `await page.goto('/')`.
baseURL: 'http://localhost:8080',
// Collect trace when retrying the failed test.
trace: 'on-first-retry',
screenshot: 'only-on-failure'
},
...
})
Issue
Description
The goal is to incorporate UI testing directly into Evolution to streamline the testing process for every survey. We should use the code from MJ as a starting point.
Justification
Automating UI testing reduces manual efforts required to verify changes made to surveys, ensuring efficient testing and reliable outcomes.
Todo