Skip to content

Commit

Permalink
Merge pull request #7445 from dtaylor113/cypress-do-not-test-i18n-for…
Browse files Browse the repository at this point in the history
…-timestamps

Cypress: do not test for i18n pseudo-translation of timestamps
  • Loading branch information
openshift-merge-robot committed Dec 7, 2020
2 parents 5718965 + 1867306 commit f816b8e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 14 deletions.
Expand Up @@ -137,14 +137,11 @@ describe('Kubernetes resource CRUD operations', () => {
detailsPage.titleShouldContain(name);
cy.testA11y(`Details page for ${kind}: ${name}`);
if (testI18n) {
cy.testI18n(
[
DetailsPageSelector.horizontalNavTabs,
DetailsPageSelector.sectionHeadings,
DetailsPageSelector.itemLabels,
],
['timestamp'],
);
cy.testI18n([
DetailsPageSelector.horizontalNavTabs,
DetailsPageSelector.sectionHeadings,
DetailsPageSelector.itemLabels,
]);
}
});

Expand Down
Expand Up @@ -42,10 +42,4 @@ describe('Localization', () => {
cy.visit('/dashboards?pseudolocalization=true&lng=en');
cy.byTestID('utilization-card-item-text').isPseudoLocalized();
});

it('pseudolocalizes timestamps', () => {
cy.log('test timestamps');
cy.visit('/k8s/all-namespaces/events?pseudolocalization=true&lng=en');
cy.byTestID('timestamp').isPseudoLocalized();
});
});

0 comments on commit f816b8e

Please sign in to comment.