codeceptjs 3.6.5-beta.3 → 3.6.5-beta.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -159,6 +159,7 @@ module.exports = function (config) {
159
159
  // Ignore steps from BeforeSuite function
160
160
  if (scenarioFailed && config.disableScreenshotOnFail) return
161
161
  if (step.metaStep && step.metaStep.name === 'BeforeSuite') return
162
+ if (!step.test) return // Ignore steps from AfterSuite
162
163
 
163
164
  const fileName = `${pad.substring(0, pad.length - stepNum.toString().length) + stepNum.toString()}.png`
164
165
  if (step.status === 'failed') {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codeceptjs",
3
- "version": "3.6.5-beta.3",
3
+ "version": "3.6.5-beta.4",
4
4
  "description": "Supercharged End 2 End Testing Framework for NodeJS",
5
5
  "keywords": [
6
6
  "acceptance",
@@ -1185,6 +1185,7 @@ declare namespace CodeceptJS {
1185
1185
  // @ts-ignore
1186
1186
  // @ts-ignore
1187
1187
  // @ts-ignore
1188
+ // @ts-ignore
1188
1189
  class ExpectHelper {
1189
1190
  expectEqual(actualValue: any, expectedValue: any, customErrorMsg?: any): Promise<any>;
1190
1191
  expectNotEqual(actualValue: any, expectedValue: any, customErrorMsg?: any): Promise<any>;
@@ -1301,6 +1302,7 @@ declare namespace CodeceptJS {
1301
1302
  // @ts-ignore
1302
1303
  // @ts-ignore
1303
1304
  // @ts-ignore
1305
+ // @ts-ignore
1304
1306
  class ExpectHelper {
1305
1307
  expectEqual(actualValue: any, expectedValue: any, customErrorMsg?: any): Promise<any>;
1306
1308
  expectNotEqual(actualValue: any, expectedValue: any, customErrorMsg?: any): Promise<any>;
@@ -1977,6 +1979,7 @@ declare namespace CodeceptJS {
1977
1979
  // @ts-ignore
1978
1980
  // @ts-ignore
1979
1981
  // @ts-ignore
1982
+ // @ts-ignore
1980
1983
  type MockServerConfig = {
1981
1984
  port?: number;
1982
1985
  host?: string;
@@ -2106,6 +2109,7 @@ declare namespace CodeceptJS {
2106
2109
  // @ts-ignore
2107
2110
  // @ts-ignore
2108
2111
  // @ts-ignore
2112
+ // @ts-ignore
2109
2113
  class MockServer {
2110
2114
  /**
2111
2115
  * Start the mock server
@@ -3184,6 +3188,7 @@ declare namespace CodeceptJS {
3184
3188
  // @ts-ignore
3185
3189
  // @ts-ignore
3186
3190
  // @ts-ignore
3191
+ // @ts-ignore
3187
3192
  type PlaywrightConfig = {
3188
3193
  url?: string;
3189
3194
  browser?: 'chromium' | 'firefox' | 'webkit' | 'electron';
@@ -6565,6 +6570,7 @@ declare namespace CodeceptJS {
6565
6570
  // @ts-ignore
6566
6571
  // @ts-ignore
6567
6572
  // @ts-ignore
6573
+ // @ts-ignore
6568
6574
  type PuppeteerConfig = {
6569
6575
  url: string;
6570
6576
  basicAuth?: any;
@@ -8376,6 +8382,7 @@ declare namespace CodeceptJS {
8376
8382
  // @ts-ignore
8377
8383
  // @ts-ignore
8378
8384
  // @ts-ignore
8385
+ // @ts-ignore
8379
8386
  type RESTConfig = {
8380
8387
  endpoint?: string;
8381
8388
  prettyPrintJson?: boolean;
@@ -9499,6 +9506,7 @@ declare namespace CodeceptJS {
9499
9506
  // @ts-ignore
9500
9507
  // @ts-ignore
9501
9508
  // @ts-ignore
9509
+ // @ts-ignore
9502
9510
  type WebDriverConfig = {
9503
9511
  url: string;
9504
9512
  browser: string;
@@ -1209,6 +1209,7 @@ declare namespace CodeceptJS {
1209
1209
  // @ts-ignore
1210
1210
  // @ts-ignore
1211
1211
  // @ts-ignore
1212
+ // @ts-ignore
1212
1213
  class ExpectHelper {
1213
1214
  expectEqual(actualValue: any, expectedValue: any, customErrorMsg?: any): void;
1214
1215
  expectNotEqual(actualValue: any, expectedValue: any, customErrorMsg?: any): void;
@@ -1325,6 +1326,7 @@ declare namespace CodeceptJS {
1325
1326
  // @ts-ignore
1326
1327
  // @ts-ignore
1327
1328
  // @ts-ignore
1329
+ // @ts-ignore
1328
1330
  class ExpectHelper {
1329
1331
  expectEqual(actualValue: any, expectedValue: any, customErrorMsg?: any): void;
1330
1332
  expectNotEqual(actualValue: any, expectedValue: any, customErrorMsg?: any): void;
@@ -2004,6 +2006,7 @@ declare namespace CodeceptJS {
2004
2006
  // @ts-ignore
2005
2007
  // @ts-ignore
2006
2008
  // @ts-ignore
2009
+ // @ts-ignore
2007
2010
  type MockServerConfig = {
2008
2011
  port?: number;
2009
2012
  host?: string;
@@ -2133,6 +2136,7 @@ declare namespace CodeceptJS {
2133
2136
  // @ts-ignore
2134
2137
  // @ts-ignore
2135
2138
  // @ts-ignore
2139
+ // @ts-ignore
2136
2140
  class MockServer {
2137
2141
  /**
2138
2142
  * Start the mock server
@@ -3277,6 +3281,7 @@ declare namespace CodeceptJS {
3277
3281
  // @ts-ignore
3278
3282
  // @ts-ignore
3279
3283
  // @ts-ignore
3284
+ // @ts-ignore
3280
3285
  type PlaywrightConfig = {
3281
3286
  url?: string;
3282
3287
  browser?: 'chromium' | 'firefox' | 'webkit' | 'electron';
@@ -6809,6 +6814,7 @@ declare namespace CodeceptJS {
6809
6814
  // @ts-ignore
6810
6815
  // @ts-ignore
6811
6816
  // @ts-ignore
6817
+ // @ts-ignore
6812
6818
  type PuppeteerConfig = {
6813
6819
  url: string;
6814
6820
  basicAuth?: any;
@@ -8756,6 +8762,7 @@ declare namespace CodeceptJS {
8756
8762
  // @ts-ignore
8757
8763
  // @ts-ignore
8758
8764
  // @ts-ignore
8765
+ // @ts-ignore
8759
8766
  type RESTConfig = {
8760
8767
  endpoint?: string;
8761
8768
  prettyPrintJson?: boolean;
@@ -9939,6 +9946,7 @@ declare namespace CodeceptJS {
9939
9946
  // @ts-ignore
9940
9947
  // @ts-ignore
9941
9948
  // @ts-ignore
9949
+ // @ts-ignore
9942
9950
  type WebDriverConfig = {
9943
9951
  url: string;
9944
9952
  browser: string;