From afa490ecab4bbe45f0ea005c579068b19a16e7f4 Mon Sep 17 00:00:00 2001 From: ckoegel Date: Wed, 1 Nov 2023 12:44:30 -0400 Subject: [PATCH] remove other test and update snapshots --- e2e/integration/menu.e2e.ts | 5 ----- .../__snapshots__/FieldDetails.test.tsx.snap | 12 ++++++++---- .../__snapshots__/SecurityRequirement.test.tsx.snap | 6 +++--- 3 files changed, 11 insertions(+), 12 deletions(-) diff --git a/e2e/integration/menu.e2e.ts b/e2e/integration/menu.e2e.ts index ca18ffa8c0..87f856c915 100644 --- a/e2e/integration/menu.e2e.ts +++ b/e2e/integration/menu.e2e.ts @@ -8,11 +8,6 @@ describe('Menu', () => { }); it('should sync active menu items while scroll', () => { - cy.contains('h1', 'Introduction') - .scrollIntoView() - .get('[role=menuitem] > label.active') - .should('have.text', 'Introduction'); - cy.contains('h2', 'Add a new pet to the store') .scrollIntoView() .wait(100) diff --git a/src/components/__tests__/__snapshots__/FieldDetails.test.tsx.snap b/src/components/__tests__/__snapshots__/FieldDetails.test.tsx.snap index 828cdc8410..2e9df45cf3 100644 --- a/src/components/__tests__/__snapshots__/FieldDetails.test.tsx.snap +++ b/src/components/__tests__/__snapshots__/FieldDetails.test.tsx.snap @@ -1,7 +1,9 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`FieldDetailsComponent renders correctly 1`] = ` -
+
(test title) - + "" @@ -49,7 +53,7 @@ exports[`FieldDetailsComponent renders correctly 1`] = ` "example" diff --git a/src/components/__tests__/__snapshots__/SecurityRequirement.test.tsx.snap b/src/components/__tests__/__snapshots__/SecurityRequirement.test.tsx.snap index 5566597050..e584c65814 100644 --- a/src/components/__tests__/__snapshots__/SecurityRequirement.test.tsx.snap +++ b/src/components/__tests__/__snapshots__/SecurityRequirement.test.tsx.snap @@ -17,7 +17,7 @@ exports[`SecurityRequirement should render authDefinition 2`] = ` OAuth2 is also a safer and more secure way to give you access.

Flow type: implicit
Required scopes: write:pets read:pets
Scopes:
  • write:pets -

    modify pets in your account

  • read:pets -

    read your pets

    -
API Key: GitLab_PersonalAccessToken

GitLab Personal Access Token description

-
Header parameter name: PRIVATE-TOKEN
OpenID Connect: GitLab_OpenIdConnect

GitLab OpenIdConnect description

-
HTTP: basicAuth
HTTP Authorization Scheme: basic
," +
API Key: GitLab_PersonalAccessToken

GitLab Personal Access Token description

+
Header parameter name: PRIVATE-TOKEN
OpenID Connect: GitLab_OpenIdConnect

GitLab OpenIdConnect description

+
HTTP: basicAuth
HTTP Authorization Scheme: basic
," `;