diff --git a/packages/atomic/cypress/e2e/generated-answer-selectors.ts b/packages/atomic/cypress/e2e/generated-answer-selectors.ts index d6b7cd1f5a2..485f33ad164 100644 --- a/packages/atomic/cypress/e2e/generated-answer-selectors.ts +++ b/packages/atomic/cypress/e2e/generated-answer-selectors.ts @@ -20,8 +20,6 @@ export const GeneratedAnswerSelectors = { GeneratedAnswerSelectors.shadow().find('[part="citations-label"]'), citationTitle: () => GeneratedAnswerSelectors.citation().find('.citation-title'), - citationIndex: () => - GeneratedAnswerSelectors.citation().find('[part="citation-index"]'), citationCard: () => GeneratedAnswerSelectors.shadow().find('[part="citation-popover"]'), loader: () => GeneratedAnswerSelectors.shadow().find('.typing-indicator'), diff --git a/packages/atomic/cypress/e2e/generated-answer.cypress.ts b/packages/atomic/cypress/e2e/generated-answer.cypress.ts index 4cc10c193a3..832157a8d87 100644 --- a/packages/atomic/cypress/e2e/generated-answer.cypress.ts +++ b/packages/atomic/cypress/e2e/generated-answer.cypress.ts @@ -464,7 +464,6 @@ describe('Generated Answer Test Suites', () => { 'have.text', testCitation.title ); - GeneratedAnswerSelectors.citationIndex().should('have.text', '1'); GeneratedAnswerSelectors.citation().should( 'have.attr', 'href', diff --git a/packages/atomic/src/components/common/generated-answer/atomic-citation/atomic-citation.pcss b/packages/atomic/src/components/common/generated-answer/atomic-citation/atomic-citation.pcss index 215d9094757..25b5002bcd2 100644 --- a/packages/atomic/src/components/common/generated-answer/atomic-citation/atomic-citation.pcss +++ b/packages/atomic/src/components/common/generated-answer/atomic-citation/atomic-citation.pcss @@ -10,11 +10,6 @@ height: var(--height); } -[part='citation-index'] { - height: var(--index-height); - width: var(--index-height); -} - [part='citation-popover'] { --popover-width: 350px; diff --git a/packages/atomic/src/components/common/generated-answer/atomic-citation/atomic-citation.tsx b/packages/atomic/src/components/common/generated-answer/atomic-citation/atomic-citation.tsx index a234b80c742..eded75469bf 100644 --- a/packages/atomic/src/components/common/generated-answer/atomic-citation/atomic-citation.tsx +++ b/packages/atomic/src/components/common/generated-answer/atomic-citation/atomic-citation.tsx @@ -158,12 +158,6 @@ export class AtomicCitation { onFocus={this.openPopover} onBlur={this.closePopover} > -