Skip to content

Commit

Permalink
bump version 2.5.1-rc.1 (#7641)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexKamaev committed Apr 19, 2023
1 parent f84ded2 commit 07ca90f
Show file tree
Hide file tree
Showing 5 changed files with 69 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "testcafe",
"description": "Automated browser testing for the modern web development stack.",
"license": "MIT",
"version": "2.5.0",
"version": "2.5.1-rc.1",
"author": {
"name": "Developer Express Inc.",
"url": "https://www.devexpress.com/"
Expand Down Expand Up @@ -143,7 +143,7 @@
"source-map-support": "^0.5.16",
"strip-bom": "^2.0.0",
"testcafe-browser-tools": "2.0.23",
"testcafe-hammerhead": "31.1.0",
"testcafe-hammerhead": "31.2.0",
"testcafe-legacy-api": "5.1.6",
"testcafe-reporter-dashboard": "^0.2.10",
"testcafe-reporter-json": "^2.1.0",
Expand Down
27 changes: 27 additions & 0 deletions test/functional/fixtures/regression/gh-7632/pages/test1.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
</head>
<body>
<script>
const bt = 'property';
new class {
constructor (e) {
}
}({
features: [class {
constructor () {
}

#e () {
}

test () {
return this[bt];
}
}],
})
</script>
</body>
</html>
26 changes: 26 additions & 0 deletions test/functional/fixtures/regression/gh-7632/pages/test2.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
</head>
<script>
var ut = 'field';

new class {
constructor (e) {
}
}({
features: [class {
static featureName = ut;
}, class {
constructor () {
function p () {
var q = window.location;
}
}
}],
})
</script>
<body>
</body>
</html>
7 changes: 7 additions & 0 deletions test/functional/fixtures/regression/gh-7632/test.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
describe('[Regression](GH-7632)', function () {
it('Esotope', function () {
return runTests('testcafe-fixtures/index.js');
});
});


Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
fixture `esotope`;

test.page('http://localhost:3000/fixtures/regression/gh-7632/pages/test1.html')('PrivateIdentifier', () => {
});

test.page('http://localhost:3000/fixtures/regression/gh-7632/pages/test2.html')('PropertyDefinition', () => {
});

0 comments on commit 07ca90f

Please sign in to comment.