Skip to content

Commit ccce308

Browse files
author
Karine St-Onge
committed
feat: SJIP-1112 Adjust Cypress tests related to recent changes
1 parent 68cccd7 commit ccce308

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

cypress/e2e/Consultation/PageStudy.cy.ts

+6-6
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ describe('Page d\'une étude - Vérifier les informations affichées', () => {
107107
cy.get('[id="statistic"] [id="data-type"]').contains('Participants by Data Type').should('exist');
108108
});
109109

110-
it('Panneau Data Access [SJIP-1099]', () => {
110+
it('Panneau Data Access', () => {
111111
cy.get('[id="data_access"] [class*="EntityDescriptions_title"]').contains('Data Access').should('exist');
112112
cy.get('[id="data_access"] [class="ant-collapse-header"]').contains('Data Access').should('exist');
113113
cy.get('[id="data_access"] [class="ant-descriptions-item-label"]').eq(0).contains('Access Limitation').should('exist');
@@ -120,7 +120,7 @@ describe('Page d\'une étude - Vérifier les informations affichées', () => {
120120
cy.get('[id="data_access"] [class="ant-descriptions-item-content"]').eq(2).contains('Angela Rachubinski; [email protected]').should('exist');
121121
});
122122

123-
it('Panneau HTP Whole Blood RNAseq (v1) [SJIP-1100]', () => {
123+
it('Panneau HTP Whole Blood RNAseq (v1)', () => {
124124
cy.get('[class*="StudyEntity_datasetTitle"]').contains('Dataset').should('exist');
125125
cy.get('[class*="StudyEntity_datasetTitle"] [class*="StudyEntity_datasetInfo"]').should('exist');
126126
cy.get('[class*="EntityDataset_panel"]').eq(0).find('[class="ant-collapse-header"]').contains('HTP Whole Blood RNAseq (v1)').should('exist');
@@ -231,17 +231,17 @@ describe('Page d\'une étude - Valider les liens disponibles', () => {
231231
cy.get('[class*="QueryBar_selected"] [class*="QueryValues_value"]').contains('HTP').should('exist');
232232
});
233233

234-
it('Lien Duo de l\'Access Limitation du panneau Data Access [SJIP-1099]', () => {
234+
it('Lien Duo de l\'Access Limitation du panneau Data Access', () => {
235235
cy.get('[id="data_access"] [class="ant-descriptions-item-content"]').eq(0).find('[href]')
236236
.should('have.attr', 'href', 'http://purl.obolibrary.org/obo/DUO_0000042');
237237
});
238238

239-
it('Lien Publication du panneau HTP Whole Blood RNAseq (v1) [SJIP-1100]', () => {
239+
it('Lien Publication du panneau HTP Whole Blood RNAseq (v1)', () => {
240240
cy.get('[class*="EntityDataset_card"]').eq(0).find('[class="ant-descriptions-item-content"]').eq(4).find('[href]')
241241
.should('have.attr', 'href', 'https://pubmed.ncbi.nlm.nih.gov/37379383');
242242
});
243243

244-
it('Lien Repository du panneau HTP Whole Blood RNAseq (v1) [SJIP-1100]', () => {
244+
it('Lien Repository du panneau HTP Whole Blood RNAseq (v1)', () => {
245245
cy.get('[class*="EntityDataset_card"]').eq(0).find('[class="ant-descriptions-item-content"]').eq(5).find('[href]')
246246
.should('have.attr', 'href', 'https://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=GSE190125');
247247
});
@@ -290,7 +290,7 @@ describe('Page d\'une étude - Valider les panneaux masquables', () => {
290290
cy.get('[id="data_access"] div[class*="ant-collapse-content-active"]').should('exist');
291291
});
292292

293-
it('Panneau HTP Whole Blood RNAseq (v1) [SJIP-1100]', () => {
293+
it('Panneau HTP Whole Blood RNAseq (v1)', () => {
294294
cy.get('[class*="EntityDataset_panel"]').eq(0).find('div[class*="ant-collapse-content-active"]').should('exist');
295295
cy.get('[class*="EntityDataset_panel"]').eq(0).find('span[class*="ant-collapse-arrow"]').clickAndWait({force: true});
296296
cy.get('[class*="EntityDataset_panel"]').eq(0).find('div[class*="ant-collapse-content-inactive ant-collapse-content-hidden"]').should('exist');

cypress/e2e/UploadList/PageVariants.cy.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ describe('Page des variants - Téléverser une liste de gènes', () => {
6767
cy.get('[id*="panel-matched"] [data-row-key="176763:2"] td').eq(2).contains('PRDX1').should('exist');
6868
});
6969

70-
it('Vérifier les informations affichées - Section Résumé (onglet Inconnus) [SJIP-1091]', () => {
70+
it('Vérifier les informations affichées - Section Résumé (onglet Inconnus)', () => {
7171
cy.get('[class*="UploadModal"] span[class*="ant-collapse-arrow"]').clickAndWait({force: true});
7272
cy.get('[data-node-key="unmatched"]').clickAndWait({force: true});
7373

0 commit comments

Comments
 (0)