File tree 2 files changed +22
-0
lines changed
test/server/data/test-suites/typescript-defs
2 files changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ import 'testcafe';
4
4
fixture
5
5
. skip
6
6
. only
7
+ . disablePageCaching
7
8
( 'Fixture1' )
8
9
. page ( 'http://example.com' )
9
10
. httpAuth ( {
43
44
} )
44
45
. skip
45
46
. only
47
+ . disablePageCaching
46
48
. page ( 'http://example.com' )
47
49
. httpAuth ( {
48
50
username : 'user' ,
Original file line number Diff line number Diff line change @@ -81,6 +81,16 @@ interface FixtureFn {
81
81
* Skips execution of all tests, except whose that are in this fixture.
82
82
*/
83
83
only : this;
84
+ /**
85
+ * Disables page caching for tests in this fixture.
86
+ */
87
+ disablePageCaching : this;
88
+ /**
89
+ * WARNING: This feature is experimental and is not recommended for everyday use. It can be removed in the future TestCafe versions.
90
+ *
91
+ * Disables page reloading which would happen right before each test in this fixture.
92
+ */
93
+ disablePageReloads : this;
84
94
/**
85
95
* Specifies the additional information for all tests in the fixture. This information can be used in reports.
86
96
*
@@ -152,6 +162,16 @@ interface TestFn {
152
162
* Skips execution of all tests, except this one.
153
163
*/
154
164
only : this;
165
+ /**
166
+ * Disables page caching for this test.
167
+ */
168
+ disablePageCaching : this;
169
+ /**
170
+ * WARNING: This feature is experimental and is not recommended for everyday use. It can be removed in the future TestCafe versions.
171
+ *
172
+ * Disables page reloading which would happen right before this test.
173
+ */
174
+ disablePageReloads : this;
155
175
/**
156
176
* Specifies the additional information for the test. This information can be used in reports.
157
177
*
You can’t perform that action at this time.
0 commit comments