Add support for 'clientScripts' (close #1739)#3880
Add support for 'clientScripts' (close #1739)#3880miherlosev merged 18 commits intoDevExpress:masterfrom
Conversation
|
❌ Tests for the commit d383b82 have failed. See details: |
|
❌ Tests for the commit a3e17d8 have failed. See details: |
|
❌ Tests for the commit 8ee520a have failed. See details: |
|
Hi @benmonro |
|
sounds good, I actually like that proposed api better @miherlosev Just started a new job at Walmart Labs, so not sure how much time i'll be able to spend on it, so feel free to take this PR and modify it to fit that API or do whatever you like with it. You know I ❤️ you guys! keep up the great work, i sing your praise every day! -Ben |
|
❌ Tests for the commit c2f873b have failed. See details: |
|
❌ Tests for the commit 528c762 have failed. See details: |
|
❌ Tests for the commit d8bb2ae have failed. See details: |
|
❌ Tests for the commit 5c13989 have failed. See details: |
|
❌ Tests for the commit 9b22918 have failed. See details: |
|
❌ Tests for the commit 87c5e8d have failed. See details: |
5cd7d19 to
37d3fc1
Compare
|
❌ Tests for the commit 37d3fc1 have failed. See details: |
|
❌ Tests for the commit bbc790f have failed. See details: |
d9a799c to
35ba768
Compare
|
❌ Tests for the commit 182a4fe have failed. See details: |
|
❌ Tests for the commit 525f698 have failed. See details: |
|
❌ Tests for the commit 115d59c have failed. See details: |
|
❌ Tests for the commit a55b22d have failed. See details: |
|
❌ Tests for the commit bd0498e have failed. See details: |
|
❌ Tests for the commit 4c3e39b have failed. See details: |
|
❌ Tests for the commit ce17adc have failed. See details: |
|
❌ Tests for the commit 23f8ad5 have failed. See details: |
|
❌ Tests for the commit 4052d7f have failed. See details: |
a3f41f8 to
9fe10d6
Compare
|
❌ Tests for the commit ea0a195 have failed. See details: |
|
❌ Tests for the commit d968d99 have failed. See details: |
|
@testcafe-build-bot retest |
|
❌ Tests for the commit d968d99 have failed. See details: |
|
❌ Tests for the commit 99e3c7a have failed. See details: |
|
❌ Tests for the commit c94a2ed have failed. See details: |
|
@testcafe-build-bot retest |
|
✅ Tests for the commit c94a2ed have passed. See details: |
05fe0ab to
3226191
Compare
|
✅ Tests for the commit 3226191 have passed. See details: |
) * initial * fix wrong rebase * new logic for resolving relative paths (test api and others) * refactoring * fix tests * provide error messages for uncaught errors occured in injected client scripts * fix tests * fix error messages * fix server tests * fix relative paths * fix type definition * prevent multiple method calls for clientScripts and requestHooks * fix an error message during module loading * specify execution order for clientScripts and requestHooks * skip test * skip test * refix the test * fix client scripts loading order and handle module path resolving errors
This PR will add a new section to the config file: "clientScripts"
example:
adding this to your config will cause testcafe to inject the above scripts into the browser as a script tag.
This will be very useful for
testcafe-testing-librarywhich needs to inject DomTestingLibrary into the dom, on each page-load, and will thus now only need to be configured once, and will then work on each page.resolves #1739