Welcome to mirror list, hosted at ThFree Co, Russian Federation.

network_graph.feature « project « features - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 8beb6043affce4d1261886f893b4335c7d555ac0 (plain)
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
Feature: Project Network Graph
  Background:
    Given I sign in as a user
    And I own project "Shop"
    And I visit project "Shop" network page

  @javascript
  Scenario: I should see project network
    Then page should have network graph
    And page should select "master" in select box
    And page should have "master" on graph

  @javascript
  Scenario: I should switch "branch" and "tag"
    When I switch ref to "feature"
    Then page should select "feature" in select box
    And page should have "feature" on graph
    When I switch ref to "v1.0.0"
    Then page should select "v1.0.0" in select box
    And page should have "v1.0.0" on graph

  @javascript
  Scenario: I should looking for a commit by SHA
    When I looking for a commit by SHA of "v1.0.0"
    Then page should have network graph
    And page should select "master" in select box
    And page should have "v1.0.0" on graph

  @javascript
  Scenario: I should filter selected tag
    When I switch ref to "v1.0.0"
    Then page should have content not containing "v1.0.0"
    When click "Show only selected branch" checkbox
    Then page should not have content not containing "v1.0.0"
    When click "Show only selected branch" checkbox
    Then page should have content not containing "v1.0.0"

  Scenario: I should fail to look for a commit
    When I look for a commit by ";"
    Then page status code should be 404