Browse Source

[test] cypress: test title corrections

Signed-off-by: Raju Udava <sivadstala@gmail.com>
pull/688/head
Raju Udava 3 years ago
parent
commit
ff4f9d5371
  1. 2
      cypress/integration/common/2a_table_with_belongs_to_colulmn.js
  2. 2
      cypress/integration/common/4a_table_view_grid_gallery_form.js
  3. 2
      cypress/integration/common/4c_form_view_detailed.js
  4. 2
      cypress/integration/common/4d_table_view_grid_locked.js
  5. 2
      cypress/integration/common/4e_form_view_share.js
  6. 2
      cypress/integration/common/4f_grid_view_share.js
  7. 4
      cypress/integration/common/6c_swagger_api.js

2
cypress/integration/common/2a_table_with_belongs_to_colulmn.js

@ -5,7 +5,7 @@ import { isTestSuiteActive } from "../../support/page_objects/projectConstants"
export const genTest = (type, xcdb) => {
if(!isTestSuiteActive(type, xcdb)) return;
describe(`${type.toUpperCase()} api - Existing table`, () => {
describe(`${type.toUpperCase()} api - Table: belongs to, link record`, () => {
// before(() => loginPage.loginAndOpenProject(type))
it('Table column header, URL validation', () => {

2
cypress/integration/common/4a_table_view_grid_gallery_form.js

@ -4,7 +4,7 @@ import { isTestSuiteActive } from "../../support/page_objects/projectConstants"
export const genTest = (type, xcdb) => {
if(!isTestSuiteActive(type, xcdb)) return;
describe(`${type.toUpperCase()} api - Table views`, () => {
describe(`${type.toUpperCase()} api - Table views: Create/Edit/Delete`, () => {
const name = 'Test' + Date.now();

2
cypress/integration/common/4c_form_view_detailed.js

@ -7,7 +7,7 @@ let formViewURL
export const genTest = (type, xcdb) => {
if(!isTestSuiteActive(type, xcdb)) return;
describe(`${type.toUpperCase()} api - Table views`, () => {
describe(`${type.toUpperCase()} api - FORM view`, () => {
const name = 'Test' + Date.now();

2
cypress/integration/common/4d_table_view_grid_locked.js

@ -5,7 +5,7 @@ import { mainPage } from "../../support/page_objects/mainPage"
export const genTest = (type, xcdb) => {
if(!isTestSuiteActive(type, xcdb)) return;
describe(`${type.toUpperCase()} api - Table views`, () => {
describe(`${type.toUpperCase()} api - Lock view`, () => {
// Run once before test- create project (rest/graphql)
//
before(() => {

2
cypress/integration/common/4e_form_view_share.js

@ -7,7 +7,7 @@ let baseURL = ''
export const genTest = (type, xcdb) => {
if(!isTestSuiteActive(type, xcdb)) return;
describe(`${type.toUpperCase()} api - Table views`, () => {
describe(`${type.toUpperCase()} api - FORM view (Share)`, () => {
const name = 'Test' + Date.now();

2
cypress/integration/common/4f_grid_view_share.js

@ -36,7 +36,7 @@ export const genTest = (type, xcdb) => {
})
}
describe(`${type.toUpperCase()} api - GRID VIEW`, () => {
describe(`${type.toUpperCase()} api - GRID view (Share)`, () => {
// Run once before test- create project (rest/graphql)
//
before(() => {

4
cypress/integration/common/6c_swagger_api.js

@ -7,12 +7,12 @@ import { isTestSuiteActive } from "../../support/page_objects/projectConstants"
export const genTest = (type, xcdb) => {
if(!isTestSuiteActive(type, xcdb)) return;
describe(`Swagger API - Test preparation`, () => {
describe(`${type.toUpperCase()} : API List - Test preparation`, () => {
before(()=> {
loginPage.loginAndOpenProject(type, false)
})
it("[REST] open project & record swagger URL, AuthToken", () => {
it("Open project & record swagger URL, AuthToken", () => {
let authToken = mainPage.getAuthToken()
cy.url().then( (url) => {
// retrieve project name from URL & use it to construct Swagger URL

Loading…
Cancel
Save