Browse Source

[chore] cypress folder re-org

Signed-off-by: Raju Udava <sivadstala@gmail.com>
pull/714/head
Raju Udava 3 years ago
parent
commit
0928bb1ef1
  1. 8
      .github/workflows/ci-cd.yml
  2. 0
      scripts/cypress.json
  3. 0
      scripts/cypress/fixtures/example.json
  4. 0
      scripts/cypress/integration/common/00_pre_configurations.js
  5. 0
      scripts/cypress/integration/common/1a_table_operations.js
  6. 0
      scripts/cypress/integration/common/1b_table_column_operations.js
  7. 0
      scripts/cypress/integration/common/1c_table_row_operations.js
  8. 0
      scripts/cypress/integration/common/2a_table_with_belongs_to_colulmn.js
  9. 0
      scripts/cypress/integration/common/2b_table_with_m2m_column.js
  10. 0
      scripts/cypress/integration/common/3a_filter_sort_fields_operations.js
  11. 0
      scripts/cypress/integration/common/3b_formula_column.js
  12. 0
      scripts/cypress/integration/common/3c_lookup_column.js
  13. 0
      scripts/cypress/integration/common/3d_rollup_column.js
  14. 0
      scripts/cypress/integration/common/4a_table_view_grid_gallery_form.js
  15. 0
      scripts/cypress/integration/common/4b_table_view_share.js
  16. 0
      scripts/cypress/integration/common/4c_form_view_detailed.js
  17. 0
      scripts/cypress/integration/common/4d_table_view_grid_locked.js
  18. 0
      scripts/cypress/integration/common/4e_form_view_share.js
  19. 0
      scripts/cypress/integration/common/4f_grid_view_share.js
  20. 0
      scripts/cypress/integration/common/5a_user_role.js
  21. 0
      scripts/cypress/integration/common/5b_preview_role.js
  22. 0
      scripts/cypress/integration/common/6a_audit.js
  23. 0
      scripts/cypress/integration/common/6c_swagger_api.js
  24. 2
      scripts/cypress/integration/common/6d_language_validation.js
  25. 0
      scripts/cypress/integration/common/6e_project_operations.js
  26. 0
      scripts/cypress/integration/test/explicitLogin.js
  27. 0
      scripts/cypress/integration/test/masterSuiteGql.js
  28. 0
      scripts/cypress/integration/test/masterSuiteRest.js
  29. 0
      scripts/cypress/plugins/index.js
  30. 0
      scripts/cypress/support/commands.js
  31. 0
      scripts/cypress/support/index.js
  32. 2
      scripts/cypress/support/page_objects/mainPage.js
  33. 0
      scripts/cypress/support/page_objects/navigation.js
  34. 0
      scripts/cypress/support/page_objects/projectConstants.js

8
.github/workflows/ci-cd.yml

@ -41,8 +41,8 @@ jobs:
npm run start:api
npm run start:web
docker-compose -f ./scripts/docker-compose-cypress.yml up -d
spec: 'cypress/integration/test/masterSuiteRest.js'
wait-on: 'http://localhost:8080, http://localhost:3000/_nuxt/runtime.js'
spec: "./scripts/cypress/integration/test/masterSuiteRest.js"
wait-on: "http://localhost:8080, http://localhost:3000/_nuxt/runtime.js"
wait-on-timeout: 1200
cypress-graphql-run:
runs-on: ubuntu-20.04
@ -75,8 +75,8 @@ jobs:
npm run start:api
npm run start:web
docker-compose -f ./scripts/docker-compose-cypress.yml up -d
spec: 'cypress/integration/test/masterSuiteGql.js'
wait-on: 'http://localhost:8080, http://localhost:3000/_nuxt/runtime.js'
spec: "./scripts/cypress/integration/test/masterSuiteGql.js"
wait-on: "http://localhost:8080, http://localhost:3000/_nuxt/runtime.js"
wait-on-timeout: 1200
docker:
runs-on: ubuntu-latest

0
cypress.json → scripts/cypress.json

0
cypress/fixtures/example.json → scripts/cypress/fixtures/example.json

0
cypress/integration/common/00_pre_configurations.js → scripts/cypress/integration/common/00_pre_configurations.js

