Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## Approach update version release in package and package-lock update method _updateTestControllerQueues in src\runner\browser-job.ts ## Pre-Merge TODO - [x] Write tests for your proposed changes - [x] Make sure that existing tests do not fail
- Loading branch information
1 parent
095273d
commit b99c72c
Showing
5 changed files
with
56 additions
and
10 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
...-2011/testcafe-fixtures/concurrency-mode-with-disable-concurrency-and-one-fixture-test.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
const connectionsFixture = {}; | ||
|
||
const addConnection = (connections, connectionId) => { | ||
connections[connectionId] = true; | ||
}; | ||
|
||
fixture `no concurrent fixture` | ||
.beforeEach(async t => { | ||
addConnection(connectionsFixture, t.testRun.browserConnection.id); | ||
}) | ||
.afterEach(async t => { | ||
await t.expect(Object.keys(connectionsFixture).length).eql(1); | ||
}) | ||
.page `http://localhost:3000/fixtures/regression/gh-2011/pages/index.html` | ||
.disableConcurrency(); | ||
|
||
test('long concurrent test 1', async t => { | ||
await t.wait(5000); | ||
}); | ||
|
||
for (let i = 0; i < 10; i++) { | ||
test(`no concurrent test ${i}`, async () => { | ||
}); | ||
} |