Skip to content

Commit ee014a5

Browse files
author
Christopher Robinson
committed
test: add regression for Firefox proxy-mode init (GH-8391)
1 parent 963f663 commit ee014a5

File tree

3 files changed

+23
-0
lines changed

3 files changed

+23
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<meta charset="utf-8" />
5+
<title>GH-8391</title>
6+
</head>
7+
<body>
8+
<div id="status">ok</div>
9+
</body>
10+
</html>
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
describe('[Regression](GH-8391)', function () {
2+
it('Should not fail Firefox proxy-mode initialization', function () {
3+
return runTests('testcafe-fixtures/index.js', 'Should run a simple assertion in Firefox proxy mode', { only: 'firefox' });
4+
});
5+
});
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import { Selector } from 'testcafe';
2+
3+
fixture('GH-8391 - Firefox proxy mode should initialize scripts')
4+
.page`http://localhost:3000/fixtures/regression/gh-8391/pages/index.html`;
5+
6+
test('Should run a simple assertion in Firefox proxy mode', async t => {
7+
await t.expect(Selector('#status').innerText).eql('ok');
8+
});

0 commit comments

Comments
 (0)