We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b75abb1 commit fde7df2Copy full SHA for fde7df2
tests/integration/tests/namespace/test-namespace-overview.spec.js
@@ -36,18 +36,14 @@ context(
36
cy.contains('Events')
37
.scrollIntoView()
38
.should('be.visible');
39
- });
40
41
- it('checks the visibility of charts', () => {
42
- cy.get('div.item-wrapper').each($parent => {
43
- // Check if the proper charts are visible.
44
- if ($parent.find('.radial-chart-card').length) {
45
- cy.contains('CPU Usage').should('be.visible');
46
- cy.contains('Memory Usage').should('be.visible');
47
- } else {
48
- cy.log('No pods metrics chart found in this wrapper.');
49
- }
50
+ cy.contains('CPU Usage')
+ .scrollIntoView()
+ .should('be.visible');
+
+ cy.contains('Memory Usage')
51
});
52
},
53
);
0 commit comments