File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ describe('Allure results', () => {
11
11
it ( `should contain suite results for ${ mode } ` , ( ) => {
12
12
const { suites, tests } = result [ mode ] ;
13
13
expect ( suites ) . to . have . length ( 1 ) ;
14
- expect ( suites [ 0 ] . children ) . to . have . length ( mode === 'basic' ? 4 : 1 ) ;
14
+ expect ( suites [ 0 ] . children ) . to . have . length ( mode === 'basic' ? 4 : 3 ) ;
15
15
expect (
16
16
tests . every ( ( t ) =>
17
17
suites . find ( ( s ) => s . children . includes ( t . uuid ) )
@@ -66,7 +66,7 @@ describe('Allure results', () => {
66
66
67
67
it ( `should contain test results for ${ mode } ` , ( ) => {
68
68
expect ( result [ mode ] . tests ) . to . have . length (
69
- mode === 'cucumber' ? 1 : 4
69
+ mode === 'cucumber' ? 3 : 4
70
70
) ;
71
71
const { tests } = result [ mode ] ;
72
72
tests . forEach ( ( t ) => {
@@ -140,6 +140,8 @@ describe('Cucumber specific', () => {
140
140
const { cucumber } = result ;
141
141
const [ test ] = cucumber . tests ;
142
142
143
+ console . log ( test . labels ) ;
144
+
143
145
expect ( test . labels ) . to . have . length ( expectedLabels ( 'cucumber' ) . length ) ;
144
146
expect ( test . labels ) . to . have . deep . members ( expectedLabels ( 'cucumber' ) ) ;
145
147
expect ( test . links ) . to . have . length ( expectedLinks ( 'cucumber' ) . length ) ;
You can’t perform that action at this time.
0 commit comments