0
cypress/integration/common/1a_table_operations.js → scripts/cypress/integration/common/1a_table_operations.js

0
cypress/integration/common/1b_table_column_operations.js → scripts/cypress/integration/common/1b_table_column_operations.js

0
cypress/integration/common/1c_table_row_operations.js → scripts/cypress/integration/common/1c_table_row_operations.js

0
cypress/integration/common/2a_table_with_belongs_to_colulmn.js → scripts/cypress/integration/common/2a_table_with_belongs_to_colulmn.js

0
cypress/integration/common/2b_table_with_m2m_column.js → scripts/cypress/integration/common/2b_table_with_m2m_column.js

0
cypress/integration/common/3a_filter_sort_fields_operations.js → scripts/cypress/integration/common/3a_filter_sort_fields_operations.js

0
cypress/integration/common/3b_formula_column.js → scripts/cypress/integration/common/3b_formula_column.js

0
cypress/integration/common/3c_lookup_column.js → scripts/cypress/integration/common/3c_lookup_column.js

0
cypress/integration/common/3d_rollup_column.js → scripts/cypress/integration/common/3d_rollup_column.js

0
cypress/integration/common/4a_table_view_grid_gallery_form.js → scripts/cypress/integration/common/4a_table_view_grid_gallery_form.js

0
cypress/integration/common/4b_table_view_share.js → scripts/cypress/integration/common/4b_table_view_share.js

0
cypress/integration/common/4c_form_view_detailed.js → scripts/cypress/integration/common/4c_form_view_detailed.js

0
cypress/integration/common/4d_table_view_grid_locked.js → scripts/cypress/integration/common/4d_table_view_grid_locked.js

0
cypress/integration/common/4e_form_view_share.js → scripts/cypress/integration/common/4e_form_view_share.js

0
cypress/integration/common/4f_grid_view_share.js → scripts/cypress/integration/common/4f_grid_view_share.js

0
cypress/integration/common/5a_user_role.js → scripts/cypress/integration/common/5a_user_role.js

0
cypress/integration/common/5b_preview_role.js → scripts/cypress/integration/common/5b_preview_role.js

0
cypress/integration/common/6a_audit.js → scripts/cypress/integration/common/6a_audit.js

0
cypress/integration/common/6c_swagger_api.js → scripts/cypress/integration/common/6c_swagger_api.js

2
cypress/integration/common/6d_language_validation.js → scripts/cypress/integration/common/6d_language_validation.js

@ -15,7 +15,7 @@ export const genTest = (type, xcdb) => {
const langVerification = (idx, lang) => {
// pick json from the file specified
it(`Language verification: ${lang} > Projects page`, () => {
let json = require(`../../../packages/nc-gui/lang/${lang}`);
let json = require(`../../../../packages/nc-gui/lang/${lang}`);
// toggle menu as per index
cy.get('.nc-menu-translate').click()

0
cypress/integration/common/6e_project_operations.js → scripts/cypress/integration/common/6e_project_operations.js

0
cypress/integration/test/explicitLogin.js → scripts/cypress/integration/test/explicitLogin.js

0
cypress/integration/test/masterSuiteGql.js → scripts/cypress/integration/test/masterSuiteGql.js

0
cypress/integration/test/masterSuiteRest.js → scripts/cypress/integration/test/masterSuiteRest.js

0
cypress/plugins/index.js → scripts/cypress/plugins/index.js

0
cypress/support/commands.js → scripts/cypress/support/commands.js

0
cypress/support/index.js → scripts/cypress/support/index.js

2
cypress/support/page_objects/mainPage.js → scripts/cypress/support/page_objects/mainPage.js

@ -61,7 +61,7 @@ export class _mainPage {
//
cy.getActiveMenu().contains(roleType).click()
cy.getActiveMenu().contains('editor').click()
cy.get('.mdi-menu-down').click()
cy.get('.mdi-menu-down').last().click()
cy.get('.nc-invite-or-save-btn').click()
// get URL, invoke

0
cypress/support/page_objects/navigation.js → scripts/cypress/support/page_objects/navigation.js

0
cypress/support/page_objects/projectConstants.js → scripts/cypress/support/page_objects/projectConstants.js

Loading…
Cancel
Save