Skip to content

Commit

Permalink
Merge pull request opensearch-project#19 from derek-ho/bug-bash
Browse files Browse the repository at this point in the history
add cateogry filter and fix tests
  • Loading branch information
Swiddis authored Jul 7, 2023
2 parents d76f88a + 5cae08a commit 800b03f
Show file tree
Hide file tree
Showing 20 changed files with 494 additions and 328 deletions.
2 changes: 1 addition & 1 deletion .cypress/integration/9_integrations.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const moveToAvailableNginxIntegration = () => {
};

const moveToAddedIntegrations = () => {
cy.visit(`${Cypress.env('opensearchDashboards')}/app/integrations#/added`);
cy.visit(`${Cypress.env('opensearchDashboards')}/app/integrations#/installed`);
};


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ exports[`Added Integration View Test Renders added integration view using dummy
"text": "Integrations",
},
Object {
"href": "#/added",
"text": "Added Integration",
"href": "#/installed",
"text": "Installed Integrations",
},
Object {
"href": "#/added/undefined",
"href": "#/installed/undefined",
"text": "undefined",
},
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1053,13 +1053,13 @@ exports[`Added Integration Table View Test Renders added integration table view
<EuiLink
className=""
data-test-subj="nginxIntegrationLink"
href="#/added/ad7e6e30-0b99-11ee-b27c-c9863222e9bf"
href="#/installed/ad7e6e30-0b99-11ee-b27c-c9863222e9bf"
key=".0"
>
<a
className="euiLink euiLink--primary"
data-test-subj="nginxIntegrationLink"
href="#/added/ad7e6e30-0b99-11ee-b27c-c9863222e9bf"
href="#/installed/ad7e6e30-0b99-11ee-b27c-c9863222e9bf"
rel="noreferrer"
>
nginx
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ exports[`Available Integration Card View Test Renders nginx integration card vie
],
}
}
renderCateogryFilters={[Function]}
showModal={[Function]}
>
<EuiPanel>
Expand Down Expand Up @@ -154,6 +155,13 @@ exports[`Available Integration Card View Test Renders nginx integration card vie
</EuiFieldSearch>
</div>
</EuiFlexItem>
<EuiFlexItem
grow={false}
>
<div
className="euiFlexItem euiFlexItem--flexGrowZero"
/>
</EuiFlexItem>
<EuiFlexItem
grow={false}
>
Expand Down
Loading

0 comments on commit 800b03f

Please sign in to comment.