From 3ad311ff6cc87621934c025b5acdd5ff801f9b3b Mon Sep 17 00:00:00 2001 From: gromdimon Date: Wed, 27 Mar 2024 09:23:57 +0100 Subject: [PATCH 1/2] fix: hgvs.t and hgvs.p and pubator comments --- src/components/GeneLiteratureCard/GeneLiteratureCard.vue | 4 ++-- .../SeqvarConsequencesCard/SeqvarConsequencesCard.vue | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/GeneLiteratureCard/GeneLiteratureCard.vue b/src/components/GeneLiteratureCard/GeneLiteratureCard.vue index c631da8..59e9102 100644 --- a/src/components/GeneLiteratureCard/GeneLiteratureCard.vue +++ b/src/components/GeneLiteratureCard/GeneLiteratureCard.vue @@ -255,7 +255,7 @@ watch( Literature - Top 10 from PubTator 3 + Top results from PubTator 3 {{ errorMessage }} @@ -443,7 +443,7 @@ watch( :append-icon="showAllResults ? 'mdi-chevron-up' : 'mdi-chevron-down'" @click="showAllResults = !showAllResults" > - {{ showAllResults ? 'Hide' : 'Show' }} all results + {{ showAllResults ? 'Show less' : 'Show more' }} Gene Transcript Consequence - HGVS.p HGVS.t + HGVS.p Exon/Intron From b83780fd35637ac574ab18b06d361f4dc191d870 Mon Sep 17 00:00:00 2001 From: gromdimon Date: Wed, 27 Mar 2024 09:28:34 +0100 Subject: [PATCH 2/2] fix tests --- .../SeqvarConsequencesCard/SeqvarConsequencesCard.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/SeqvarConsequencesCard/SeqvarConsequencesCard.spec.ts b/src/components/SeqvarConsequencesCard/SeqvarConsequencesCard.spec.ts index 505fab0..b03e735 100644 --- a/src/components/SeqvarConsequencesCard/SeqvarConsequencesCard.spec.ts +++ b/src/components/SeqvarConsequencesCard/SeqvarConsequencesCard.spec.ts @@ -38,8 +38,8 @@ describe.concurrent('SeqvarConsequencesCard.vue', async () => { expect(headers[0].text()).toBe('Gene') expect(headers[1].text()).toBe('Transcript') expect(headers[2].text()).toBe('Consequence') - expect(headers[3].text()).toBe('HGVS.p') - expect(headers[4].text()).toBe('HGVS.t') + expect(headers[3].text()).toBe('HGVS.t') + expect(headers[4].text()).toBe('HGVS.p') expect(headers[5].text()).toBe('Exon/Intron') }) })