
Security News
Bun 1.2.19 Adds Isolated Installs for Better Monorepo Support
Bun 1.2.19 introduces isolated installs for smoother monorepo workflows, along with performance boosts, new tooling, and key compatibility fixes.
@applitools/testgenai-cypress
Advanced tools
Applitools TestGenAI enables both technical and non-technical team members to expand test coverage effectively. This inclusivity allows non-technical participants to engage in test automation, helping to distribute the workload more efficiently across the
Applitools TestGenAI enables both technical and non-technical team members to expand test coverage effectively. This inclusivity allows non-technical participants to engage in test automation, helping to distribute the workload more efficiently across the team.
Advantages of TestGenAI:
If you have any questions, please visit our documentation or contact us at support@applitools.com
npm install @applitools/testgenai-cypress
You can automatically configure the TestGenAI plugin by running:
npx @applitools/testgenai-cypress init
If you prefer manual setup or encountered issues with automatic configuration:
cypress/support/e2e.js
:import '@applitools/testgenai-cypress/commands'
cypress.config.js
:const { testGenAICypressTasksSetup } = require("@applitools/testgenai-cypress/tasks");
module.exports = defineConfig({
e2e: {
setupNodeEvents(on, config) {
testGenAICypressTasksSetup(on)
},
},
});
testgenai
folder inside your cypress directorytestgenai
, create two folders: autoheal
and POMs
./cypress/testgenai/autoheal
and ./cypress/testgenai/POMs
Configure the TestGenAI plugin through the env.applitoolsTestGenAI
object in your cypress.config.js
. Here's an example combining various options:
module.exports = defineConfig({
env: {
applitoolsTestGenAI: {
// Basic configuration
isEnabled: true,
autohealDataFolders: ['cypress/testgenai/autoheal'],
// Network settings
waitForNetworkCalls: {
isEnabled: true,
idle: 3000,
timeout: 30000
},
// Element timing settings
getElementTimeout: 30000,
ifExistsTimeout: 5000,
// Debug settings
debug: {
fileLogEnabled: true,
recordTestRun: false
}
}
},
});
All configuration options are optional and will use their default values if not specified.
Option | Default | Description |
---|---|---|
isEnabled | true | Disable/enable the Preflight Cypress plugin |
generateFixedTests | true | Generate auto-healed tests |
allowObscuredElements | true | Allow obscured elements |
forceActions | false | Forces interactions with elements even when they're covered by other elements or not fully visible. |
Option | Default | Description |
---|---|---|
waitForNetworkCalls.isEnabled | true | Wait for network calls to finish before continuing test |
waitForNetworkCalls.idle | 2000ms | Wait for network calls to be idle before continuing |
waitForNetworkCalls.timeout | 60000ms | Maximum wait time for network calls to finish |
Option | Default | Description |
---|---|---|
getElementTimeout | 60000ms | Maximum time to wait for an element to appear |
ifExistsTimeout | 3000ms | Maximum time to wait for an element to exist |
waitToDisappear.searchElementTimeout | 10000ms | Maximum time to wait for an element to appear before waiting for it to disappear |
waitToDisappear.timeout | 90000ms | Maximum time to wait for an element to disappear |
Option | Default | Description |
---|---|---|
autohealDataFolders | [] | A list of directory paths to the autoheal folder |
selectorGeneratorOptions.excludedAttributeTypes | [] | List of selector attributes to exclude in self-healing |
selectorGeneratorOptions.excludedAttributeValueKeywords | [] | List of selector attributes containing keywords to exclude in self-healing |
selectorGeneratorOptions.includedAttributeTypes | [] | List of selector attributes to prefer in self-healing |
Option | Default | Description |
---|---|---|
debug.fileLogEnabled | false | Enable debug logging and generate a log file in the debug folder |
debug.recordTestRun | false | Enable debug recording of test execution and generate a zip file in the debug folder |
FAQs
Applitools TestGenAI enables both technical and non-technical team members to expand test coverage effectively. This inclusivity allows non-technical participants to engage in test automation, helping to distribute the workload more efficiently across the
We found that @applitools/testgenai-cypress demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 47 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Bun 1.2.19 introduces isolated installs for smoother monorepo workflows, along with performance boosts, new tooling, and key compatibility fixes.
Security News
Popular npm packages like eslint-config-prettier were compromised after a phishing attack stole a maintainer’s token, spreading malicious updates.
Security News
/Research
A phishing attack targeted developers using a typosquatted npm domain (npnjs.com) to steal credentials via fake login pages - watch out for similar scams.