modules_tree.feature
2.47 KB
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
Feature: Repository modules tree
In order to visualize specific results for each module
As a regular user
I should see the tree and be able to navigate over it
@kalibro_configuration_restart @kalibro_processor_restart @javascript
Scenario: Should show modules directories root when the process has been finished
Given I am a regular user
And I am signed in
And I have a sample project
And I have a sample configuration with native metrics
And I have a sample repository within the sample project
And I start to process that repository
And I wait up for a ready processing
And I ask for the last ready processing of the given repository
And I ask for the module result of the given processing
When I visit the repository show page
And I click the "Modules Tree" h3
And I wait for "5" seconds
Then I should see the given module result
@kalibro_configuration_restart @kalibro_processor_restart @javascript
Scenario: Should show children of root when the process has been finished
Given I am a regular user
And I am signed in
And I have a sample project
And I have a sample configuration with native metrics
And I have a sample repository within the sample project
And I start to process that repository
And I wait up for a ready processing
And I ask for the last ready processing of the given repository
And I ask for the module result of the given processing
When I visit the repository show page
And I click the "Modules Tree" h3
And I wait for "5" seconds
Then I should see a sample child's name
And I should see "Name"
And I should see "Granularity"
And I should see "Grade"
# This test is broken under analizo 1.17.0: https://www.pivotaltracker.com/story/show/80377258
@wip @kalibro_configuration_restart @kalibro_processor_restart @javascript
Scenario: Module navigation
Given I am a regular user
And I am signed in
And I have a sample project
And I have a sample configuration with native metrics
And I have a sample repository within the sample project
And I start to process that repository
And I wait up for a ready processing
And I ask for the last ready processing of the given repository
And I ask for the module result of the given processing
When I visit the repository show page
And I click the "Modules Tree" h3
And I click on the sample child's name
And I wait for "5" seconds
Then I should see a sample child's name