From 11c88ba4d3237bdb5dfcede251bb8a94014c9381 Mon Sep 17 00:00:00 2001 From: veerendra thakur Date: Tue, 26 Sep 2023 15:52:03 +0530 Subject: [PATCH 1/3] Added cypress test case for cypress-signatures API Signed-off-by: veerendra thakur --- tests/functional/cypress.config.ts | 2 +- .../cypress/appConfig/config.dev.ts | 13 +- tests/functional/cypress/e2e/signatures.cy.ts | 707 ++++++++++++++++++ .../signatures/getCompanySignatures.json | 294 ++++++++ .../getProjectCompanySignatures.json | 297 ++++++++ .../signatures/getProjectSignatures.json | 297 ++++++++ .../signatures/invalidateICLA_mock.json | 59 ++ .../listClaGroupCorporateContributors.json | 81 ++ .../signatures/listClaGroupIclaSignature.json | 85 +++ 9 files changed, 1832 insertions(+), 3 deletions(-) create mode 100644 tests/functional/cypress/e2e/signatures.cy.ts create mode 100644 tests/functional/cypress/fixtures/signatures/getCompanySignatures.json create mode 100644 tests/functional/cypress/fixtures/signatures/getProjectCompanySignatures.json create mode 100644 tests/functional/cypress/fixtures/signatures/getProjectSignatures.json create mode 100644 tests/functional/cypress/fixtures/signatures/invalidateICLA_mock.json create mode 100644 tests/functional/cypress/fixtures/signatures/listClaGroupCorporateContributors.json create mode 100644 tests/functional/cypress/fixtures/signatures/listClaGroupIclaSignature.json diff --git a/tests/functional/cypress.config.ts b/tests/functional/cypress.config.ts index 06e510d9b..38e231b9f 100644 --- a/tests/functional/cypress.config.ts +++ b/tests/functional/cypress.config.ts @@ -2,7 +2,7 @@ import { defineConfig } from 'cypress' export default defineConfig({ defaultCommandTimeout: 20000, - requestTimeout: 90000, + requestTimeout: 200000, "reporter": "cypress-mochawesome-reporter", e2e: { // baseUrl: 'http://localhost:1234', diff --git a/tests/functional/cypress/appConfig/config.dev.ts b/tests/functional/cypress/appConfig/config.dev.ts index 354652aa9..c9fff5333 100644 --- a/tests/functional/cypress/appConfig/config.dev.ts +++ b/tests/functional/cypress/appConfig/config.dev.ts @@ -17,7 +17,8 @@ export const appConfig = { user_id2: "4a4c1dba-407f-11ed-8c58-a6b0f8fb81a9",//vthakur+lfitstaff@contractor.linuxfoundation.org /*events*/ - companyID:"f7c7ac9c-4dbf-4104-ab3f-6b38a26d82dc", + companyID:"f7c7ac9c-4dbf-4104-ab3f-6b38a26d82dc",//infosys limited + companyExternalID:'0014100000Te0G7AAJ',// childProjectSFID:'a09P000000DsNH2IAN', //project name: easyAutom-child2 /*github-organizations*/ @@ -30,7 +31,7 @@ export const appConfig = { /*cla-manager*/ userIdclaManager:'c5ac2857-c263-11ed-94d1-d2349de32229',//veerendrat - claGroupId_projectSFID:'01af041c-fa69-4052-a23c-fb8c1d3bef24', + claGroupId_projectSFID:'01af041c-fa69-4052-a23c-fb8c1d3bef24',//sun project claGroupID /* project */ projectName:'easyAutom-child2', @@ -39,4 +40,12 @@ export const appConfig = { gitLabOrganizationName:'sunGitlabGroup', gitLabOrganizationFullPath:'https://gitlab.com/cla_dev_automationgroup', groupId:'72539854', + + /* Signature */ + lfid:'veerendrat', + emailApprovalList:'veerendrat@proximabiz.com', + gitOrgApprovalList:'proximabiz.com', + gitUsernameApprovalList:'vrthakur', + gitLabOrgApprovalList:'https://gitlab.com/veerendrat1', + domainApprovalList:'proximabiz.com', }; \ No newline at end of file diff --git a/tests/functional/cypress/e2e/signatures.cy.ts b/tests/functional/cypress/e2e/signatures.cy.ts new file mode 100644 index 000000000..7a6f4fc36 --- /dev/null +++ b/tests/functional/cypress/e2e/signatures.cy.ts @@ -0,0 +1,707 @@ +import {validateApiResponse,validate_200_Status,getTokenKey} from '../support/commands' +//import {appConfig} from '../support/config.${Cypress.env("CYPRESS_ENV")}' +describe("To Validate & get list of signatures of ClaGroups via API call", function () { + + // Define a variable for the environment + const environment = Cypress.env("CYPRESS_ENV"); + + // Import the appropriate configuration based on the environment + let appConfig; + if (environment === 'dev') { + appConfig = require('../appConfig/config.dev.ts').appConfig; + } else if (environment === 'production') { + appConfig = require('../appConfig/config.production.ts').appConfig; + } + + //Reference api doc: https://api-gw.dev.platform.linuxfoundation.org/cla-service/v4/api-docs#tag/signatures + const claEndpoint = `${Cypress.env("APP_URL")}cla-service/v4`; + const claGroupID=appConfig.claGroupId_projectSFID; //Sun + const lfid=appConfig.lfid; + const companyID=appConfig.companyID;//Infosys Limited + const companyName=appConfig.companyName;//Infosys Limited + const projectSFID=appConfig.projectSFID;//sun + const userID=appConfig.userIdclaManager;//veerendrat + + //Aprroval list veriable + const emailApprovalList=appConfig.emailApprovalList; + const gitOrgApprovalList=appConfig.gitOrgApprovalList; + const gitUsernameApprovalList=appConfig.gitUsernameApprovalList; + const gitLabOrgApprovalList=appConfig.gitLabOrgApprovalList; + const domainApprovalList=appConfig.domainApprovalList; + + let signatureIclaID=""; + let signatureCclaID=""; + let signatureID=""; + let signatureApproved=true; + let bearerToken: string = null; + + before(() => { + if(bearerToken==null){ + getTokenKey(bearerToken); + cy.window().then((win) => { + bearerToken = win.localStorage.getItem('bearerToken'); + }); + } + }); + + +it("Returns a list of corporate contributor for the CLA Group", function () { + cy.request({ + method: 'GET', + url: `${claEndpoint}/cla-group/${claGroupID}/corporate-contributors?companyID=${companyID}`, + auth: { + 'bearer': bearerToken, + }, + timeout: 60000, + }).then((response) => { + validate_200_Status(response); + let list=response.body.list; + for(let i=0;i<=list.length-1;i++){ + if(list[i].linux_foundation_id===lfid){ + if (list[i].signatureApproved === true) { + expect(list[i].signatureApproved).to.be.true; + signatureApproved=true; + } else if (list[i].signatureApproved === false) { + expect(list[i].signatureApproved).to.be.false; + signatureApproved=false; + } + signatureCclaID=list[i].signatureID; + break; + } + } + validateApiResponse("signatures/listClaGroupCorporateContributors.json",response) + }); + }); + +it("Returns the signature when provided the signature ID, ecla records", function () { + cy.request({ + method: 'GET', + url: `${claEndpoint}/signatures/id/${signatureCclaID}`, + auth: { + 'bearer': bearerToken, + }, + }).then((response) => { + validate_200_Status(response); + let list=response.body; + expect(list.signatureApproved).to.eql(signatureApproved); + expect(list.signatureType).to.eql('ecla') + }); + }); + +it("Returns a list of individual signatures for a CLA Group", function () { + cy.request({ + method: 'GET', + url: `${claEndpoint}/cla-group/${claGroupID}/icla/signatures`, + auth: { + 'bearer': bearerToken, + }, + timeout: 60000, + }).then((response) => { + validate_200_Status(response); + validateApiResponse("signatures/listClaGroupIclaSignature.json",response) + }); + }); + +it("Returns a list of individual signatures for a CLA Group with searchTerm", function () { + cy.request({ + method: 'GET', + url: `${claEndpoint}/cla-group/${claGroupID}/icla/signatures?approved=true&signed=true&sortOrder=asc`, + auth: { + 'bearer': bearerToken, + }, + timeout: 60000, + }).then((response) => { + validate_200_Status(response); + let list=response.body.list; + for(let i=0;i<=list.length-1;i++){ + expect(list[i].signatureApproved).to.eql(true); + expect(list[i].signatureSigned).to.eql(true); + signatureIclaID=list[i].signature_id; + } + }); + }); + +it("Returns the signature when provided the signature ID, icla records", function () { + cy.request({ + method: 'GET', + url: `${claEndpoint}/signatures/id/${signatureIclaID}`, + auth: { + 'bearer': bearerToken, + }, + }).then((response) => { + validate_200_Status(response); + let list=response.body; + expect(list.signatureApproved).to.eql(true); + expect(list.claType).to.eql('icla') + }); + }); + +it("Returns a list of company signatures when provided the company ID", function () { + cy.request({ + method: 'GET', + url: `${claEndpoint}/signatures/company/${companyID}?signatureType=ccla`, + auth: { + 'bearer': bearerToken, + }, + timeout: 60000, + }).then((response) => { + validate_200_Status(response); + let signatures=response.body.signatures; + for(let i=0;i<=signatures.length-1;i++){ + expect(signatures[i].companyName).to.eql(companyName); + } + validateApiResponse("signatures/getCompanySignatures.json",response) + }); + }); + +it("Returns a list of project signature models when provided the project ID", function () { + cy.request({ + method: 'GET', + url: `${claEndpoint}/signatures/project/${claGroupID}?pageSize=10`, + auth: { + 'bearer': bearerToken, + }, + timeout: 60000, + }).then((response) => { + validate_200_Status(response); + validateApiResponse("signatures/getProjectSignatures.json",response) + }); + }); + +it("Downloads the corporate CLA information as a CSV document for this project", function () { + cy.request({ + method: 'GET', + url: `${claEndpoint}/signatures/project/${claGroupID}/ccla/csv`, + auth: { + 'bearer': bearerToken, + }, + timeout: 60000, + }).then((response) => { + validate_200_Status(response); + }); + }); + +it.skip("Downloads all the corporate CLAs for this project, as pdf", function () { + cy.request({ + method: 'GET', + url: `${claEndpoint}/signatures/project/${claGroupID}/ccla/pdfs`, + auth: { + 'bearer': bearerToken, + }, + timeout: 60000, + }).then((response) => { + validate_200_Status(response); + }); + }); + +it.skip("Downloads the corporate CLA for this project, as pdf", function () { + cy.request({ + method: 'GET', + url: `${claEndpoint}/signatures/project/${claGroupID}/ccla/${signatureCclaID}/pdf`, + auth: { + 'bearer': bearerToken, + }, + timeout: 60000, + }).then((response) => { + validate_200_Status(response); + }); + }); + +it.skip("Downloads all employee CLA information as a CSV document for this project", function () { + cy.request({ + method: 'GET', + url: `${claEndpoint}/signatures/project/${claGroupID}/company/${companyID}/employee/csv`, + auth: { + 'bearer': bearerToken, + }, + }).then((response) => { + validate_200_Status(response); + }); + }); + +it("Downloads all ICLA information as a CSV document for this project", function () { + cy.request({ + method: 'GET', + url: `${claEndpoint}/signatures/project/${claGroupID}/icla/csv`, + auth: { + 'bearer': bearerToken, + }, + }).then((response) => { + validate_200_Status(response); + }); + }); + +it.skip("Downloads all ICLAs for this project", function () { + cy.request({ + method: 'GET', + url: `${claEndpoint}/signatures/project/${claGroupID}/icla/pdfs`, + auth: { + 'bearer': bearerToken, + }, + }).then((response) => { + validate_200_Status(response); + }); + }); + +it.skip("Downloads the user's ICLA for this project", function () { + cy.request({ + method: 'GET', + url: `${claEndpoint}/signatures/project/${claGroupID}/icla/${signatureIclaID}/pdf`, + auth: { + 'bearer': bearerToken, + }, + }).then((response) => { + validate_200_Status(response); + }); + }); + +it("Returns a list of ccla signature models when provided the project ID and company ID", function () { + cy.request({ + method: 'GET', + url: `${claEndpoint}/signatures/project/${projectSFID}/company/${companyID}`, + auth: { + 'bearer': bearerToken, + }, + }).then((response) => { + validate_200_Status(response); + let signatures=response.body.signatures; + for(let i=0;i<=signatures.length-1;i++){ + expect(signatures[i].companyName).to.eql(companyName); + expect(signatures[i].claType).to.eql('ccla'); + } + validateApiResponse("signatures/getProjectCompanySignatures.json",response) + }); + }); + +it("Get project company signatures for the employees", function () { + cy.request({ + method: 'GET', + url: `${claEndpoint}/signatures/project/${projectSFID}/company/${companyID}/employee`, + auth: { + 'bearer': bearerToken, + }, + }).then((response) => { + validate_200_Status(response); + let signatures=response.body.signatures; + for(let i=0;i<=signatures.length-1;i++){ + expect(signatures[i].companyName).to.eql(companyName); + } + validateApiResponse("signatures/getProjectCompanySignatures.json",response) + }); + }); + +it("Returns a list of user signatures when provided the user ID", function () { + cy.request({ + method: 'GET', + url: `${claEndpoint}/signatures/user/${userID}`, + auth: { + 'bearer': bearerToken, + }, + }).then((response) => { + validate_200_Status(response); + let signatures=response.body.signatures; + for(let i=0;i<=signatures.length-1;i++){ + expect(signatures[i].companyName).to.eql(companyName); + expect(signatures[i].signatureReferenceType).to.eql('user'); + signatureID=signatures[i].signatureID; + } + validateApiResponse("signatures/getProjectCompanySignatures.json",response) + }); + }); + +it("GET: Updates the specified signature GitHub Organization approval list", function () { + cy.request({ + method: 'GET', + url: `${claEndpoint}/signatures/${signatureID}/gh-org-whitelist`, + auth: { + 'bearer': bearerToken, + }, + }).then((response) => { + validate_200_Status(response); + }); + }); + +it.skip("POST: Updates the specified signature GitHub organization approval list", function () { + cy.request({ + method: 'POST', + url: `${claEndpoint}/signatures/${signatureID}/gh-org-whitelist`, + auth: { + 'bearer': bearerToken, + },body:{ + "organization_id": '35275118' + } + }).then((response) => { + validate_200_Status(response); + }); + }); + +it.skip("Returns the signature signed document when provided the signature ID", function () { + cy.request({ + method: 'GET', + url: `${claEndpoint}/signatures/${signatureID}/signed-document`, + auth: { + 'bearer': bearerToken, + }, + }).then((response) => { + validate_200_Status(response); + }); + }); + +/* Below test case for Updates the Project / Organization/Company Approval list */ + +it("Add Email as Approval List to the Project/Company", function () { + cy.request({ + method: 'PUT', + url: `${claEndpoint}/signatures/project/${projectSFID}/company/${companyID}/clagroup/${claGroupID}/approval-list`, + auth: { + 'bearer': bearerToken, + },body:{ + "AddEmailApprovalList": [ + emailApprovalList + ] + } + }).then((response) => { + validate_200_Status(response); + let list=response.body.emailApprovalList; + expect(list[0]).to.eql(emailApprovalList); + }); + }); + +it("Remove Email form Approval List to the Project/Company", function () { + cy.request({ + method: 'PUT', + url: `${claEndpoint}/signatures/project/${projectSFID}/company/${companyID}/clagroup/${claGroupID}/approval-list`, + auth: { + 'bearer': bearerToken, + },body:{ + "RemoveEmailApprovalList": [ + emailApprovalList + ] + } + }).then((response) => { + validate_200_Status(response); + let list=response.body.emailApprovalList; + if(list != null){ + for(let i=0;i<=list.length;i++){ + expect(list[i]).to.not.equal(emailApprovalList) + } + } + }); + }); + +it("Add GithubOrg as Approval List to the Project/Company", function () { + cy.request({ + method: 'PUT', + url: `${claEndpoint}/signatures/project/${projectSFID}/company/${companyID}/clagroup/${claGroupID}/approval-list`, + auth: { + 'bearer': bearerToken, + },body:{ + "AddGithubOrgApprovalList": [ + gitOrgApprovalList + ] + } + }).then((response) => { + validate_200_Status(response); + let list=response.body.githubOrgApprovalList; + expect(list[0]).to.eql(gitOrgApprovalList); + }); + }); + +it("Remove GithubOrg form Approval List to the Project/Company", function () { + cy.request({ + method: 'PUT', + url: `${claEndpoint}/signatures/project/${projectSFID}/company/${companyID}/clagroup/${claGroupID}/approval-list`, + auth: { + 'bearer': bearerToken, + },body:{ + "RemoveGithubOrgApprovalList": [ + gitOrgApprovalList + ] + } + }).then((response) => { + validate_200_Status(response); + let list=response.body.githubOrgApprovalList; + if(list != null){ + for(let i=0;i<=list.length;i++){ + expect(list[i]).to.not.equal(gitOrgApprovalList) + } + } + }); + }); + +it("Add Github Username as Approval List to the Project/Company", function () { + cy.request({ + method: 'PUT', + url: `${claEndpoint}/signatures/project/${projectSFID}/company/${companyID}/clagroup/${claGroupID}/approval-list`, + auth: { + 'bearer': bearerToken, + },body:{ + "AddGithubUsernameApprovalList": [ + gitUsernameApprovalList + ] + } + }).then((response) => { + validate_200_Status(response); + let list=response.body.githubUsernameApprovalList; + for(let i=0;i<=list.length;i++){ + if(list[i]===gitUsernameApprovalList){ + expect(list[i]).to.eql(gitUsernameApprovalList); + break; + } + else if(i==list.length){ + expect(list[i]).to.eql(gitUsernameApprovalList); + } + } + }); + }); + +it("Remove Github Username form Approval List to the Project/Company", function () { + cy.request({ + method: 'PUT', + url: `${claEndpoint}/signatures/project/${projectSFID}/company/${companyID}/clagroup/${claGroupID}/approval-list`, + auth: { + 'bearer': bearerToken, + },body:{ + "RemoveGithubusernameApprovalList": [ + gitUsernameApprovalList + ] + } + }).then((response) => { + validate_200_Status(response); + let list=response.body.githubUsernameApprovalList; + if(list != null){ + for(let i=0;i<=list.length;i++){ + expect(list[i]).to.not.equal(gitUsernameApprovalList) + } + } + }); + }); + +it("Add GitLab Username as Approval List to the Project/Company", function () { + cy.request({ + method: 'PUT', + url: `${claEndpoint}/signatures/project/${projectSFID}/company/${companyID}/clagroup/${claGroupID}/approval-list`, + auth: { + 'bearer': bearerToken, + },body:{ + "AddGitlabUsernameApprovalList": [ + gitUsernameApprovalList + ] + } + }).then((response) => { + validate_200_Status(response); + let list=response.body.gitlabUsernameApprovalList; + for(let i=0;i<=list.length;i++){ + if(list[i]===gitUsernameApprovalList){ + expect(list[i]).to.eql(gitUsernameApprovalList); + break; + } + else if(i==list.length){ + expect(list[i]).to.eql(gitUsernameApprovalList); + } + } + }); + }); + +it("Remove GitLab Username form Approval List to the Project/Company", function () { + cy.request({ + method: 'PUT', + url: `${claEndpoint}/signatures/project/${projectSFID}/company/${companyID}/clagroup/${claGroupID}/approval-list`, + auth: { + 'bearer': bearerToken, + },body:{ + "RemoveGitlabUsernameApprovalList": [ + gitUsernameApprovalList + ] + } + }).then((response) => { + validate_200_Status(response); + let list=response.body.gitlabUsernameApprovalList + if(list != null){ + for(let i=0;i<=list.length;i++){ + expect(list[i]).to.not.equal(gitUsernameApprovalList) + } + } + }); + }); + +it("Add GitLab Org as Approval List to the Project/Company", function () { + cy.request({ + method: 'PUT', + url: `${claEndpoint}/signatures/project/${projectSFID}/company/${companyID}/clagroup/${claGroupID}/approval-list`, + auth: { + 'bearer': bearerToken, + },body:{ + "AddGitlabOrgApprovalList": [ + gitLabOrgApprovalList + ] + } + }).then((response) => { + validate_200_Status(response); + let list=response.body.gitlabOrgApprovalList; + for(let i=0;i<=list.length;i++){ + if(list[i]===gitLabOrgApprovalList){ + expect(list[i]).to.eql(gitLabOrgApprovalList); + break; + } + else if(i==list.length){ + expect(list[i]).to.eql(gitLabOrgApprovalList); + } + } + }); + }); + +it("Remove GitLab Org form Approval List to the Project/Company", function () { + cy.request({ + method: 'PUT', + url: `${claEndpoint}/signatures/project/${projectSFID}/company/${companyID}/clagroup/${claGroupID}/approval-list`, + auth: { + 'bearer': bearerToken, + },body:{ + "RemoveGitlabOrgApprovalList": [ + gitLabOrgApprovalList + ] + } + }).then((response) => { + validate_200_Status(response); + let list=response.body.gitlabOrgApprovalList; + if(list != null){ + for(let i=0;i<=list.length;i++){ + expect(list[i]).to.not.equal(gitLabOrgApprovalList) + } + } + }); + }); + +it("Add domain as Approval List to the Project/Company", function () { + cy.request({ + method: 'PUT', + url: `${claEndpoint}/signatures/project/${projectSFID}/company/${companyID}/clagroup/${claGroupID}/approval-list`, + auth: { + 'bearer': bearerToken, + },body:{ + "AddDomainApprovalList": [ + domainApprovalList + ] + } + }).then((response) => { + validate_200_Status(response); + let list=response.body.domainApprovalList; + for(let i=0;i<=list.length;i++){ + if(list[i]===domainApprovalList){ + expect(list[i]).to.eql(domainApprovalList); + break; + } + else if(i==list.length){ + expect(list[i]).to.eql(domainApprovalList); + } + } + }); + }); + +it("Remove domain form Approval List to the Project/Company", function () { + cy.request({ + method: 'PUT', + url: `${claEndpoint}/signatures/project/${projectSFID}/company/${companyID}/clagroup/${claGroupID}/approval-list`, + auth: { + 'bearer': bearerToken, + },body:{ + "RemoveDomainApprovalList": [ + domainApprovalList + ] + } + }).then((response) => { + validate_200_Status(response); + let list=response.body.domainApprovalList; + if(list != null){ + for(let i=0;i<=list.length;i++){ + expect(list[i]).to.not.equal(domainApprovalList) + } + } + }); + }); + + //Updates CCLA signature record for the auto_create_ecla flag. + +it("Updates CCLA signature record for the auto_create_ecla flag to false", function () { + cy.request({ + method: 'PUT', + url: `${claEndpoint}/signatures/company/${companyID}/clagroup/${claGroupID}/ecla-auto-create`, + auth: { + 'bearer': bearerToken, + },body:{ + "auto_create_ecla": false + } + }).then((response) => { + validate_200_Status(response); + if(response.status===200){ + cy.request({ + method: 'GET', + url: `${claEndpoint}/signatures/project/${projectSFID}/company/${companyID}`, + auth: { + 'bearer': bearerToken, + } + }).then((response) => { + validate_200_Status(response); + let list=response.body.signatures; + expect(list[0].autoCreateECLA).to.eql(false); + }); + } + }); + }); + +it("Updates CCLA signature record for the auto_create_ecla flag to true", function () { + cy.request({ + method: 'PUT', + url: `${claEndpoint}/signatures/company/${companyID}/clagroup/${claGroupID}/ecla-auto-create`, + auth: { + 'bearer': bearerToken, + },body:{ + "auto_create_ecla": true + } + }).then((response) => { + validate_200_Status(response); + if(response.status===200){ + cy.request({ + method: 'GET', + url: `${claEndpoint}/signatures/project/${projectSFID}/company/${companyID}`, + auth: { + 'bearer': bearerToken, + } + }).then((response) => { + validate_200_Status(response); + let list=response.body.signatures; + expect(list[0].autoCreateECLA).to.eql(true); + }); + } + }); + }); + + //Invalidates a given ICLA record for a user + //worked only ine time, So skiping this test case, Refer screenshot: https://prnt.sc/ti6ERw8XZur0 + +it.only("Invalidates a given ICLA record for a user", function () { + let user_id= "23121f2a-d48b-11ed-b70f-d2f23b35d89e"; + cy.request({ + method: 'PUT', + url: `${claEndpoint}/cla-group/${claGroupID}/user/${user_id}/icla`, + auth: { + 'bearer': bearerToken, + }, + failOnStatusCode: false + }).then((response) => { + if (response.status === 500) { + Cypress.on('test:after:run', (test, runnable) => { + const testName = `${test.title}` + const jsonResponse = JSON.stringify(response.body, null, 2); + cy.log(jsonResponse); + console.log(testName) + console.error('User_id not available for invalidate : ', jsonResponse); + }) + }else{ + validate_200_Status(response); + } + }); + }) + +}) \ No newline at end of file diff --git a/tests/functional/cypress/fixtures/signatures/getCompanySignatures.json b/tests/functional/cypress/fixtures/signatures/getCompanySignatures.json new file mode 100644 index 000000000..de3836f55 --- /dev/null +++ b/tests/functional/cypress/fixtures/signatures/getCompanySignatures.json @@ -0,0 +1,294 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "type": "object", + "properties": { + "lastKeyScanned": { + "type": "string" + }, + "projectID": { + "type": "string" + }, + "resultCount": { + "type": "integer" + }, + "signatures": { + "type": "array", + "items": [ + { + "type": "object", + "properties": { + "autoCreateECLA": { + "type": "boolean" + }, + "claType": { + "type": "string" + }, + "companyName": { + "type": "string" + }, + "created": { + "type": "string" + }, + "domainApprovalList": { + "type": "array", + "items": [ + { + "type": "string" + } + ] + }, + "emailApprovalList": { + "type": "array", + "items": [ + { + "type": "string" + } + ] + }, + "githubOrgApprovalList": { + "type": "array", + "items": [ + { + "type": "string" + } + ] + }, + "githubUsernameApprovalList": { + "type": "array", + "items": [ + { + "type": "string" + } + ] + }, + "gitlabOrgApprovalList": { + "type": "array", + "items": [ + { + "type": "string" + } + ] + }, + "gitlabUsernameApprovalList": { + "type": "array", + "items": [ + { + "type": "string" + } + ] + }, + "modified": { + "type": "string" + }, + "projectID": { + "type": "string" + }, + "signatoryName": { + "type": "string" + }, + "signatureACL": { + "type": "array", + "items": [ + { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "companyID": { + "type": "string" + }, + "dateCreated": { + "type": "string" + }, + "dateModified": { + "type": "string" + }, + "emails": { + "type": "array", + "items": [ + { + "type": "string" + } + ] + }, + "githubID": { + "type": "string" + }, + "githubUsername": { + "type": "string" + }, + "gitlabID": { + "type": "string" + }, + "gitlabUsername": { + "type": "string" + }, + "lfEmail": { + "type": "string" + }, + "lfUsername": { + "type": "string" + }, + "note": { + "type": "string" + }, + "userCompanyID": { + "type": "string" + }, + "userExternalID": { + "type": "string" + }, + "userID": { + "type": "string" + }, + "username": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "required": [ + "admin", + "companyID", + "dateCreated", + "dateModified", + "emails", + "githubID", + "githubUsername", + "gitlabID", + "gitlabUsername", + "lfEmail", + "lfUsername", + "note", + "userCompanyID", + "userExternalID", + "userID", + "username", + "version" + ] + } + ] + }, + "signatureApproved": { + "type": "boolean" + }, + "signatureCreated": { + "type": "string" + }, + "signatureID": { + "type": "string" + }, + "signatureMajorVersion": { + "type": "string" + }, + "signatureMinorVersion": { + "type": "string" + }, + "signatureModified": { + "type": "string" + }, + "signatureReferenceID": { + "type": "string" + }, + "signatureReferenceName": { + "type": "string" + }, + "signatureReferenceNameLower": { + "type": "string" + }, + "signatureReferenceType": { + "type": "string" + }, + "signatureSigned": { + "type": "boolean" + }, + "signatureType": { + "type": "string" + }, + "signedOn": { + "type": "string" + }, + "signingEntityName": { + "type": "string" + }, + "userDocusignDateSigned": { + "type": "string" + }, + "userDocusignName": { + "type": "string" + }, + "userGHID": { + "type": "string" + }, + "userGHUsername": { + "type": "string" + }, + "userGitlabID": { + "type": "string" + }, + "userGitlabUsername": { + "type": "string" + }, + "userLFID": { + "type": "string" + }, + "userName": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "required": [ + "autoCreateECLA", + "claType", + "companyName", + "created", + "domainApprovalList", + "emailApprovalList", + "githubOrgApprovalList", + "githubUsernameApprovalList", + "gitlabOrgApprovalList", + "gitlabUsernameApprovalList", + "modified", + "projectID", + "signatoryName", + "signatureACL", + "signatureApproved", + "signatureCreated", + "signatureID", + "signatureMajorVersion", + "signatureMinorVersion", + "signatureModified", + "signatureReferenceID", + "signatureReferenceName", + "signatureReferenceNameLower", + "signatureReferenceType", + "signatureSigned", + "signatureType", + "signedOn", + "signingEntityName", + "userDocusignDateSigned", + "userDocusignName", + "userGHUsername", + "userGitlabID", + "userGitlabUsername", + "userLFID", + "userName", + "version" + ] + } + ] + }, + "totalCount": { + "type": "integer" + } + }, + "required": [ + "resultCount", + "signatures", + "totalCount" + ] + } \ No newline at end of file diff --git a/tests/functional/cypress/fixtures/signatures/getProjectCompanySignatures.json b/tests/functional/cypress/fixtures/signatures/getProjectCompanySignatures.json new file mode 100644 index 000000000..92580db09 --- /dev/null +++ b/tests/functional/cypress/fixtures/signatures/getProjectCompanySignatures.json @@ -0,0 +1,297 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "type": "object", + "properties": { + "lastKeyScanned": { + "type": "string" + }, + "projectID": { + "type": "string" + }, + "resultCount": { + "type": "integer" + }, + "signatures": { + "type": "array", + "items": [ + { + "type": "object", + "properties": { + "autoCreateECLA": { + "type": "boolean" + }, + "claType": { + "type": "string" + }, + "companyName": { + "type": "string" + }, + "created": { + "type": "string" + }, + "domainApprovalList": { + "type": "array", + "items": [ + { + "type": "string" + } + ] + }, + "emailApprovalList": { + "type": "array", + "items": [ + { + "type": "string" + } + ] + }, + "githubOrgApprovalList": { + "type": "array", + "items": [ + { + "type": "string" + } + ] + }, + "githubUsernameApprovalList": { + "type": "array", + "items": [ + { + "type": "string" + } + ] + }, + "gitlabOrgApprovalList": { + "type": "array", + "items": [ + { + "type": "string" + } + ] + }, + "gitlabUsernameApprovalList": { + "type": "array", + "items": [ + { + "type": "string" + } + ] + }, + "modified": { + "type": "string" + }, + "projectID": { + "type": "string" + }, + "signatoryName": { + "type": "string" + }, + "signatureACL": { + "type": "array", + "items": [ + { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "companyID": { + "type": "string" + }, + "dateCreated": { + "type": "string" + }, + "dateModified": { + "type": "string" + }, + "emails": { + "type": "array", + "items": [ + { + "type": "string" + } + ] + }, + "githubID": { + "type": "string" + }, + "githubUsername": { + "type": "string" + }, + "gitlabID": { + "type": "string" + }, + "gitlabUsername": { + "type": "string" + }, + "lfEmail": { + "type": "string" + }, + "lfUsername": { + "type": "string" + }, + "note": { + "type": "string" + }, + "userCompanyID": { + "type": "string" + }, + "userExternalID": { + "type": "string" + }, + "userID": { + "type": "string" + }, + "username": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "required": [ + "admin", + "companyID", + "dateCreated", + "dateModified", + "emails", + "githubID", + "githubUsername", + "gitlabID", + "gitlabUsername", + "lfEmail", + "lfUsername", + "note", + "userCompanyID", + "userExternalID", + "userID", + "username", + "version" + ] + } + ] + }, + "signatureApproved": { + "type": "boolean" + }, + "signatureCreated": { + "type": "string" + }, + "signatureID": { + "type": "string" + }, + "signatureMajorVersion": { + "type": "string" + }, + "signatureMinorVersion": { + "type": "string" + }, + "signatureModified": { + "type": "string" + }, + "signatureReferenceID": { + "type": "string" + }, + "signatureReferenceName": { + "type": "string" + }, + "signatureReferenceNameLower": { + "type": "string" + }, + "signatureReferenceType": { + "type": "string" + }, + "signatureSigned": { + "type": "boolean" + }, + "signatureType": { + "type": "string" + }, + "signedOn": { + "type": "string" + }, + "signingEntityName": { + "type": "string" + }, + "userDocusignDateSigned": { + "type": "string" + }, + "userDocusignName": { + "type": "string" + }, + "userGHID": { + "type": "string" + }, + "userGHUsername": { + "type": "string" + }, + "userGitlabID": { + "type": "string" + }, + "userGitlabUsername": { + "type": "string" + }, + "userLFID": { + "type": "string" + }, + "userName": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "required": [ + "autoCreateECLA", + "claType", + "companyName", + "created", + "domainApprovalList", + "emailApprovalList", + "githubOrgApprovalList", + "githubUsernameApprovalList", + "gitlabOrgApprovalList", + "gitlabUsernameApprovalList", + "modified", + "projectID", + "signatoryName", + "signatureACL", + "signatureApproved", + "signatureCreated", + "signatureID", + "signatureMajorVersion", + "signatureMinorVersion", + "signatureModified", + "signatureReferenceID", + "signatureReferenceName", + "signatureReferenceNameLower", + "signatureReferenceType", + "signatureSigned", + "signatureType", + "signedOn", + "signingEntityName", + "userDocusignDateSigned", + "userDocusignName", + "userGHID", + "userGHUsername", + "userGitlabID", + "userGitlabUsername", + "userLFID", + "userName", + "version" + ] + } + ] + }, + "totalCount": { + "type": "integer" + } + }, + "required": [ + "lastKeyScanned", + "projectID", + "resultCount", + "signatures", + "totalCount" + ] + } \ No newline at end of file diff --git a/tests/functional/cypress/fixtures/signatures/getProjectSignatures.json b/tests/functional/cypress/fixtures/signatures/getProjectSignatures.json new file mode 100644 index 000000000..92580db09 --- /dev/null +++ b/tests/functional/cypress/fixtures/signatures/getProjectSignatures.json @@ -0,0 +1,297 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "type": "object", + "properties": { + "lastKeyScanned": { + "type": "string" + }, + "projectID": { + "type": "string" + }, + "resultCount": { + "type": "integer" + }, + "signatures": { + "type": "array", + "items": [ + { + "type": "object", + "properties": { + "autoCreateECLA": { + "type": "boolean" + }, + "claType": { + "type": "string" + }, + "companyName": { + "type": "string" + }, + "created": { + "type": "string" + }, + "domainApprovalList": { + "type": "array", + "items": [ + { + "type": "string" + } + ] + }, + "emailApprovalList": { + "type": "array", + "items": [ + { + "type": "string" + } + ] + }, + "githubOrgApprovalList": { + "type": "array", + "items": [ + { + "type": "string" + } + ] + }, + "githubUsernameApprovalList": { + "type": "array", + "items": [ + { + "type": "string" + } + ] + }, + "gitlabOrgApprovalList": { + "type": "array", + "items": [ + { + "type": "string" + } + ] + }, + "gitlabUsernameApprovalList": { + "type": "array", + "items": [ + { + "type": "string" + } + ] + }, + "modified": { + "type": "string" + }, + "projectID": { + "type": "string" + }, + "signatoryName": { + "type": "string" + }, + "signatureACL": { + "type": "array", + "items": [ + { + "type": "object", + "properties": { + "admin": { + "type": "boolean" + }, + "companyID": { + "type": "string" + }, + "dateCreated": { + "type": "string" + }, + "dateModified": { + "type": "string" + }, + "emails": { + "type": "array", + "items": [ + { + "type": "string" + } + ] + }, + "githubID": { + "type": "string" + }, + "githubUsername": { + "type": "string" + }, + "gitlabID": { + "type": "string" + }, + "gitlabUsername": { + "type": "string" + }, + "lfEmail": { + "type": "string" + }, + "lfUsername": { + "type": "string" + }, + "note": { + "type": "string" + }, + "userCompanyID": { + "type": "string" + }, + "userExternalID": { + "type": "string" + }, + "userID": { + "type": "string" + }, + "username": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "required": [ + "admin", + "companyID", + "dateCreated", + "dateModified", + "emails", + "githubID", + "githubUsername", + "gitlabID", + "gitlabUsername", + "lfEmail", + "lfUsername", + "note", + "userCompanyID", + "userExternalID", + "userID", + "username", + "version" + ] + } + ] + }, + "signatureApproved": { + "type": "boolean" + }, + "signatureCreated": { + "type": "string" + }, + "signatureID": { + "type": "string" + }, + "signatureMajorVersion": { + "type": "string" + }, + "signatureMinorVersion": { + "type": "string" + }, + "signatureModified": { + "type": "string" + }, + "signatureReferenceID": { + "type": "string" + }, + "signatureReferenceName": { + "type": "string" + }, + "signatureReferenceNameLower": { + "type": "string" + }, + "signatureReferenceType": { + "type": "string" + }, + "signatureSigned": { + "type": "boolean" + }, + "signatureType": { + "type": "string" + }, + "signedOn": { + "type": "string" + }, + "signingEntityName": { + "type": "string" + }, + "userDocusignDateSigned": { + "type": "string" + }, + "userDocusignName": { + "type": "string" + }, + "userGHID": { + "type": "string" + }, + "userGHUsername": { + "type": "string" + }, + "userGitlabID": { + "type": "string" + }, + "userGitlabUsername": { + "type": "string" + }, + "userLFID": { + "type": "string" + }, + "userName": { + "type": "string" + }, + "version": { + "type": "string" + } + }, + "required": [ + "autoCreateECLA", + "claType", + "companyName", + "created", + "domainApprovalList", + "emailApprovalList", + "githubOrgApprovalList", + "githubUsernameApprovalList", + "gitlabOrgApprovalList", + "gitlabUsernameApprovalList", + "modified", + "projectID", + "signatoryName", + "signatureACL", + "signatureApproved", + "signatureCreated", + "signatureID", + "signatureMajorVersion", + "signatureMinorVersion", + "signatureModified", + "signatureReferenceID", + "signatureReferenceName", + "signatureReferenceNameLower", + "signatureReferenceType", + "signatureSigned", + "signatureType", + "signedOn", + "signingEntityName", + "userDocusignDateSigned", + "userDocusignName", + "userGHID", + "userGHUsername", + "userGitlabID", + "userGitlabUsername", + "userLFID", + "userName", + "version" + ] + } + ] + }, + "totalCount": { + "type": "integer" + } + }, + "required": [ + "lastKeyScanned", + "projectID", + "resultCount", + "signatures", + "totalCount" + ] + } \ No newline at end of file diff --git a/tests/functional/cypress/fixtures/signatures/invalidateICLA_mock.json b/tests/functional/cypress/fixtures/signatures/invalidateICLA_mock.json new file mode 100644 index 000000000..5de1243a5 --- /dev/null +++ b/tests/functional/cypress/fixtures/signatures/invalidateICLA_mock.json @@ -0,0 +1,59 @@ +{ + "list": [ + { + "gitlab_username": "umeshlumbhani", + "signatureApproved": true, + "signatureModified": "2023-07-27T13:22:59.515786+0000", + "signatureSigned": true, + "signature_id": "a72d4abb-3fd1-43e8-9348-10d831d6759d", + "signed_on": "2023-07-25T08:43:58Z", + "userDocusignDateSigned": "2023-07-25T08:43:58Z", + "userDocusignName": "Umesh Lumbhani", + "user_email": "umeshl@proximabiz.com", + "user_id": "23121f2a-d48b-11ed-b70f-d2f23b35d89e", + "user_name": "Umesh Lumbhani" + }, + { + "github_username": "amolsontakke3576", + "lf_username": "amolsontakke", + "signatureApproved": true, + "signatureModified": "2023-05-25T06:49:50.974023+0000", + "signatureSigned": true, + "signature_id": "0659b09a-4b9c-4572-a4db-6956b6560070", + "signed_on": "2023-05-24T23:49:02Z", + "userDocusignDateSigned": "2023-05-24T23:49:02Z", + "userDocusignName": "Amol Santakke", + "user_email": "amols@proximabiz.com", + "user_id": "55c63095-b85b-11eb-944f-969fa02c1e82", + "user_name": "Amol Santakke" + }, + { + "github_username": "nickmango", + "signatureApproved": false, + "signatureModified": "2023-07-21T14:16:33.859402+0000", + "signatureSigned": true, + "signature_id": "ae1a8237-c3f5-41f7-adc6-c017dd0c817d", + "signed_on": "2023-07-21T07:15:47Z", + "userDocusignDateSigned": "2023-07-21T07:15:47Z", + "userDocusignName": "Harold Wanyama", + "user_email": "hwanyama@contractor.linuxfoundation.org", + "user_id": "1f8e6c78-162f-485e-bc35-368abd1b075a", + "user_name": "Harold Wanyama" + }, + { + "github_username": "nickmango", + "signatureApproved": false, + "signatureModified": "2023-08-31T14:47:23.179401+0000", + "signatureSigned": true, + "signature_id": "9eb97c78-8cf9-47ae-8410-0990e8680d8b", + "signed_on": "2023-08-01T09:11:20Z", + "userDocusignDateSigned": "2023-08-01T09:11:20Z", + "userDocusignName": "Harold Wanyama", + "user_email": "hwanyama@contractor.linuxfoundation.org", + "user_id": "1f8e6c78-162f-485e-bc35-368abd1b075a", + "user_name": "Harold Wanyama" + } + ], + "pageSize": 100, + "resultCount": 4 + } \ No newline at end of file diff --git a/tests/functional/cypress/fixtures/signatures/listClaGroupCorporateContributors.json b/tests/functional/cypress/fixtures/signatures/listClaGroupCorporateContributors.json new file mode 100644 index 000000000..a36a2069f --- /dev/null +++ b/tests/functional/cypress/fixtures/signatures/listClaGroupCorporateContributors.json @@ -0,0 +1,81 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "type": "object", + "properties": { + "list": { + "type": "array", + "items": [ + { + "type": "object", + "properties": { + "email": { + "type": "string" + }, + "github_id": { + "type": "string" + }, + "linux_foundation_id": { + "type": "string" + }, + "name": { + "type": "string" + }, + "signatureApproved": { + "type": "boolean" + }, + "signatureID": { + "type": "string" + }, + "signatureModified": { + "type": "string" + }, + "signatureSigned": { + "type": "boolean" + }, + "signature_version": { + "type": "string" + }, + "timestamp": { + "type": "string" + }, + "userDocusignDateSigned": { + "type": "string" + }, + "userDocusignName": { + "type": "string" + } + }, + "required": [ + "email", + "github_id", + "linux_foundation_id", + "name", + "signatureApproved", + "signatureID", + "signatureModified", + "signatureSigned", + "signature_version", + "timestamp", + "userDocusignDateSigned", + "userDocusignName" + ] + } + ] + }, + "nextKey": { + "type": "string" + }, + "resultCount": { + "type": "integer" + }, + "totalCount": { + "type": "integer" + } + }, + "required": [ + "list", + "nextKey", + "resultCount", + "totalCount" + ] + } \ No newline at end of file diff --git a/tests/functional/cypress/fixtures/signatures/listClaGroupIclaSignature.json b/tests/functional/cypress/fixtures/signatures/listClaGroupIclaSignature.json new file mode 100644 index 000000000..bc5fbb87c --- /dev/null +++ b/tests/functional/cypress/fixtures/signatures/listClaGroupIclaSignature.json @@ -0,0 +1,85 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema#", + "type": "object", + "properties": { + "lastKeyScanned": { + "type": "string" + }, + "list": { + "type": "array", + "items": [ + { + "type": "object", + "properties": { + "github_username": { + "type": "string" + }, + "gitlab_username": { + "type": "string" + }, + "lf_username": { + "type": "string" + }, + "signatureApproved": { + "type": "boolean" + }, + "signatureModified": { + "type": "string" + }, + "signatureSigned": { + "type": "boolean" + }, + "signature_id": { + "type": "string" + }, + "signed_on": { + "type": "string" + }, + "userDocusignDateSigned": { + "type": "string" + }, + "userDocusignName": { + "type": "string" + }, + "user_email": { + "type": "string" + }, + "user_id": { + "type": "string" + }, + "user_name": { + "type": "string" + } + }, + "required": [ + "github_username", + "gitlab_username", + "lf_username", + "signatureApproved", + "signatureModified", + "signatureSigned", + "signature_id", + "signed_on", + "userDocusignDateSigned", + "userDocusignName", + "user_email", + "user_id", + "user_name" + ] + } + ] + }, + "pageSize": { + "type": "integer" + }, + "resultCount": { + "type": "integer" + } + }, + "required": [ + "lastKeyScanned", + "list", + "pageSize", + "resultCount" + ] + } \ No newline at end of file From 80e0bd4554e5d10d0c235fee8a75cb12632a7403 Mon Sep 17 00:00:00 2001 From: veerendra thakur Date: Tue, 26 Sep 2023 16:25:00 +0530 Subject: [PATCH 2/3] removed .only Signed-off-by: veerendra thakur --- .../signatures/invalidateICLA_mock.json | 59 ------------------- 1 file changed, 59 deletions(-) delete mode 100644 tests/functional/cypress/fixtures/signatures/invalidateICLA_mock.json diff --git a/tests/functional/cypress/fixtures/signatures/invalidateICLA_mock.json b/tests/functional/cypress/fixtures/signatures/invalidateICLA_mock.json deleted file mode 100644 index 5de1243a5..000000000 --- a/tests/functional/cypress/fixtures/signatures/invalidateICLA_mock.json +++ /dev/null @@ -1,59 +0,0 @@ -{ - "list": [ - { - "gitlab_username": "umeshlumbhani", - "signatureApproved": true, - "signatureModified": "2023-07-27T13:22:59.515786+0000", - "signatureSigned": true, - "signature_id": "a72d4abb-3fd1-43e8-9348-10d831d6759d", - "signed_on": "2023-07-25T08:43:58Z", - "userDocusignDateSigned": "2023-07-25T08:43:58Z", - "userDocusignName": "Umesh Lumbhani", - "user_email": "umeshl@proximabiz.com", - "user_id": "23121f2a-d48b-11ed-b70f-d2f23b35d89e", - "user_name": "Umesh Lumbhani" - }, - { - "github_username": "amolsontakke3576", - "lf_username": "amolsontakke", - "signatureApproved": true, - "signatureModified": "2023-05-25T06:49:50.974023+0000", - "signatureSigned": true, - "signature_id": "0659b09a-4b9c-4572-a4db-6956b6560070", - "signed_on": "2023-05-24T23:49:02Z", - "userDocusignDateSigned": "2023-05-24T23:49:02Z", - "userDocusignName": "Amol Santakke", - "user_email": "amols@proximabiz.com", - "user_id": "55c63095-b85b-11eb-944f-969fa02c1e82", - "user_name": "Amol Santakke" - }, - { - "github_username": "nickmango", - "signatureApproved": false, - "signatureModified": "2023-07-21T14:16:33.859402+0000", - "signatureSigned": true, - "signature_id": "ae1a8237-c3f5-41f7-adc6-c017dd0c817d", - "signed_on": "2023-07-21T07:15:47Z", - "userDocusignDateSigned": "2023-07-21T07:15:47Z", - "userDocusignName": "Harold Wanyama", - "user_email": "hwanyama@contractor.linuxfoundation.org", - "user_id": "1f8e6c78-162f-485e-bc35-368abd1b075a", - "user_name": "Harold Wanyama" - }, - { - "github_username": "nickmango", - "signatureApproved": false, - "signatureModified": "2023-08-31T14:47:23.179401+0000", - "signatureSigned": true, - "signature_id": "9eb97c78-8cf9-47ae-8410-0990e8680d8b", - "signed_on": "2023-08-01T09:11:20Z", - "userDocusignDateSigned": "2023-08-01T09:11:20Z", - "userDocusignName": "Harold Wanyama", - "user_email": "hwanyama@contractor.linuxfoundation.org", - "user_id": "1f8e6c78-162f-485e-bc35-368abd1b075a", - "user_name": "Harold Wanyama" - } - ], - "pageSize": 100, - "resultCount": 4 - } \ No newline at end of file From 0a212dcabd2d838fb656af695cd54d99f519bbfb Mon Sep 17 00:00:00 2001 From: veerendra thakur Date: Tue, 26 Sep 2023 16:28:59 +0530 Subject: [PATCH 3/3] removed .only Signed-off-by: veerendra thakur --- tests/functional/cypress/e2e/signatures.cy.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/functional/cypress/e2e/signatures.cy.ts b/tests/functional/cypress/e2e/signatures.cy.ts index 7a6f4fc36..9d0f9e457 100644 --- a/tests/functional/cypress/e2e/signatures.cy.ts +++ b/tests/functional/cypress/e2e/signatures.cy.ts @@ -680,7 +680,7 @@ it("Updates CCLA signature record for the auto_create_ecla flag to true", functi //Invalidates a given ICLA record for a user //worked only ine time, So skiping this test case, Refer screenshot: https://prnt.sc/ti6ERw8XZur0 -it.only("Invalidates a given ICLA record for a user", function () { +it("Invalidates a given ICLA record for a user", function () { let user_id= "23121f2a-d48b-11ed-b70f-d2f23b35d89e"; cy.request({ method: 'PUT',