Skip to content

Commit f8dd98e

Browse files
committed
adjust cypress test
1 parent 1240b0c commit f8dd98e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cypress/component/Maintenance.cy.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ describe('Maintenance', () => {
66
cy.mount(<Maintenance />)
77
cy.get('[data-ouia-component-id="Maintenance"]').should('exist');
88
cy.get('[data-ouia-component-id="Maintenance"]').contains('Maintenance in progress');
9-
cy.get('[data-ouia-component-id="Maintenance-body"]').contains('We are currently undergoing scheduled maintenance and will be unavailable from 10am to 12am UTC (6am-8am EST). For more information please visit status.redhat.com.');
9+
cy.get('[data-ouia-component-id="Maintenance-body"]').contains('We are currently undergoing scheduled maintenance and will be unavailable from 6am to 8am UTC. For more information please visit status.redhat.com.');
1010
});
1111
});

packages/module/patternfly-docs/content/extensions/component-groups/examples/Maintenance/MaintenanceCustomExample.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ import React from 'react';
22
import Maintenance from '@patternfly/react-component-groups/dist/dynamic/Maintenance'
33

44
export const BasicExample: React.FunctionComponent = () => (
5-
<Maintenance bodyText='We are currently undergoing scheduled maintenance and will be unavailable from' customFooter='Please visit' redirectLinkUrl='http://patternfly.com' redirectLinkText='here.' startTime='6am' endTime='8am' timeZone='EST' />
5+
<Maintenance bodyText='We are currently undergoing scheduled maintenance and will be unavailable from' customFooter='Please visit' redirectLinkUrl='http://patternfly.com' redirectLinkText='here.' startTime='6am' endTime='8am' timeZone='UTC' />
66
);

0 commit comments

Comments
 (0)