Skip to content
This repository was archived by the owner on May 3, 2022. It is now read-only.

Commit 3b96d0e

Browse files
author
Miguel
committed
updated standard feature
1 parent d6e839d commit 3b96d0e

1 file changed

Lines changed: 13 additions & 115 deletions

File tree

Lines changed: 13 additions & 115 deletions
Original file line numberDiff line numberDiff line change
@@ -1,132 +1,30 @@
1-
Feature: Login on PlatformUI
1+
Feature: Basic PlatfomrUi interaction tests
22

33
@javascript
44
Scenario: As a admin User, I want to login to PlatformUI
5-
Given I go to PlatformUI app
6-
And I fill in "Username" with "admin"
7-
And I fill in "Password" with "publish"
8-
When I click on the "Login" button
9-
Then I should see "Welcome to eZ Platform" title
10-
11-
@javascript
12-
Scenario: As a admin User, I want to login to PlatformUI
13-
Given I go to PlatformUI app with username "admin" and password "publish"
14-
Then I should see "Welcome to eZ Platform" title
15-
16-
@javascript
17-
Scenario: As a admin User, I want to see Activity tab
18-
Given I go to PlatformUI app with username "admin" and password "publish"
19-
And I click on "Root location" link
20-
When I click on the tab "Activity"
21-
Then I should see "Activity content" text
22-
23-
@javascript
24-
Scenario: As a admin User, I want to use side menu
255
Given I go to PlatformUI app with username "admin" and password "publish"
26-
And I click on "Root location" link
27-
When I click on the logo
286
Then I should see "Welcome to eZ Platform" title
297

308
@javascript
31-
Scenario: As a admin User, I want to see navigate menu
32-
Given I go to PlatformUI app with username "admin" and password "publish"
33-
And I click on the navigation zone "Platform"
34-
When I clicked on the "Media library" link
35-
Then I should see "Media" title
36-
37-
@javascript
38-
Scenario: As a admin User, I want to see navigate menu
39-
Given I go to PlatformUI app with username "admin" and password "publish"
40-
And I click on the navigation zone "Admin Panel"
41-
When I click on the navigation zone "Platform"
42-
And I clicked on the "Media library" link
43-
Then I should see "Media" title
44-
45-
@javascript
46-
Scenario: As a admin User, I want to see navigate menu
47-
Given I go to PlatformUI app with username "admin" and password "publish"
48-
And I click on the navigation zone "Admin Panel"
49-
When I click on the "Administration dashboard" link
50-
Then I should see "Administration dashboard" title
51-
52-
@javascript
53-
Scenario: As a admin User, I want to see navigate menu
54-
Given I go to PlatformUI app with username "admin" and password "publish"
55-
And I click on the menu zone "Create"
56-
When I click on the sub-menu option "Insite editing"
57-
Then I should see "Site 1" text
58-
59-
@javascript
60-
Scenario: As a admin User, I want to see side menu
61-
Given I go to PlatformUI app with username "admin" and password "publish"
62-
And I click on the menu zone "Create"
63-
And I click on the "Content structure" link
64-
And I click on the side menu option "Content tree"
65-
When I click on the "footer" link
66-
Then I should see "footer" title
67-
68-
@javascript
69-
Scenario: As a admin User, I want to use side menu
9+
Scenario: As a admin User, I want to minimize the discovery bar
7010
Given I go to PlatformUI app with username "admin" and password "publish"
7111
And I click on the navigation zone "Platform"
72-
And I click on the "Content structure" link
73-
When I click on the actionbar action "Create a content"
74-
And I click on the content type "Article"
75-
And I fill in "Title*" with "Test"
76-
And I fill in "Intro" with "TestSum"
77-
Then I should see "Short title" text
12+
When I click on the navigation item "Content structure"
13+
Then I click on the discovery bar button "Minimize"
7814

7915
@javascript
80-
Scenario: As a admin User, I want to use side menu
16+
Scenario: As a admin User, I want to minimize the action bar
8117
Given I go to PlatformUI app with username "admin" and password "publish"
8218
And I click on the navigation zone "Platform"
83-
And I click on the "Content structure" link
84-
When I click on the actionbar action "Edit"
85-
And I click on the actionbar action "Discard changes"
86-
Then I should see "eZ Publish" title
19+
When I click on the navigation item "Content structure"
20+
Then I click on the action bar button "Minimize"
8721

8822
@javascript
89-
Scenario: As a admin User, I want to use side menu
23+
Scenario: As a admin User, I want to minimize the action bar
9024
Given I go to PlatformUI app with username "admin" and password "publish"
9125
And I click on the navigation zone "Platform"
92-
And I click on the "Content structure" link
93-
When I click on the actionbar action "Minimize"
94-
Then I don't see "Minimize" text
95-
96-
@javascript
97-
Scenario: As a admin User, I want to use side menu
98-
Given I go to PlatformUI app with username "admin" and password "publish"
99-
And I click on the navigation zone "Platform"
100-
And I click on the "Content structure" link
101-
And I click on the actionbar action "Content tree"
102-
When I click on the content tree with path "Shopping/Products/eZ Publish - Man jacket"
103-
Then I should see "Price" text
104-
105-
@javascript
106-
Scenario: As a admin User, I want to use side menu
107-
Given I go to PlatformUI app with username "admin" and password "publish"
108-
And I click on the navigation zone "Platform"
109-
And I click on the "Content structure" link
110-
And I click on the actionbar action "Content tree"
111-
And I click on the logo
112-
And I click on the navigation zone "Studio"
113-
And I click on the navigation zone "Studio Plus"
114-
And I click on the navigation zone "Platform"
115-
And I click on the "Content structure" link
116-
And I click on the "Media library" link
117-
And I click on the navigation zone "Admin panel"
118-
And I click on the logo
119-
And I click on "Root location" link
120-
And I click on the tab "Details"
121-
And I click on the tab "Activity"
122-
And I click on the tab "Analytics"
123-
And I click on the tab "View"
124-
And I click on the actionbar action "Create a content"
125-
And I click on the content type "Article"
126-
And I fill in "Title*" with "Bacalhau"
127-
And I fill in "Intro*" with "Ze manel"
128-
And I click on the actionbar action "Discard changes"
129-
And I click on the actionbar action "Minimize"
130-
And I click on the actionbar action "Minimize"
131-
And I logout
132-
Then I should see "Reset password" text
26+
And I click on the navigation item "Content structure"
27+
When I click on the action bar button "Edit"
28+
And I fill in "Name" with "HomePage"
29+
And I click on the edit action bar button "Publish"
30+
Then I should see "HomePage" title

0 commit comments

Comments
 (0)