-
-
Notifications
You must be signed in to change notification settings - Fork 750
Expand file tree
/
Copy pathonly_test.js
More file actions
29 lines (21 loc) · 650 Bytes
/
only_test.js
File metadata and controls
29 lines (21 loc) · 650 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Feature.only('@OnlyFeature')
Scenario('@OnlyScenario1', () => {
console.log('Only Scenario 1 was executed')
})
Scenario('@OnlyScenario2', () => {
console.log('Only Scenario 2 was executed')
})
Scenario('@OnlyScenario3', () => {
console.log('Only Scenario 3 was executed')
})
Feature('@RegularFeature')
Scenario('@RegularScenario1', () => {
console.log('Regular Scenario 1 should NOT execute')
})
Scenario('@RegularScenario2', () => {
console.log('Regular Scenario 2 should NOT execute')
})
Feature('@AnotherRegularFeature')
Scenario('@AnotherRegularScenario', () => {
console.log('Another Regular Scenario should NOT execute')
})