Skip to content

Commit 358cfc8

Browse files
committed
fix(empty): Fix component tests after viewport change
1 parent 11ea85f commit 358cfc8

File tree

2 files changed

+15
-3
lines changed

2 files changed

+15
-3
lines changed

cypress/component/DataViewTable.cy.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,6 @@ describe('DataViewTable', () => {
117117
cy.get('[data-ouia-component-id="tree-td-4-3"]').contains('Workspace five');
118118
cy.get('[data-ouia-component-id="tree-td-4-3"]').should('not.be.visible');
119119
cy.get('[data-ouia-component-id="tree-td-5-4"]').contains('Timestamp six');
120-
cy.get('[data-ouia-component-id="tree-td-5-4"]').should('not.be.visible');
120+
cy.get('[data-ouia-component-id="tree-td-5-4"]').should('be.visible');
121121
});
122122
});

packages/module/patternfly-docs/generated/index.js

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,23 @@ module.exports = {
3434
sortValue: 3,
3535
Component: () => import(/* webpackChunkName: "extensions/data-view/functionality/react/index" */ './extensions/data-view/functionality/react')
3636
},
37+
'/extensions/data-view/events-context/react': {
38+
id: "Events context",
39+
title: "Events context",
40+
toc: [[{"text":"Row click subscription example"}]],
41+
examples: ["Row click subscription example"],
42+
section: "extensions",
43+
subsection: "Data view",
44+
source: "react",
45+
tabName: null,
46+
sortValue: 3,
47+
Component: () => import(/* webpackChunkName: "extensions/data-view/events-context/react/index" */ './extensions/data-view/events-context/react')
48+
},
3749
'/extensions/data-view/components/react': {
3850
id: "Components",
3951
title: "Components",
40-
toc: [{"text":"Data view toolbar"},[{"text":"Basic example"}]],
41-
examples: ["Basic example"],
52+
toc: [{"text":"Data view toolbar"},[{"text":"Basic toolbar example"}],{"text":"Data view table"},[{"text":"Rows and columns customization"},{"text":"Tree table example"},{"text":"Empty state example"}]],
53+
examples: ["Basic toolbar example","Rows and columns customization","Tree table example","Empty state example"],
4254
section: "extensions",
4355
subsection: "Data view",
4456
source: "react",

0 commit comments

Comments
 (0)