Skip to content
This repository was archived by the owner on Mar 28, 2022. It is now read-only.

Commit c531d96

Browse files
committed
test(e2e): Avoid checking specific version in e2e tests
1 parent 1913d3c commit c531d96

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
1313
## [1.0.1] - 2020-01-12
1414
### Changed
1515
- Update dependencies
16+
- Avoid checking specific version in e2e tests
1617

1718
## [1.0.0] - 2019-12-24
1819
### Added

test-e2e/browser/cypress/integration/about.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ describe("About section", () => {
88
});
99

1010
it("should display current version", () => {
11-
cy.findByTestId(SELECTORS.VERSION).should("have.text", "1.2.1");
11+
cy.findByTestId(SELECTORS.VERSION)
12+
.invoke("text")
13+
.should("match", /^(?:\d+\.)(?:\d+\.)(?:\*|\d+)$/);
1214
});
1315
});

0 commit comments

Comments
 (0)