Commit graph

8 commits

Author SHA1 Message Date
Ajith KV
794e708e6a
Updated cypress folder structure (#2909)
* Removed outdated cypress tests

* Updated cypress folder structure
2022-04-26 19:30:01 +05:30
Mohini Dahiya
b333c8949a
Cypress: Added 'createAppIfEmptyDashboard' method to before hook and fixed widget tests. (#704)
* 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.
2021-09-12 09:52:29 +05:30
Mohini Dahiya
553352767d
Cypress tests if widgets are draggable to canvas (#626)
* Cypress tests to test if widgets are draggable

1. Added tests for all widgets to test if user is able to drag and drop them to canvas.
2. Re-organised Integration test folder according to the Pages.

* Updated package-lock.json file

Updated NPM to 7.20.0 and created this file again.

* Last update- package-lock.json

31 Sep-
Steps followed:
$ rm -rf node_modules/
$ npm cache clean --force
(Revert the changes in your package-lock.json file)
step 3 -> copy and paste the file from develop branch
$ npm i
still generating 21552 lines.
2021-09-02 22:33:19 +05:30
Mohini Dahiya
df04bb98ed
[Cypress] Test to add postgres db in editor (#484)
1. Added test file- 'editor-datasource-postgres.spec.js'
2. Updated test file- 'editor-navigation-bar.spec.js' for latest changes in UI.
3. Updated commands.js file for common function to create postgres DB.
2021-08-13 13:59:50 +05:30
Mohini Dahiya
3052ad41e7
Cypress tests for Editor (#439)
* Cypress tests for Editor

1. Test Navigation Bar elements

* Updated ManageAppUsers.jsx

Removed space from Share text

* update clipboardy package location

moved dependency from root to frontend package.json file

* restored root package.json file

removed clipboardy dependencies.
2021-08-03 10:34:48 +05:30
Mohini Dahiya
cc4f97ca88
Cypress tests for operations on apps dashboard (#414)
* Cypress tests for possible operations on apps dashboard

Issue- #399

1. Created 'login-data.json' file for test data.
2. Added fixtures to all tests.
3. Added new test file - 'apps-page-operations.spec.js'
4. Added code to handle 'uncaught:exception' in file - 'index.js'

* Removed empty tests

Removed empty tests.
Removed extra line breaks.
2021-07-26 22:47:13 +05:30
Mohini Dahiya
b806e878c7
Cypress tests for empty dashboard state (#409)
Modified dashboard.spec.js
Added test file empty-state-dashboard.spec.js
2021-07-20 08:24:14 +05:30
Prasad Walvekar
cff1ff85bc
[Tests] Add cypress tests for login page (#291) 2021-06-22 23:22:37 +05:30