@@ -26,7 +26,7 @@ import {
26
26
} from './helpers/gct-pinning' ;
27
27
28
28
test . describe ( 'GCT: Pinning Genes from URL' , ( ) => {
29
- test ( 'when rna differential expression url does not include pinned genes, no genes are pinned' , async ( {
29
+ test ( 'when RNA url does not include pinned genes, no genes are pinned' , async ( {
30
30
page,
31
31
} ) => {
32
32
await page . goto ( URL_GCT ) ;
@@ -41,7 +41,7 @@ test.describe('GCT: Pinning Genes from URL', () => {
41
41
await confirmPinnedItemsCount ( page , 0 ) ;
42
42
} ) ;
43
43
44
- test ( 'when protein differential expression url does not include pinned genes, no genes are pinned' , async ( {
44
+ test ( 'when Protein url does not include pinned genes, no genes are pinned' , async ( {
45
45
page,
46
46
} ) => {
47
47
await page . goto ( URL_GCT_PROTEIN ) ;
@@ -56,7 +56,7 @@ test.describe('GCT: Pinning Genes from URL', () => {
56
56
await confirmPinnedItemsCount ( page , 0 ) ;
57
57
} ) ;
58
58
59
- test ( 'when rna differential expression url includes 50 pinned genes, all genes are pinned' , async ( {
59
+ test ( 'when RNA url includes 50 pinned genes, all genes are pinned' , async ( {
60
60
page,
61
61
} ) => {
62
62
const url = `${ URL_GCT } ?${ formatPinnedGenesQueryParam ( fiftyGenes ) } ` ;
@@ -82,7 +82,7 @@ test.describe('GCT: Pinning Genes from URL', () => {
82
82
} ) ;
83
83
} ) ;
84
84
85
- test ( 'when rna differential expression url includes >50 pinned genes, only 50 genes are pinned and toast is displayed' , async ( {
85
+ test ( 'when RNA url includes >50 pinned genes, only 50 genes are pinned and toast is displayed' , async ( {
86
86
page,
87
87
} ) => {
88
88
const url = `${ URL_GCT } ?${ formatPinnedGenesQueryParam ( fiftyOneGenes ) } ` ;
@@ -108,7 +108,7 @@ test.describe('GCT: Pinning Genes from URL', () => {
108
108
} ) ;
109
109
} ) ;
110
110
111
- test ( 'when rna differential expression url includes invalid gene, that gene is dropped from the url' , async ( {
111
+ test ( 'when RNA url includes invalid gene, that gene is dropped from the url' , async ( {
112
112
page,
113
113
} ) => {
114
114
const validGeneId = geneWithMultipleProteinsTMT . ensemblId ;
@@ -141,7 +141,7 @@ test.describe('GCT: Pinning Genes from URL', () => {
141
141
} ) ;
142
142
} ) ;
143
143
144
- test ( 'when rna differential expression url includes proteins, the related gene is pinned' , async ( {
144
+ test ( 'when RNA url includes proteins, the related gene is pinned' , async ( {
145
145
page,
146
146
} ) => {
147
147
const geneProteins = geneWithMultipleProteinsTMT . uniProtIds . map (
@@ -166,7 +166,7 @@ test.describe('GCT: Pinning Genes from URL', () => {
166
166
} ) ;
167
167
168
168
test . fail (
169
- 'when protein differential expression url includes a gene, all related proteins are pinned' ,
169
+ 'when Protein url includes a gene, all related proteins are pinned' ,
170
170
async ( { page } ) => {
171
171
const url = `${ URL_GCT_PROTEIN_TMT } &${ formatPinnedGenesQueryParam ( [
172
172
geneWithMultipleProteinsTMT . ensemblId ,
@@ -194,7 +194,7 @@ test.describe('GCT: Pinning Genes from URL', () => {
194
194
) ;
195
195
196
196
test . fail (
197
- 'when protein differential expression url includes 50 proteins from 50 unique genes, all proteins are pinned' ,
197
+ 'when Protein url includes 50 proteins from 50 unique genes, all proteins are pinned' ,
198
198
async ( { page } ) => {
199
199
const url = `${ URL_GCT_PROTEIN_TMT } &${ formatPinnedGenesQueryParam (
200
200
fiftyProteinsToFiftyUniqueGenesTMT
@@ -216,7 +216,7 @@ test.describe('GCT: Pinning Genes from URL', () => {
216
216
) ;
217
217
218
218
test . fail (
219
- 'when protein differential expression url includes >50 proteins from 50 unique genes, all proteins are pinned' ,
219
+ 'when Protein url includes >50 proteins from 50 unique genes, all proteins are pinned' ,
220
220
async ( { page } ) => {
221
221
const fortyNineProteinsToUniqueGenes =
222
222
fiftyProteinsToFiftyUniqueGenesTMT . slice ( 0 , - 1 ) ;
@@ -261,7 +261,7 @@ test.describe('GCT: Pinning Genes from URL', () => {
261
261
) ;
262
262
263
263
test . fail (
264
- 'when protein differential expression url includes proteins from 51 unique genes, only proteins from 50 genes are pinned' ,
264
+ 'when Protein url includes proteins from 51 unique genes, only proteins from 50 genes are pinned' ,
265
265
async ( { page } ) => {
266
266
const oneGeneWithManyProteins =
267
267
geneWithMultipleProteinsTMT . uniProtIds . map (
@@ -304,7 +304,7 @@ test.describe('GCT: Pinning Genes from URL', () => {
304
304
) ;
305
305
306
306
test . fail (
307
- 'when protein differential expression url includes invalid protein, that protein is dropped from the url' ,
307
+ 'when Protein url includes invalid protein, that protein is dropped from the url' ,
308
308
async ( { page } ) => {
309
309
const validGeneProtein = fiftyProteinsToFiftyUniqueGenesTMT [ 1 ] ;
310
310
const url = `${ URL_GCT_PROTEIN_TMT } &${ formatPinnedGenesQueryParam ( [
0 commit comments