mirror of
https://github.com/ToolJet/ToolJet
synced 2026-04-27 16:37:42 +00:00
* Added 'createAppIfEmptyDashboard' method to before hook
1. Added 'createAppIfEmptyDashboard()' method to before hook.
2. Fixed Widget tests.
3. Added ///<reference types="cypress" /> to index.js
* Test fix for Toggle switch
Capitalised first letters 'Toggle Switch' to search for exact text
* Fixes 'apps-page-operations' tests
1. Updated test for Launch button when no version is deployed.
2. Added test for Launch button when single version of App is deployed.
3. Added test to check message on app deletion.
4. Added custom method for Deploy App with single version.
* Moved import command to support/index.js file
1. Moved "import '@4tw/cypress-drag-drop'" statement to support/index.js file .
2. Updated viewport config "cypress.json" to override default viewport for my device macbook-pro
* Updated 'editor-navigation-bar.spec.js' tests
1. Removes test for hiding left sidebar.
2. Fixes test - resize canvas
3. Fixes test - switch to dark theme
* Revert "Updated 'editor-navigation-bar.spec.js' tests"
This reverts commit 70143c3020.
26 lines
No EOL
881 B
JavaScript
26 lines
No EOL
881 B
JavaScript
// ***********************************************************
|
|
// This example support/index.js is processed and
|
|
// loaded automatically before your test files.
|
|
//
|
|
// This is a great place to put global configuration and
|
|
// behavior that modifies Cypress.
|
|
//
|
|
// You can change the location of this file or turn off
|
|
// automatically serving support files with the
|
|
// 'supportFile' configuration option.
|
|
//
|
|
// You can read more here:
|
|
// https://on.cypress.io/configuration
|
|
// ***********************************************************
|
|
|
|
// Import commands.js using ES2015 syntax:
|
|
import './commands'
|
|
import '@4tw/cypress-drag-drop'
|
|
///<reference types="cypress" />
|
|
// Alternatively you can use CommonJS syntax:
|
|
// require('./commands')
|
|
Cypress.on('uncaught:exception', (err, runnable) => {
|
|
// returning false here prevents Cypress from
|
|
// failing the test
|
|
return false
|
|
}) |